Home
Owners Manual
Contents
1. Fig 4 3 100 ra Leg 5 2 46 ji H A A Koy T N T d L I S 8 ei 7 Gi 2 Z S L R GC CH N ER y y 39 __47_ S 50 6 8 92 5 PANEL HOLE SCALE 1 5 P ty Ce A A i Al e EE o I d aa oO Te H i EE H i JE e ime wg SO H i TT y WM Y T H TG558 4 4 CUSTOM d TECHNICAL SPECIFICATIONS The figures 4 4 and 4 5 show the dimensions of TG558 front panel 100 ra al Front Panel m 83 TG558 35 mm 8 46 Pe A y i oa BEEN A oO wv 2 ZS IS ch N o op UW Fig 4 4 _ 39 Zi Al a 100 a ai Front Panel 83 TG558 58 mm ra P 8 46 E A j Ba i ei BEEN A o wT AU ES ER 7 Kasy VO y Fig 4 5 D 52 A Tol N CUSTOM 4 5 TG558 5 CHARACTER SET 5 1 CHARACTER SETS The printer has 2 fonts each width 224 characters font 1 and font 2 Shown below in figure 5 1 is an example 2
2. 3 54 96 9 7 oma 1 e o Ef x 1 Ge N Ydc N 9 H COM a 2 1 PRINT FEED e D i LE 9 E D D roy M Sr amp 81 Laf Leg eas ap Uri A ea j k d D Ee g S 40 2 Gest LI T LI n A 2 SPARE PARTS Paper rolls Tab A 4 RCT35X70 AF 35mm Model thermal roll paper fraud preventing 35mm model of thermal roll paper back side pre printed RCT58X70 RS 58mm model of thermal roll paper back side pre printed Customized pre printed logo for 2000 rolls order minimum CUSTOM A 9 Tab A 5
3. K Beveled part TG558 A 6 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS Using the control discs Assembly the control discs with the paper roll pivot as shown in the fig A 11 gt 2 NOTE The model indicated in fig A 11 is indicative to show the assembly so the following informations are corrects for all models Fig A 11 CUSTOM A 7 TG558 APPENDIX A ACCESSORIES AND SPARE PARTS Printer dimensions with Paper holder support Model with plastic front panel Fig A 12 E 100 83 O l e E Gool fa Ge pS 5 2 f fa A8 VU St SS ea D y i o I E BE J g e N N 7 Y U ire A Kg D n N i 5 PANEL HOLE SCALE 145 83 len 242 VO D ke Di we N g R O O s D j ky LG BI E 86 TG558 A 8 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS Fig A 13 Model with metallic front panel
4. RESERVED 2 3 Off 00 0 Paper end sensor Paper present Paper end sensor Paper not present Not used Fixed to Off RESERVED RESERVED RESERVED On 0C 12 Off 00 0 NI OD on amp 1 1 1 e This command is executed when the data is processed in the data buffer Therefore there may be a time lag between receiving the command and transmitting the status depending on data buffer status 10 04 1B 76 Received save execute melody ASCII GS N k Hex 1D EB 4E k Decimal 29 235 78 k ASCII GS Ww k mh mi nit pnmtm Hex 1D EB T7 k mh mli n1t1 nmtm Decimal 29 235 119 k mh ml n1t1 nmtm 1 lt k lt 4 49 lt k lt 52 1 lt k lt 4 49 lt k lt 52 0 lt mH lt 255 0 lt mL lt 255 e This command is used for receiving and saving a melody e The k parameter selects the melody to execute This command save a melody into flash e k parameter selects the melody to receive mhand mL are the number of notes to receive mH x 256 mL e n indicates the note to play see Note Table e t indicates the duration of playing note the exactly duration of any note will be expressed in multiples of 5 ms 3 29 TG558 3 PRINTER FUNCTIONS Notes Default Reference Example In the following table are listed the usable notes and theirs hexedecimal value to send for playing not
5. RESERVED 6 Off 00 0 Drag paper motor off On 40 64 Drag paper motor on 7 RESERVED n 2 Off line status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 Off 00 0 REPORT button not pressed On 04 4 REPORT button pressed 3 Off 00 0 FEED button not pressed On 08 8 FEED button pressed 4 RESERVED 5 Off 00 0 Paper present On 20 32 Paper end 6 Off 00 0 No error On 40 64 Error 7 RESERVED n 3 Error status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 RESERVED 3 RESERVED 4 RESERVED 5 RESERVED 6 Off 00 0 No auto recoverable error On 40 64 Auto recoverable error 7 RESERVED TG558 3 6 3 PRINTER FUNCTIONS n 4 Paper roll sensor status Bit Off On Hex Decimal Function RESERVED RESERVED RESERVED RESERVED RESERVED 5 6 On 60 96 Fixed to On The paper end is detected by the sensor Bl wl Nm alo 1 1 7 RESERVED n 5 Paper sensor status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 3 Off 00 0 Paper end sensor Paper present On DC 12 The paper end is detected by the sensor 4 RESERVED 5 Off 00 0 Near Paper end sensor 6 Paper present
6. 1B 44 TEST TEST OK 0D to print just the date 1B 44 0D 1B 49 Name Selects FontA Format ASCII ESC Hex 1B 49 Decimal 27 73 Description After receives this command the Font A is selected and the printer is ready to use this configuration the number of columns by row is indicated as follows TG558 FontA 58mm model 24 columns 35mm model 17 columns Notes Default Reference 1B 69 Example 1B 4A n Name Print and feed paper Format ASCII ESC J n Hex 1B 4A n Decimal 27 74 n Range 0 lt n lt 255 Description Prints the data in the print buffer and feeds the paper n x vertical or horizontal motion unit inches Notes e After printing is over this command sets the print starting position at the beginning of the line e The paper feed amount set by this command does not affect the values set by 1B 32 or 1B 33 e In standard mode the vertical motion unit is used e The maximum paper feed amount is 31 8 mm Default Reference Example dd 1B 4D Name Writes the value dd in the print mode Format ASCII dH dl ESC M Hex dH dL 1B 4D Decimal dH dL 27 77 Description Sets the print mode default parameters 00 small characters 01 double width printing 02 double height printing 03 expanded printing Notes e The setting is stored in EEPROM TG558 3 12 CUSTOM Default Reference Example 1B 4E Name Format Description Notes Default Re
7. Format Description Notes Default Reference Example 1B 58 Name Format 3 PRINTER FUNCTIONS there is not enough space in the buffer it will not be printed e It does not zero set the line buffer e This command is present only in the printer version with display TG558 D and RTCK option 1B 44 1B 55 If you wish to write HOUR 16 45 TEST OK transmit HOUR 1B 54 TEST TEST OK 0D to print just the time 1B 54 0D Enters the date mm dd yy in the print buffer ASCII ESC U Hex 1B 55 Decimal 27 85 Enters in the buffer the date of the calendar clock intsalled inside the printer in the American style format mm dd yy e The date is printed in 8 characters if there is not enough space in the buffer it will not be printed e It does not zero set the line buffer e This command is present only in the printer version with display TG558 D and RTCK option 1B 44 1B 54 If you wish to write DATE 09 11 93 TEST OK transmit DATE 1B 55 TEST OK 0D to print just the date 1B 55 0D Prints a graphic line at 203 dpi ASCII ESC W Hex 1B 57 Decimal 27 87 After receiving this command the printer waits for n bytes which correspond to an entire graphic line where n assumes n 34byte for 35mm model n 48 bytes for 58mm model Prints in red ASCII ESC X TG558 3 14 CUSTOM Description Notes Default Reference Example ESC an Name Format R
8. Interleved 2 5 C Code 39 B CodaBar e EAN8 E EAN13 height Number of dot lines in 1 8 mm units position Left hand margin expressed in 1 8 mm units options Specify the bar code options trough a byte In the following tables are listed alls the possibles values of single bit inside of byte nu Check digit is not printed Check digit Check digit is printed HRI position De fone fe owes rates maximum length Specify the characters number to print trough a byte in following are listed the maximum lenghts allowed Interleaved 2 5 12 characters Code 39 10 characters CodaBar 10 characters EAN8 8 characters EAN13 13 characters TG558 3 16 CUSTOM Notes Default Reference Example ESCdn Name Format Range Description Notes Default Reference Example 1B 68 Name Format Description 3 PRINTER FUNCTIONS data Expressed in ASCII In the following example is indicated the command sequence to print a barcode 1B N 1B c C 50 3C 14 06 TG558 TG558 II Ji ai A dh WI where 1B N sets the printing in normal mode 1B C barcode printing command G barcode type Code 39 50 barcode height 10 mm 3C starting position 7 5 mm 14 HRI printing below barcode width double 06 characters number to print TG558 characters to print
9. Print and feed paper n rows ASCII ESC d n Hex 1B 64 n Decimal 27 100 n 0 lt n lt 255 Prints the data in the print buffer and feeds the paper n rows e Sets the print starting position at the beginning of the line e This command does not affect the line spacing set by 1B 32 or 1B 33 e The maximum paper feed amount is 200 rows Even if a paper feed amount of more than 200 rows is set the printer feeds the paper only 200 rows 1B 32 1B 33 Selects Font B ASCII ESC h Hex 1B 68 Decimal 27 104 After receives this command the Font B is selected and the printer is ready to use this configuration the number of columns by row is indicated as follows 3 17 TG558 3 PRINTER FUNCTIONS TG558 Font B 58mm model 42 columns 35mm model 28 columns Notes Default Reference 1B 49 1B 69 Example 1B 69 Name Selects Font B Format ASCII ESC i Hex 1B 69 Decimal 27 105 Description After receives this command the Font B is selected and the printer is ready to use this configuration the number of columns by row is indicated as follows TG558 Font B 58mm model 40 columns 35mm model 28 columns Notes Default Reference 1B 49 1B 68 Example 1B 6B Name Transmits the second configuration register in serial Format ASCII ESC k Hex 1B 6B Decimal 27 107 Description Transmits through serial port the value of second configuration register in ASCII format on
10. parity even 1 Stop bit 7 bit parity odd 1 Stop bit Flow control CTS RTS XON XOFP S REAL TIME CLOCK e Printing seconds setting Enables seconds disables seconds e DST setting Enable DST Disable DST Notes The parameters indicates with a D symbol are the default values NOTE If the function is enabled when the printer receives a characters number equal to the line buffer the next character will place on the left margin in a new line gt 2 NOTE Using two colour thermal paper is possible to set different red tonality Se DINOTE This setting is available only with RTCK printer version Real Time Clock and display version TG558 1 2 CUSTOM 1 INSTALLATION AND OPERATION gt 4 NOTE This parameter enable the automatic change of the solar time and summer time SET UP DEFAULT Fig 1 3 24 COLUMNS font 16 x24 PRINT DIR NORMAL PRINT MODE LITTLE CR LF HONOR CR AUTO FEED ENABLE RED INTENSITY 5 SERIAL PORT SELECTED BAUD RATE 9600 PROTOCOL 8 N 1 FLOW CONTROL XON XOFF DISABLE SECONDS ENABLE DST 1 2 1 Configuration of REPORT and FEED keys If when the printer is switched on both of the PRINT and FEED keys are held down the printer enters configuration mode and prints the first modifiable parameter At this point each time the PRINT key is pressed the parameter changes and its current value is printed Once the desired value has been obtained press the FEE
11. O lt d1 lt 255 0 lt d8 lt 255 It s possible to customize the display visualization mode Send 8 bytes d1 d8 that identify the 4 digit present on display in the following mode 1 digit Zeg digit 3 digit NM AN IN AN dm digit VN WN WN WN 1 digit Zeg digit 3 digit 4 digit d1 d2 d3 d4 d5 d6 d7 d8 e In the followimg figure are represented the display digits TG558 3 PRINTER FUNCTIONS es a AN 0 b p NZ SS ZK e m c La YO d dps e Each pair of bytes identify a digit and must be as follows 7 dn 0 7 dn 1 0 N U DP k p n m i h g f e d c b a e This command is present only in the printer version with display TG558 D Default Reference Example To visualize the character on all 4 display digits send 1D 45 34 80 34 80 34 80 34 80 1D 46 n Name Enabling graphic display effects Format ASCII GS F n Hex 1D 46 n Decimal 29 70 n Range 1 lt n lt 4 49 lt d8 lt 52 Description Enables the graphic display effects There are a4 effects already stored into the printer that can be reloaded in base of the n value Notes e This command is present only in the printer version with display TG558 D Default Reference Example 1D 49 n Name Transmit printer ID Format ASCII GS n Hex 1D
12. On 40 64 The near paper end is detected by the sensor 7 RESERVED n 6 Input Output status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 Off 00 0 COIN 1 status at low level On 04 4 COIN 1 status at high level 3 Off 00 0 COIN 2 status at low level On 08 8 COIN 2 status at high level 4 RESERVED 5 Off 00 0 INHGET status at low level On 20 32 INHGET status at high level 6 Off 00 0 AUXOUT status at low level On 40 64 AUXOUT status at high level i RESERVED 11 Name Graphic mode Format ASCII DC1 Hex 11 Decimal 17 Description Enables graphic mode a line in 24 column mode corresponds to 144 horizontal dots divided into 24 blocks of 6 dots each a line in 40 column mode corresponds to 240 horizontal dots divided into 40 blocks of 6 dots each Notes To obtain graphic printing enter the command 11 at the beginning of each line The format of the byte in graphic configuration is CUSTOM 3 7 TG558 3 PRINTER FUNCTIONS X R P6 P5 P4 P3 P2 Pi D7 D6 Dd D4 D3 D2 Di DO where X is not used 0 is recommended R must be fixed at level 1 P1 P6 are the graphic dot data 1 prints O does not print The P6 bit of the string of dots transmitted is printed on the left and the others follow from left to right P5 P4 P3 P2 P1 as shown 1st byte gt 2nd byte gt 3rd byte gt P6 P5 P4 P3 P2 P1 P6
13. P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 Default Reference Example To print a line of dots transmit 11 n x 7F where n is the number of characters per line 0D To print an empty line transmit 11 40 0D 12 Name Print time and date Format ASCII Hex 12 Decimal 18 Description Prints the time and date in the following format hh mm dd mm yy If seconds printing is enabled the format will be hh mm ss dd mm yy Notes The command resets the line e This command is present only in the printer version with display TG558 D and RTCK option Default Reference 13 14 Example 13 Name Set time and date Format ASCII Hex 13 Decimal 19 Description This command sets the time and date in two possible ways the first uses 24 hour clock and the second the 12 hour am pm clock In the first case transmits the 10 ASCII characters representing the time and the date followed by 13 and in the second case transmits the 10 ASCII characters representing the time and the date preceded by A or P and followed by 13 Notes e It is advisable to transmit the command 0D first in order to empty the print buffer e This command is present only in the printer version with display TG558 D and with RTCK option Default TG558 3 8 CUSTOM Reference Example 14 Name Format Description Notes Default Reference Example 1B 23 n Name Format Range Descr
14. Width from 1 to 2 bold reverse underlined Flash memory 60 Kbytes 1 logo of 384 x 341 dots 1 logo of 256 x 512 dots Printing Driver Windows 95 98 ME NT4 2K XP Power supply 12 Vdc 10 S 9 5 D gt 2 5 O H o S S 2 3 EC 3 fo 3 z a O 5 Medium consumption Stand by consumption Printer Weight 490 gr Sjn gt gt Environmental conditions Operating temperature 0 C 50 C Relative humidity 10 85 w o condensation Storage temperature Humidity 20 C 70 C 10 90 gt Notes Referred without paper roll and model with plastic front panel CUSTOM 4 1 TG558 4 TECHNICAL SPECIFICATIONS 24 mod 58mm 40 mod 58mm 17 mod 35mm 28 mod 35mm Characters W x H 4 2 DIMENSIONS 4 2 1 Model with plastic front panel The figure 4 1 shows the dimensions of the printer with plastic front panel Printing speed 400 Fig 4 1 ra Leg e 52 8 A ILO 8 6 i A i A pr b ZS g Lo le e N Q Del amp q a 1 Del e Si w 6 8 92 5 i PANELHOLE SCALE 15 DH Let D pe i 3 83 42 VU if A A i i
15. a CC i i ah kal lo 1 i N i N b Le SE S e H i d 1 H deser Ee om ri i g fac i a l 86 TG558 4 2 CUSTOM d TECHNICAL SPECIFICATIONS 4 2 2 Model with metallic front panel The figure 4 2 shows the dimensions of the printer with metallic front panel 35mm version Fig 4 2 84 jt Lagi 78 3 54 96 r a 61 j 39 5 N AHHHHHHHHHHHES a lt ry A il i l N P re M CH ei N g 7 gt ic N CH H Zi i E 4 a ou 9 E U Ke e y YY g WwW oo p a i a ie EE l Q lt o pS E 7 WO i A A 2 a S oO wv U e eg n UI L tz wm t CUSTOM 4 3 TG558 4 TECHNICAL SPECIFICATIONS 4 2 3 Model with Display The figure 4 3 shows the dimensions of the printer with display 35mm version
16. automatically limited to 63 e The t parameter indicates the display interval between one frame and another the value is calculated in milliseconds Notes e The frame structure is the same as specified in the command 1D 45 e The d1 dk bytes that was sent to define the display effect are calculated as follows k m x 8 where mis the frame number e After receiving this command a printer reset was executed e This command is present only in the printer version with display TG558 D Default Reference Example 1D 57 n d1 dn Name Format Range Description Notes Default Reference Example 1D 59 n Name Format Description Notes Default Reference Example 1D 5A n Name Format Description Notes 3 PRINTER FUNCTIONS 1D 45 Prints n byte of a 203 dpi graphic line ASCII GS W n di dn Hex 1D 57 n d1 dn Decimal 29 87 n d1 dn 1 lt n lt 48 for 58mm model 1 lt n lt 34 for 35mm model 0 lt d1 dn lt 255 Print n byte of a 203 dpi graphic line where e n specifies the number of byte to print e d1 dn specify the bytes to print sl the bit image data input exceeds the number of dots to be printed on a line the excess data are processed as printable characters e d indicates the bit image data Set a corresponding bit to 1 to print a dot or to 0 to not print the dot e This command is not affected by the emphasiz
17. data buffer Format ASCII BEL Hex 07 Decimal 7 Description Deletes all the print data in the current print buffer Notes If data that existed in the previously specified printing area also exists in the currently specified printing area it is deleted Default Reference Example BS Name Moving back of one character Format ASCII BS Hex 08 Decimal 8 Description Moves print position to previous character Notes This command can put two characters at the same position Default Reference Example 0A Name Forward feeds one line Format ASCII LF Hex OA Decimal 10 Description Forward feeds one line equivalent to a line of print Notes e This command brings about the printing of the contents of the line buffer Default Reference 1B 32 1B 33 Example TG558 3 4 CUSTOM n 0B Name Format Description Notes Default Reference Example CR Name Format Description Notes Default Reference Example 0F Name Format Description Notes Default Reference Example DLE EOT n Name Format Range Description 3 PRINTER FUNCTIONS Forward feeds n lines ASCII VT Hex OB Decimal 11 Carries out the number of line feeds specified in n The number must be ASCII and between 0 and 9 when n 0 the command is ignored e This command clears the line buffer 0A To forward feed fast 5 lines at a time 35 0B or 5 an
18. prints the printer operational report e When the FEED key is pressed the paper can be fed forward manually e The red Status LED displays a printer hardware error status and the winnings The check is carried out on line i e in the event of a malfunctioning the LED will starts flashing as follows STATUS LED DESCRIPTION Tab 1 Always OFF Printer OFF Always ON Printer ON no faults Slow flashing on for a long period Tilting cover raised Slow flashing on for a short period Paper Out Message MAIN APPLICATIONS The TG558 printer is the ideal solution for e kiosks internet public offices bookings bank transactions e self service e ticket dispensing public private transport automatic payments e parking lots queue management systems e instruments e Gaming machines e Vending machines e instant lotteries TG558 2 GUTE 1 INSTALLATION AND OPERATION 1 1 CONNECTIONS Fig 1 1 1 1 1 Power supply The printer TG558 is equipped with a 2 pin male molex connector serie 5569 Vertical for the power supply J6 The signals on the pins of the feed connector are as follows Model no type Header 90 Molex serie 5569 no 39 30 1020 Housing Molex serie 5557 no 39 01 3022 Tab 1 1 PIN SIGNAL DESCRIPTION 1 12V POWER 2 GND SIGNAL GROUND Ab WARNING Be sure to observe the correct polarity for the power supp
19. scrolling text Notes GO The n parameter indicates the length of a string If the length exceeds the value of 63 characters then was automatically limited to 63 e If the string containes a NULL character 00 the next characters recpetion are aborted e This command is present only in the printer version with display TG558 D Default Reference Example 1D 6F n Name Management of output lines Format ASCII GS o n Hex 1D 6F n Decimal 27 111 n Description This command sets the output lines as follows bit7 bit6 bit5 bit4 bit3 bit2 bit1 bitO AUXOUT INIBIT Bit Off On Hex Decimal Function 0 Off 00 0 Out Inibit On 01 1 1 RESERVED 2 RESERVED 3 RESERVED 4 Off 00 0 Out Auxout On 08 8 5 RESERVED 6 RESERVED 7 RESERVED Notes e This command is present only in the printer version with display TG558 D Default Reference Example TG558 3 28 CUSTOM 1D 72 n Name Format Range Description Notes Default Reference Example 1D EB Name Format Range Description 3 PRINTER FUNCTIONS Transmit status ASCII GS r n Hex 1D 72 n Decimal 29 114 n n 1 49 Transmits the status specified by n as follows n Function 1 49 Transmits paper sensor status as for 1D 76 Paper sensor status n 1 49 Bit Off On Hex Decimal Function 0 1
20. two characters wich represent the hexadecimal value Notes Default Reference 1B 4B Example The response is on two bytes E g if you receive 30 39 it means that the default register is 00001001 1B 6D Name Transmits the printing mode in serial Format ASCII ESC m Hex 1B 6D Decimal 27 109 Description Transmits through serial port the printing mode configuration Notes e If the printer using a parallel protocol it doesn t transmits anything Default Setting in the option register by means on the front keys Reference TG558 3 18 CUSTOM Example 1B 70 Name Format Description Notes Default Reference Example 1B 72 n Name Format Range Description Notes Default Reference Example 1B 73 Name Format Description Notes Default Reference Example 3 PRINTER FUNCTIONS The response is on two bytes E g if you receive 30 32 it means that printing is in double height mode Transmits the configuration register in serial ASCII ESC p Hex 1B 70 Decimal 27 112 Transmits through serial port the option register byte e H the printer using a parallel protocol it doesn t transmits anything 1B 47 1B 4B 1B 6B The response is on two bytes E g if you receive 30 39 it means that the default configuration is 00001001 Set reset red printing mode ASCII ESC r n Hex 1B 72 n Decimal 27 114 n O lt n lt 1 48 lt
21. 0000 l SE Fig A 8 EE Ab UE ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise unloosing the fixing screw of paper roll pivot and so positioning itself in this mode CUSTOM A 5 TG558 APPENDIX A ACCESSORIES AND SPARE PARTS Lower attachement 58mm Version 1 Attach the support to the printer body using the two M3x6 fixing screws 3 supplied with the kit as shown in fig A 9 2 Insert the near paper end sensor connector 1 of the roll holder support into the printer connector as shown in fig A 9 Fig A 9 ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise unloosing the fixing screw of paper roll pivot and so positioning itself in this mode K Beveled part 35mm Version 1 Attach the support to the printer body using the two M3x6 fixing screws 3 supplied with the kit as shown in fig A 10 2 Insert the near paper end sensor connector 1 of the roll holder support into the printer connector as shown in fig A 10 A Fig A 10 Ab ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise unloosing SE the fixing screw of paper roll pivot and so positioning itself in this mode
22. 1 Nrow where Nrow 341 for 58mm model Nrow 512 for 35mm model yL yH x 256 specifies the number of lines to print e If xL xH x 256 gt Nrow the printer does not execute the command where Nrow 341 for 58mm model Nrow 512 for 35mm model e If xL xH x 256 yL yH x 256 Uz Nrow the printer prints only Nrow xL xH x 256 1 dotline where Nrow 341 for 58mm model Nrow 512 for 35mm model The logo dimension is 384 x 341 for 58mm model 3 21 TG558 Default Reference Example 1D 21 n Name Format Range Description Table 1 Select Character Width hight Nibble 3 PRINTER FUNCTIONS 256 x 512 for 35mm model To print from ram bank dotline 10 to dotline 64 send 1B FA 00 00 0A 00 40 Select character size ASCII GS n Hex 1D 21 n Decimal 29 33 n 0 lt n lt 255 Selects character height and width as follows e Bits 0 to 3 low Nibble to select character height see table 2 e Bits 4 to 7 Higth Nibble to select character width see table 1 Obit 1bit 2bit 3bit 4bit Sbit G6bit 7bit height width Table 2 Select character height Low Nibble Hex Width Hex Height Ox 1 normal width 1x x0 1 normal height 1x 1x width 2x x1 2 height 2x 2x width 3x x2 3 height 3x 3x Fx 1 normal width 1x x3 xF 1 normal height 1x Notes e This command
23. 4 COLUMNS font 16 x24 123456789ABCDEF U H b oL ta Hlg 1 1AQagquzi B 2 2BRbre fd rf 3 3CScsdou Hers 4 40 Tdtdon4i ELZf 3 Z5EUeuadn4 eo 6 REF VFvaied Fru H 7GWgGwoUS gt rs 8 B8HXhxBiis k n 9 9I Yiy d pP es A JZjzeu 4 a5 B KCK i kasabJ C SLNLET EGS bes P D well DAME EE E gt N naAR d tt fe F 0_o aAf gt ant Fig 5 1 CUSTOM 5 1 TG558 APPENDIX A ACCESSORIES AND SPARE PARTS A 1 ACCESSORIES A 1 1 Power Supply The figure below illustrates the 12V power supply provided by Custom to be used for printer operation 66 Fig A 1 Tab A 1 Input specifications Output specifications Input voltage 100 Vac to 240 Vac Output voltage Input frequency 50 Hz to 60 Hz Output current Maximum 4A Peak 6A Short Circuit 6A A 1 2 Adjustable paper holder suport An adjustable paper holder support kit see fig A 2 and A 3 is available for the printer to make it possible to use larger width rolls of paper 80mm max 1 Tab A 2 PCXSP TG558 35 Paper roll holder kit for 35mm version with QFC sensor PCXSP TG558 58 Paper roll holder kit for 58mm version with QFC sensor The kit is provided already installed ad shown in figures A 2 and A 3 CUSTOM A 1 TG558 APPENDIX A ACCESSORIES AND SPARE PARTS Paper roll holder Kit for 58mm version Fig A 2 Paper holder support 1 assembled at paper roll pin 2 N
24. 41 nH nL Name Format Description Notes Default Reference Example 1B 44 Name Format Description Notes Default Reference Example 3 PRINTER FUNCTIONS e In standard mode the vertical motion unit is used e The maximum line spacing is n 255 32mm n 32 1 6 inch 1B 30 1B 32 Initialize printer ASCII ESC Hex 1B 40 Decimal 27 64 Clears the data in the print buffer and resets the printer mode to that in effect when power was turned on e The data in the receiver buffer is not cleared e The macro definitions are not cleared Executes n dots line feed ASCII ESC A nH nL Hex 1B 41 nH nL Decimal 27 65 nH nL Executes N dots line feed where N 256 x nL nH s 1mm is equivalent to 8 dot line To executes a 40 mm of feed transmit 1B 41 01 40 or the ESC A command and the value 40mm x8 dot Enters the date in the print buffer ASCII ESC D Hex 1B 44 Decimal 27 68 Enters in the buffer the date of the calendar clock intsalled inside the printer in the following format dd mm yy e The date is printed in 8 characters if there is not enough space in the buffer it will not be printed It does not zero set the line buffer e This command is present only in the printer version with display TG558 D and RTCK option 1B 54 1B 55 If you wish to write DATE 11 09 93 TEST OK 3 11 TG558 3 PRINTER FUNCTIONS transmit DATE
25. 49 n Decimal 29 73 n TG558 3 24 CUSTOM 3 PRINTER FUNCTIONS Range 1 lt n lt 3 49 lt n lt 51 Description Transmits the printer ID specified by n follows n Printer ID Specification 68 58mm model 1 49 Printer model ID 69 35mm model 2 50 Type ID See table below 3 51 ROM version ID Depends on ROM version 4 character n 2 Type ID Bit Off On Hex Decimal Function 0 Off 00 0 2 byte character codes not supported 1 Off 00 0 Autocutter not supplied On 02 2 Autocutter supplied 2 Off 00 0 Thermal paper w o label On 04 4 Thermal paper wilabel 3 z 7 RESERVED 4 RESERVED 5 RESERVED 6 RESERVED 7 RESERVED Notes e This command is executed when the data is processed in the data buffer Therefore there could be a time lag between command reception and data transmission depending on data buffer status Default Reference Example 1D 4C n mt d1 dk Name Receive dsplay effect from serial port Format ASCII GS L n m t d1 dk Hex 1D 4C n m t d1 dk Decimal 29 76 n m t d1 dk Range 1 lt n lt 4 49 lt n lt 52 0 lt m lt 63 0 lt d1 lt 255 0 lt dk lt 255 Description Receives display effect from serial port e The n parameter indicates the effect display number to apply see 1D 46 command e The m parameter indicates the frame number if the m value exceeds the maximum value allowed then was
26. 558 D RTCK opt 13 DC3 Sets time and date TG558 D RTCK opt 14 18 DC4 CAN Transmits time and date in serial Cancel print data TG558 D RTCK opt 1B 23 n ESC n Transmit printer ID 1B 28 nL nH ESC vnl nH Set relative vertical print position 1B 2D n ESC n Turn underline mode on off 1B 30 ESC 0 Select 1 8 inch line spacing 1B 32 ESC 2 Select 1 6 inch line spacing 1B 33 n ESC 3n Set line spacing using minimum units 1B 40 ESC Resets the printer 1B 41 ESCA Executes n dots line feed 1B 44 ESC D Enters date in print buffer TG558 D RTCK opt 1B 49 ESC Selects Font A 1B 4A n ESC Jn Print and feed paper dd 1B 4D dd ESC M Writes value dd in print mode 1B 4E ESC N Sets normal mode printing 1B 51 1B 52 ESC Q Enables underlining Sets reverse mode printing 1B 54 Enters time in print buffer TG558 D RTCK opt 1B 55 Enters date mm dd yy in print buffer TG558 D RTCK opt 1B 57 Prints graphic line of 200 dpi 1B 58 Prints in red HEX ASCII Description 3 PRINTER FUNCTIONS 1B 61 dd ESC a Selects justification 1B 62 dd ESC b Selects number of dot spaces 1B 63 ESC c Management of bar code printing 1B 64 n ESC dn Pr
27. ART XON XOFF Protocol Fig 2 4 STOP STOP ER DATA WAIT DATA RN D EE E CSc yee cep ey a l l START BIT START BIT l l l l l l l STOP STOP l di GE 11XON tr OSes COA ee i START BIT START BIT TG558 22 CUSTOM 3 PRINTER FUNCTIONS 3 1 CONTROL CHARACTERS LEGEND Symbol Function indicates the representation of the command hexadecimal value for example 40 means HEX 40 indicates an ASCII character not performable n m t x y are additionals optional parameters that can have different values The command table lists all the commands for the management of the printer functions The commands can be transmitted to the printer at any moment but they will only be carried out when the characters previously transmitted have been printed or the commands previously transmitted have been carried out There are no commands with priority status all the commands are carried out when the circular buffer is free to do so COMMAND TABLE Table 3 1 sen Description 1 Wees Prints in small characters Prints in double width Prints in double height Expanded printing Restores small character printing Moving back of one character Forward feeds one line Forward feeds n line Prints line buffer 10 04 n DLE EOT n Sets CRLF mode Real time status transmission 11 DC Graphic mode 12 DC2 Prints time and date TG
28. BCDEFG Upside down printing O 944qdogY 9SvECLO 0123456 Printing direction Transmits the real time clock ASCII ESC Hex 1B FO Decimal 27 240 Using this command to read the printer calendar clock real time clock e Transmit the time and date in 12 ASCII characters format HHmmSSDDMMYY where HH gt hour mm gt minutes SS gt seconds DD gt day MM gt month TG558 3 20 CUSTOM 3 PRINTER FUNCTIONS Default Reference Example 1B F1 n0 n9 Name Format Description Notes Default Reference Example YY gt year e This command is present only in the printer version with display TG558 D and RTCK option Sets the real time clock ASCII ESC n0 n9 Hex 1B F1 n0 ng Decimal 27 241 nd n9 Using this command to set the printer calendar clock real time clock e Transmit the time and date in 10 ASCII characters format HHmmDDMMYY where HH gt hour mm gt minutes DD gt day MM gt month YY gt year e This command is present only in the printer version with display TG558 D and RTCK option 1B FA n xH xL yH yL Name Format Range Description Notes Print logo ASCII ESC 4 n XH xL yH yL Hex 1B FA n xH xL yH yL Decimal 27 250 n xH xL yH yL n 1 49 0 lt XH xL yH yL lt 255 Prints graphic logo stored into flash bank n selects the graphic source as follows XL xH x 256 specifies the starting dotline
29. D key to proceed to the next parameter and so on Once all the parameters have been run through the printing of a message signals the end of setting procedure 1 3 AUTOTEST To run the autotest press the FEED key while switching on the printer During the running of the autotest the character fonts and logos stored inside the printer are printed 1 4 MAINTENANCE 1 41 Changing the paper roll Every time you change the paper referred to fig 1 4 need to check as follows e Lift the wicket relative to paper roll compartment and check that there are no scraps of paper at the area indicated with a letter near the printing head If there are remove the scraps before proceeding with any other operation Fig 1 4 WARNING Periodically remove accumulated paper dust from the drag paper roll and the area around the paper outfeed sensor see fig 1 4 in the he points indicated with b letter To clean do not use harsh chemical solvents the use of a soft alcohol moistened cloth is recommended 1 INSTALLATION AND OPERATION To change the paper roll in the printer proceed as follows see the fig 1 5 1 Position the paper roll 1 so that it rotates in the direction shown fig 1 5 2 Insert the end of the paper roll in the print mechanism 2 and wait until the roll loads automatically 3 Remove the ticket from the mouth paper output Fig 1 5 WARNING Fig 1 6 Befo
30. E Ticket Printer TG558 serie 35 58 mm User Manual CUSTOM www custom it TG558 All rights reserved Total or partial reproduction of this manual in whatever form whether by printed or electronic means is forbidden While guaranteeing that the information contained in it has been care fully checked CUSTOM ENGINEERING SPA and other entities utilized in the realization of this manual bear no responsibility for how the manual is used Information regarding any errors found in it or suggestions on how it could be improved are appreci ated Since products are subject to continuous check and improvement CUSTOM ENGINEERING SPA reserves the right to make changes in information contained in this manual without prior notifica tion COD DOME TG558 REV 1 10 Copyright 2004 CUSTOM ENGINEERING SPA Italy CUSTOM ENGINEERING SPA Str Berettine 2 43010 Fontevivo PARMA Italy Tel 39 0521 680111 Fax 39 0521 610701 http www custom it Customer Service Department Tel 39 059 88 69 587 Email support custom it TG558 CUSTOM PRINTER COMPONENTS A TG558 Exterior view with plastic front panel TG558 x35P TG558 x58P IL TG558 x35P 0001 2 TG558 x58P 0001 1 Printing mechanism 2 PRINT key 3 FEED key 4 Case 5 Front panel 6 Led 7 Paper output II The x suffix indicates the following models TG558 S35P 35mm version with RS232 serial interface TG558 S58P 58mm version with R
31. S232 serial interface TG558 T35P 35mm version with TTL serial interface TG558 T58P 58mm version with TTL serial interface 2 The 0001 suffix indicate the real time clock option B TG558 Exterior view with metallic front panel TG558 x35M TG558 x58M TG558 x35M 0001 TG558 x58M 0001 1 Printing mechanism 2 PRINT key 3 FEED key 4 Case 5 Front panel 6 Led 7 Paper output II The x suffix indicates the following models TG558 S35M 35mm version with RS232 serial interface TG558 S58M 58mm version with RS232 serial interface TG558 T35M 35mm version with TTL serial interface TG558 T58M 58mm version with TTL serial interface 2 The 0001 suffix indicate the real time clock option C TG558 Exterior view with display TG558 35D 1 Printing mechanism 2 PRINT key 3 FEED key 4 Case 5 Front panel 6 Paper output 7 Display 8 Led D TG558 Rear view with plastic front panel 1 Power supply connector 2 RS232 TTL serial interface connector 3 Paper input 4 Inspection wicket relative to paper roll compartment E TG558 Rear view with metallic front panel 1 Power supply connector 2 RS232 TTL serial interface connector 3 Paper input 4 Inspection wicket relative to paper roll compartment _ A F TG558 Rear view with Display 1 Power supply connector 2 TTL serial interface
32. ach the support to the printer body using the two M3x6 fixing screws 3 supplied with the kit as shown in fig A 6 2 Insert the near paper end sensor connector 1 of the roll holder support into the printer connector as shown in fig A 6 Fig A 6 SS K Beveled part ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise unloosing the fixing screw of paper roll pivot and so positioning itself in this mode APPENDIX A ACCESSORIES AND SPARE PARTS Rear attachement 58mm Version 1 Attach the support to the printer body using the two M3x6 fixing screws 3 supplied with the kit as shown in fig A 7 2 Insert the near paper end sensor connector 1 of the roll holder support into the printer connector as shown in fig A 7 F P i Fig A 7 Pa CH Z gt Ab ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise unloosing the fixing screw of paper roll pivot and so positioning itself in this mode 35mm Version 1 Attach the support to the printer body using the two M3x6 fixing screws 3 supplied with the kit as shown in fig A 8 2 Insert the near paper end sensor connector 1 of the roll holder support into the printer connector as shown n fig AB 000
33. als which should be retained for future shipping moving Make sure all components listed below are present and not damaged If any part is missing and or damaged contact customer service CUSTOM 1 TG558 INTRODUCTION Box Fig 1 Foam packing shell Printer Paper roll Manual or CD Rom Electrical supply cable OakwWn gt PRINTER DESCRIPTION 7 Ultra compact thermal printer only 9cm deep for dispensing 35 or 58mm tickets width easy to install 4 fastening holes and ticket presentation to user incorporated Thanks to the exclusive anti paper jam system the ticket will always be promptly dispensed to the user Thanks to an innovative type of paper roll holding bracket it is possible to accommodate up to 73 metres of paper max external 80mm adapt the printer to the mechanical space requirements necessitated by the application 3 positions upper lower and rear and manage the near paper end signal It is equipped with a 203 dpi thermal print mechanism it has the serial interfaces RS232 and TTL and it s also available a version equipped with a calendar clock Real Time Clock The TG558 is available with Fireproof plastic or metal front panel The TG558 display version is equipped with e alphanumeric display for viewing scrolling messages is available Speaker output integrated e software tools that allows to transfer MIDI format sound into the printer through serial port When the REPORT key is pressed it
34. ange Description Notes Default Reference Example dd 1B 61 Name Format Description Notes Default Reference Example 1B 63 Name Format 3 PRINTER FUNCTIONS Hex 1B 58 Decimal 27 88 After receiving this command the printer prepare itself to print in red Select justification ASCII ESC a n Hex 1B 61 n Decimal 27 97 n O lt n lt 2 48 lt n lt 50 Aligns all data in one line to the specified position where n selects the type of justifica tion as follows n Justification 0 48 Flush left 1 49 Centered 2 50 Flush right e This command is only enabled when inserted at the beginning of a line e Lines are justified within the specified printing area e Spaces set by HT ESC and ESC will be justified according to the previously entered mode n 0 Flush left Centered Flush right ABC ABC ABC ABCD ABCD ABCD ABCDE ABCDE ABCDE Selects the number of dot spaces ASCII dd ESC b Hex dd 1B 62 Decimal dd 27 98 dd are two ASCII characters which identify a hexadecimal byte and correspond to the number of dot lines between one print line and another Management of bar code printing ASCII ESC c code height position options length data Hex 1B 63 3 15 TG558 3 PRINTER FUNCTIONS Decimal 27 99 Description This command executes a barcode printing depending on the following parameters code Type of bar code ASCII character The values are
35. connector 3 Power supply connector and additional signals 4 Paper input 5 Inspection wicket relative to paper roll compartment TABLE OF CONTENTS INTRODUCTION MANUAL ORGANIZATION 1 ccaxsicsedcacansiccenasicaceexta rie oaetduace teuahdecesh ural dnebtelsaneideentiuachdedansucmsnaseattdevansioas 1 SYMBOLS USED IN THE IA ec ace ere 1 GENERAL SAFETY INFORMATION ictcscerceitcnsd nntetaancccedavendsanlakadeeddes ge ren eege gt 1 UNPACKING THE PRINTER EE 1 Ile ee LC 2 PRINTERDESCRIP KEE 2 1 INSTALLATION AND OPERATION 1 1 CONNECTIONS erreren e a a E E ENAA A AEE EAEE TEER 1 1 1121 Power SUPPLY EEN 1 1 1 1 2 Input Output connector for TG558 display version ccccseecsecesecceceeeeeeeeeeeeeeeeeeeeeeeess 1 1 EE eebe 1 2 1 2 1 Configuration of REPORT and FEED Keys ssesseseeseessirirrteeerirrrrrteestirinrnssssrnnnnrssseent 1 3 d SE KR ch EE 1 3 TAMAIN TENANCE cesionario E EEEE E REEE 1 3 1 5 1 Changing the paper EE 1 3 1 5 2 Notes for installation and using EE 1 4 2 INTERFACES 2 1 INTERFACES OF TG558 S AND TG358 T MODELS E 2 1 1 5 2 RS232 Serial RN EE 2 1 3 PRINTER FUNCTIONS 3 1 COMMAND DESCRIPTIONS ENNEN 3 1 4 TECHNICAL DATA S GN Ge ler TR KEE 4 1 SEIL LE 4 2 4 2 1 Model with plastic front panel cecceccceeeeeeeeeeeeeeeceeaeeeseeaaeaaaeaaaecaecaaeaaeceaeceeeceeeeeseeeetess 4 2 4 2 2 Model with metallic front panel cceceseeeceeeeeeceeeeeeaaeaaaeaaeeaaeeaeceeeeeeeeeeeee
36. d the command 0B Print and carriage return ASCII CR Hex OD Decimal 13 When autofeed is CR enabled this command functions in the same way as 0A otherwise it is disregarded e Sets the print position to the beginning of the line See Autofeed in setup parameter 0A Set CRLF mode ASCII SI Hex OF Decimal 15 Inhibits the command 0D maintaining enabled only the command 0A for printing e To disable this option reset the printer e This command clears the line buffer e On switching on the default value is in the Option Register Setting in the option register by means of the front keys 0D Real time status transmission ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n 1 lt n lt 6 Transmits the selected printer status specified by n in real time according to the following parameters 3 5 TG558 3 PRINTER FUNCTIONS n 1 transmit printer status n 2 transmit off line status n 3 transmit error status n 4 transmit paper roll sensor status n 5 transmit paper sensors status n 6 transmit input output status Notes e This command is executed when the data buffer is full e This status is transmitted whenever data sequence 10 04 n is received 1 lt n lt 6 Default Reference See tables below Example n 1 Printer status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 RESERVED 3 off 00 0 On line On 08 8 Off line 4 RESERVED 5
37. e NOTES TABLE Note Value Hex Description NO_SOUND 21 SOUND_ON 20 HE DS 30 RE 5 Ottava ML5 31 MI FA_5 32 FA FA_D_5 33 FA SOL_5 34 SOL SOL_D_5 35 SOL LA_5 36 LA LA DS 37 LA SL5 38 Sl DO 6 39 DO 6 Ottava DO D6 3A DO RE_6 29 RE RE De 3B RE MI 6 3C MI FA_6 3D FA PA D 0E FA SOL_6 3E SOL SOL_D_6 2C SOL LA 6 3F LA LAD 6 04 LA SI 6 05 SI DO7 25 DO 7 Ottava DO D7 2F DO RE_7 06 RE RE_D_7 07 RE The NO SOUND note disable the tones generator must be used to end a melody The SOUND_ON note enable the tones generator but no produce any music This note must be used also when executes a pause e Every melody always must be start with the SOUND_ON note e This command is present only in the printer version with display TG558 D TG558 3 30 d TECHNICAL SPECIFICATIONS 4 1 TECHNICAL SPECIFICATIONS Table 4 1 gives the main technical specifications for the 204 dpi printer model Tab 4 1 e S T T Print method Thermal TEE Paper specifications EE paper Thermal rolls yp pap Heat sensitive side on outside of roll Recommended types of paper from 55 g m to 65 g m KANZAN External roll diameter max 80 mm with external roll holder support Core type Cardboard or plastic Head temperature paper end anti paper jam Optional external near paper end ticket presence on output Printing mode Straight Reverse Printing format Height
38. e followed carefully to avoid damage or operator injury GENERAL SAFETY INFORMATION Read and retain the instructions which follow Before cleaning the printer be sure to pull out the electrical cable Use a damp cloth to clean the printer Do not use liquid or spray products Do not operate the printer near water When positioning the printer make sure its cables will not be damaged Use the type of electrical power supply indicated on the printer label If uncertain contact your dealer Do not block the ventilation openings Do not insert objects inside the printer as this could cause short circuiting or damage components that could jeopardize printer functioning Do not spill liquids onto the machine e Do not carry out repairs on the machine yourself except for the normal maintenance operations given in the user manual e Unplug the printer from the electrical mains and call a specialized repairman if any of the following conditions should arise A the power supply connector is damaged B liquid has spilled into the printer C the printer has been exposed to rain or water D the printer is not functioning normally despite the fact that all instructions given in the user manual have been followed E the printer has been dropped and the cover is damaged F printer performance is noticeably reduced G the printer is not working UNPACKING THE PRINTER Remove the printer from the carton taking care not to damage the packing materi
39. e if it was selected the DDMMYnHHmmsSsS format e The terminal number value must be included between 0 and 9 n After receiving this command the printer send a byte to host in the following format 1 byte ACK 06 if the setting value is included in the interval NAK 15 if the setting value is not included in the interval e The terminal number is stored into EEprom so this value still remains also after a reset command or printer shut down This command is relative to the counter defined as progressive of ticket printed n specifies the operation executed on counter as indicated in the following table n Function Z Z Resets the progressive ticket counter Increases the progressive ticket counter d D Decreases the progressive ticket counter r R Reads the progressive ticket counter e The counter value is stored into RAM so when the printer resets or shut down the counter is reset Notes Default Reference Example CUSTOM 3 27 TG558 3 PRINTER FUNCTIONS 1D 64 30 1D 64 31 n d1 dk Name Enable Disable scrolling text Format ASCII GS d 0 Hex 1D 64 30 Decimal 29 100 0 ASCII GS d 1 n d1 dk Hex 1D 64 314 n d1 dk Decimal 29 100 1 n d1 dk Range 0 lt n lt 63 0 lt d1 lt 255 0 lt dk lt 255 Description This command disable scrolling text This command visualizes on display a string that was sent through serial port as
40. ear paper end sensor board 3 Two M3x6 fixing screws 4 Two control discs 5 Paper roll holder Kit for 35mm version Paper holder support 1 assembled at paper roll pin 2 Stop ring for paper width adjustement 3 Near paper end sensor board 4 Two M3x6 fixing screws 5 Two control discs 6 Fig A 3 NOTE The stop ring is present only gt in the 35mm version APPENDIX A ACCESSORIES AND SPARE PARTS Assembly instructions The position of the roll holder support is not fixed and its rear lower and upper position may be adjusted as shown in figure A 4 1 Upper attachment 2 Rear attachment 3 Lower attachment Fig A 4 Upper attachement 58mm Version 1 Attach the support to the printer body using the two M3x6 fixing screws 3 supplied with the kit as shown in fig A 5 2 Insert the near paper end sensor connector 1 of the roll holder support into the printer connector as shown in fig A 5 CUSTOM A 3 TG558 APPENDIX A ACCESSORIES AND SPARE PARTS Fig A 5 K Beveled part Ab ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise unloosing the fixing screw of paper roll pivot and so positioning itself in this mode 35mm Version 1 Att
41. ed double strike underline etc print modes and the upside down mode For printing 12 bytes the command sequence is 1D 57 0C FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 Sets height in printing ASCII GS Y n Hex 1D 59 n Decimal 29 89 n Sets height during printing based on following values of n When you print a dot line if n 0 height is set to one n 0 default value height is set to two Whenn 0 default value each dotline is twice replicated n 0 Receive n bytes from serial port ASCII GS Z n Hex 1D 5A n Decimal 27 90 n Receives n bytes from serial port and prints them in graphic mode Max value of n isn lt 48 for 58mm model TG558 3 26 CUSTOM 3 PRINTER FUNCTIONS n lt 34 for 35mm model Default Reference Example 1D 62 mn Name Management of barcode printing Format ASCII GS b m n Hex 1D 62 m n Decimal 29 124 m n p P 1 lt n lt 3 49 lt n lt 51 T 48 lt n lt 56 m c C n 2 Z 7 T d D r R Description This command prints a EAN13 barcode already formatted n specifies the formattation type as follows Range m m CeO n Barcode format GO DDMMYnHHmmSS DDMMYHHmmnnn where DD gt dayMM gt month YY gt year HH gt hour mm gt minutes SS gt seconds n gt terminal number 0 9 nnn gt progressive ticket number This command sets the terminal number that will be printed in the barcod
42. eeeeeeeeeeeeetess 4 3 4 2 3 IOC EK ta EE 4 4 5 CHARACTERS SET 9 CHARACTERS WEE 5 1 APPENDIX A ACCESSORIES AND SPARE PARTS EN RETTEN A 1 AT 1 Power Supply ee A 1 A 1 2 Adjustable paper roll holder Kit cece ccceeccee cece cece eee eeee eee eeaeeeaaeeeaeaeaeeeaeeaaeeaaeeaeeaaeeaeeeaeees A 1 Assemb MVS ere 1 A 3 Using En Cie A 7 Dimensions with paper roll holder support ccceccceccececeeceeecee cette ee eeeeteeteeetee ete teeteeeeeeeeeeseeees A 8 A 2 SPARE PARIS irori a a E E ET E E EREE EARE EAEE EE A 9 MANUAL ORGANIZATION In addition to the Introduction which contains information regarding the symbols used in the manual general safety information instructions for unpacking the printer and a brief description and main characteristics of the machine this manual is divided into the following chapters Chapter 1 Contains the information required for correct printer installation and use Chapter 2 Contains interface data Chapter 3 Contains a description of printer controls Chapter 4 Contains printer technical data Chapter 5 Contains the character sets fonts used by the printer Appendix Contains a description of printer accessories and spare parts SYMBOLS USED IN THE MANUAL NOTE Gives important information or suggestions for printer use WARNING Information indicated by this symbol must be followed carefully to avoid damaging the printer DANGER K Information indicated by this symbol must b
43. ference Example 1B 51 Name Format Description Notes Default Reference Example 1B 52 Name Format Description Notes Default Reference Example 1B 54 Name Format Description Notes 3 PRINTER FUNCTIONS Setting by means of the front keys 1B 6D For duoble height printing transmit 30 32 1B 4D Set printing in NORMAL ASCII ESC N Hex 1B 4E Decimal 27 78 Selects printing in NORMAL mode Setting remains until next set Setting the Print mode parameter in the printer set up 1B 52 Enable underlined printing ASCII ESC Q Hex 1B 51 Decimal 27 81 After this command has been received the characters are printed underlined 1B 71 Set printing in REVERSE ASCII ESC R Hex 1B 52 Decimal 27 82 Set printing in REVERSE mode the ticket comes out from printer with the strings straight and oriented on the left to right Setting the Print mode parameter in the printer set up 1B 4E Enters the time in the print buffer ASCII ESC T Hex 1B 54 Decimal 27 84 Enters in the buffer the time of the calendar clock intsalled inside the printer in the following format hh mm e The time is printed in 5 characters if the seconds option is enabled in 8 characters if 3 13 TG558 Default Reference Example 1B 55 Name Format Description Notes Default Reference Example 1B 57 Name
44. for TG558 D 1D 6F n GS on Management of output lines Only for TG558 D 1D 72 n 1D EB GS rn GS Transmit status Receive Save and Play melody Only for TG558 D NOTE commands without specifications in the Note column are valid for all the models otherwise the Note column indicate a command that is valid for a specific model as follows e TG558 D printer version with display e RTCK opt printer version with real time clock option The following pages provide a more detailed description of each command 00 Name Format Description Notes Small character printing ASCII Hex Decimal NUL 00 The printer prints in small characters normal e The commands 00 04 do not cancel the print buffer TG558 3 2 Default Reference Example 01 Name Format Description Notes Default Reference Example 02 Name Format Description Notes Default Reference Example 03 Name Format Description Notes Default Reference Example 3 PRINTER FUNCTIONS e The commands which modify the direction of the characters are only active at the beginning of the line Setting the Print mode parameter in the printer set up 01 02 03 04 1D 21 1B 4D Double width printing ASCII SOH Hex 01 Decimal 1 The printer prints in double width format e The commands 00 04 do
45. int and feed paper n lines 1B 68 ESC h Selects Font B 1B 69 ESC i Selects Font B 1B 6D ESC m Transmits print mode in serial 1B 71 ESC q Disables underlining 1B 72 n ESC rn Set reset red printing mode 1B 73 ESC s Transmits next character in serial 1B 78 n ESC xn Select speed current mode 1B 7B n ESC n Set cancel upside down character printing 1B SEO ESC Transmission of printer real time clock TG558 D RTCK opt 1B F1 ESC Setting of printer real time clock TG558 D RTCK opt 1B SEA ns XH yH yL 1D 24 n ESC n xL xH yH yL GS n Print logo Set absolute shift into a graphic line 1D 44 s1 s2 s3 s4 GS D s1 s2 s3 s4 Visualization on display of a string characters Only for TG558 D 1D 45 d1 d8 GS E d1 d8 Display management in graphic mode Only for TG558 D 1D 46 n 1D 49 n GS Fn GS In Setting graphic display effects Transmit printer ID Only for TG558 D 1D 4C nmt d1 dk GSLnmt d1 dk Receive graphic display effect from serial port Only for TG558 D 1D 57 nL nH GS W nL nH Set printing area width 1D 59 n GS Yn Sets height in printing 1D 5A n GS Zn Receive n bytes from serial port 1D 62 n GS bn Prints formatted barcode 1D 64 n GS dn Enable Disable scrolling text Only
46. ion by using the horizontal or vertical motion unit e This command sets the distance from the current position to nL nH x 256 x horizontal or vertical motion unit Notes e When the starting position is specified by N motion unit to the bottom nL nH x 256 N e When the starting position is specified by N motion unit to the top negative direction use the complement of 65536 nL nH x 256 65536 N e In standard mode the vertical motion unit is used Default Reference Example 1B 30 Name Select 1 8 inch line spacing Format ASCII ESC 0 Hex 1B 30 Decimal 27 48 Description Selects 1 8 inch line spacing Notes Default Reference 1B 32 1B 33 Example 1B 32 Name Set line spacing at 1 6 inch Format ASCII ESC 2 Hex 1B 32 Decimal 27 50 Description Selects 1 6 inch line spacing Notes Default Reference 1B 30 1B 33 Example 1B 33 n Name Set line spacing Format ASCII ESC 3 Hex 1B 33 n Decimal 27 51 Range 0 lt n lt 255 Description Sets the line spacing at n x vertical or horizontal motion unit inches Notes e Changing the horizontal or vertical motion unit does not affect the current line spacing e However the value cannot be less than the minimum vertical movement amount TG558 3 10 CUSTOM Default Reference Example ESC Name Format Description Notes Default Reference Example 1B
47. iption Notes Default Reference Example 1B 28 76 nL nH Name Format 3 PRINTER FUNCTIONS 12 14 To set the time 12 45 on 19 01 93 transmit 1 2 4 5 1 9 0 1 9 3 13 31 32 34 35 31 39 30 31 39 33 13 To set the time A 12 45 on 19 01 93 transmit A 1 2 4 5 1 9 0 1 9 3 13 41 31 32 34 35 31 39 30 31 39 33 13 Transmit the time and date in serial ASCII Hex 14 Decimal 20 Transmit the time and date on serial port with ASCII format 11 ASCII characters hours minutes day mont h year CR 0D e This command is present only in the printer version with display TG558 D and RTCK option 13 14 Transmit printer ID ASCII ESC n Hex 1B 23 n Decimal 27 73 n 1 lt n lt 3 49 lt n lt 51 Transmits the printer ID specified by n follows n Printer ID Specification 68 58mm model 69 35mm model Fixed on 00 1 49 Printer model ID 2 50 Not used 3 51 ROM version ID Depends on version ROM 4 char e This command is executed when the data is processed in the data buffer Therefore there could be a time lag between command reception and data transmission depending on data buffer status Set relative vertical print position ASCII ESC v nL nb Hex 1B 28 76 nL nH Decimal 27 10 118 nL nH 3 9 TG558 3 PRINTER FUNCTIONS Range O0 lt nL lt 255 O0 lt nH lt 255 Description Sets the print vertical position based on the current posit
48. is effective for all characters except HRI characters e H n falls outside the defined range this command is ignored e Characters enlarged to different heights on the same line are aligned at the baseline or topline Default n 0 Reference 00 01 02 03 04 Example 1D 24 n Name Set absolute shift into a graphic line Format ASCII GS n Hex 1D 24 n Decimal 29 36 n Range O lt n lt 47 for 58mm model O lt n lt 34 for 35mm model Description Set the print beginning position into a graphic line based on the current value of n that indicate the byte number of shift from left margin Notes Settings outside the specified printable area are ignored Default Reference Example 3 22 CUSTOM 3 PRINTER FUNCTIONS 1D 44 s1 s2 s3 s4 Name Format Range Description Notes Default Reference Example 1D 45 d1 d8 Name Format Range Description Notes Visualization on display a string of 4 characters ASCII GS D s1 s2 s3 s4 Hex 1D 44 s1 s2 s3 s4 Decimal 29 68 s1 s2 s3 s4 48 lt s1 s2 s3 s4 lt 57 65 lt s1 s2 s3 s4 lt 90 Visualizes a string of 4 characters on printer display This command is present only in the printer version with display TG558 D To visualize the string CIAO on display send 1D 44 43 49 41 4F Display management in graphic mode ASCIl GS E d1 d8 Hex 1D 45 d1 d8 Decimal 29 69 di d
49. ly 1 1 2 Input Output connector for TG558 display The TG558 printer is equipped for power supply of Coin and loudspeaker and additional signals with a 10 pin screw terminal connector J1 The signals on the connector pins are as follows Model no type Header 90 connector for FFC FPC pitch 2 54mm Housing 10 pin flat cable pitch 2 54 mm CUSTOM 1 1 TG558 1 INSTALLATION AND OPERATION PIN SIGNAL DESCRIPTION Tab 1 2 Fig 1 2 1 GND POWER G 2 GND POWER 3 12 V POWER 4 AUXILIARY OUTPUT OPEN COLLECTOR 5 12 V POWER 6 COIN IN 1 COIN INPUT 7 AUT LOUDSPEAKER OUTPUT 8 COIN IN 2 COIN INPUT 9 ALT2 LOUDSPEAKER OUTPUT 10 INIBIT ENABLE COIN OUTPUT 1 2 SETUP The printer enables the configuration of the printer default parameters see fig 1 3 The parameters affected during configuration are PRINT MODE i Columns 24 columns 40 colums e 42 colums Print Direction Normal or Reverse Print mode Little Double width 2 x Width Double height 2 x Height Expanded Automatic Feed CR disabled or CR enabled e Auto Feed Enable Disable e Red intensity 0 1 2 3 A 5P 6 7 R SERIAL MODE e Baud Rate 38400 19200 9600 4800 2400 1200 600 e Protocol 8 N 1 8 bit parity none 1 Stop bit 8 bit parity even 1 Stop bit 8 bit parity odd 1 Stop bit 7 bit parity none 2 Stop bit 7 bit
50. n lt 49 Sets and resets red printing mode n Function 0 48 Reset red printing mode 1 49 Set red printing mode e The printer prints only entire lines in red not individual characters e The printer prints red only if enabled see Setup n 0 Transmits the next character in serial ASCII ESC S Hex 1B 73 Decimal 27 115 Transmits the next character it receives on the serial port If you transmit 1B 73 41 the last character A 41 will not be printed but immediately transmitted on the serial line 3 19 TG558 1B 78 Name Format Description Notes Default Reference Example 1B 7B n Name Format Range Description Notes Default Reference Example 1B SEO Name Format Description Notes 3 PRINTER FUNCTIONS Prints in black ASCII ESC X Hex 1B 78 Decimal 27 120 After receiving this command the printer prepare itself to print in black n 0 Turn upside down printing mode on off ASCII ESC n Hex 1B 7B n Decimal 27 123 n 0 lt n lt 255 Turns upside down printing mode on or off e When the LSB of nis 0 the upside down printing mode is off e When the LSB of nis 1 the upside down printing mode is on e Only the LSB of nis effective e This command is valid only if entered at the beginning of a line e In upside down printing mode the printer rotates the line to be printed 180 and then prints it n 0 Upside down printing Off A
51. not cancel the print buffer e The commands which modify the direction of the characters are only active at the beginning of the line Setting the Print mode parameter in the printer set up 00 02 03 04 1D 21 1B 4D Double height printing ASCII STX Hex 02 Decimal 2 The printer prints in double height format e The commands 00 04 do not cancel the print buffer The commands which modify the direction of the characters are only active at the beginning of the line Setting the Print mode parameter in the printer set up 00 01 03 04 1D 21 1B 4D Expanded printing ASCII ETX Hex 03 Decimal 3 The printer prints in expanded character mode e commands 00 09 do not cancel the print buffer e the commands which modify the dimensions of the characters are only active at the beginning of the line Setting the Print mode parameter in the printer set up 00 01 02 04 1D 21 1B 4D 3 3 TG558 3 PRINTER FUNCTIONS 04 Name Restore small character printing Format ASCII EOT Hex 04 Decimal 4 Description The printer resumes printing with small characters Notes e The commands 00 09 do not cancel the print buffer e the commands which modify the dimensions of the characters are only active at the beginning of the line Default Setting the Print mode parameter in the printer set up Reference 00 01 02 03 1D 21 1B 4D Example 07 Name Cancel print
52. re inserting the paper ensure that it isn t cut evenly 1 4 2 Notes for installation and using the printer The printer in horizontal position must be installed with angularity tolerance of 10 TG558 1 4 CUSTOM 2 INTERFACES 2 1 INTERFACES OF TG558 S AND TG558 T MODELS Fig 2 1 2 1 1 RS232 TTL Serial The printer with RS232 TTL serial interface is connected by means of a RJ45 connector J4 see fig 2 1 In the following table the signals present on the connector are listed Tab 2 1 PIN SIGNAL DESCRIPTION 1 VCC 5V 2 GND GROUND 3 TXD DATA TRANSMISSION 4 RXD DATA RECEPTION 5 RTS READY TO SEND 6 VIN 12V 7 NC NOT CONNECTED 8 NC NOT CONNECTED CUSTOM 2 1 TG558 2 INTERFACES In the serial protocol the signals which characterize communication are TD RD and RTS if the RTS CTS protocol has been selected alternatively if the XON OFF protocol has been selected the signals are TD and RD Transmission format Fig 2 2 NEXT START Bito BIT1 BIT2 BITS BIT4 BITS BIT6 BiT 7 PARITY STOP START BIT BIT BIT NOTES 0 Bit 7 is present only if in the set up was enabled 8 bit character Data length Hl Parity Bit is present only if in the set up the parity was enabled RTS CTS Protocol Fig 2 3 STOP STOP STOP l RD DATA DATA DATA WAIT Oe ew a ae E BEE START START ST
Download Pdf Manuals
Related Search
Related Contents
EurotestAT MI 3101 Benutzerhandbuch 平成26電気工作物保安規定 取扱説明書 - iiyama descargar el manual del usuario T'nB SLR153 Hunter 34355 Humidifier - C:\Documents and Settings\p0097557\My Documents\Personal\Hunter Humidifier\33255-Owners タイプ 4 セーフティ・ライトカーテン JANUS 取扱説明書 ¡felicitaciones! contenido precauciones advertencias Pyle PT270AIU AV receiver LE PURGATOIRE JE MANGE… MOI NON PLUS! IvAN TIRTIAUX Copyright © All rights reserved.
Failed to retrieve file