Home
User manual TG558
Contents
1. Fig 4 3 100 E 83 5 2 p L ERI 1 1 2 1 T Y amp 19 I 439 p Te AT 50 68 92 5 PANEL HOLE SCALE 1 5 i 83 i 42 P 4 RE a E PR 1 1 e WI POS Sl H 1 i i LO i zu S 0 S Jm re j 1 1 1 69 86 TG558 4 4 CUSTZM 4 TECHNICAL SPECIFICATIONS The figures 4 4 and 4 5 show the dimensions of TG558 front panel 100 ru Front Panel 83 E TG558 35 mm 8 4 6 N B us 1 REA g 1 A y NO in Y Fig 4 4 lo _ 39 M a 47 100 Front Panel 83 TG558 58 mm ra 8 4 6 H e e an N D Y y i y Fig 4 5 im 52 sd CUSTLM 4 5 TG558 5 CHARACTER SET 5 1 CHARACTER SETS The printer has
2. 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 Hex 1B 69 Decimal 27 105 Description After this command is received Font B is selected and the printer is ready to use this configuration The number of columns by rows 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 The value of the second configuration register is transmitted through the serial port is in ASCII format and has two characters which 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 eD Decimal 27 109 Description Transmits the printing mode configuration through serial port Notes 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 72n Name Format
3. Range Description Notes Default Reference Example 1B 73 Name Format Description Notes Default Reference Example CUST UM 3 19 3 PRINTER FUNCTIONS The response is in 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 the option register byte through serial port f the printer using a parallel protocol it doesn t transmits anything 1B 47 1B 4B 1B 6B The response is in 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 Hex 1B 72 n Decimal 27 114 n 0 lt lt 1 48 lt lt 49 Sets and resets red printing mode n Function 0 48 Reset red printing mode 1 49 Set red printing mode The printer prints only entire lines in red not individual characters 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 from 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 TG558 3 PRINTER FUNCTIONS 1B 76 Name Transmit paper sensor status Format ASCII ESC V Hex 1B 76 Decimal 27 118 Des
4. 7 RESERVED TG558 3 6 3 PRINTER FUNCTIONS n 4 Paper roll sensor status Bit Hex Decimal Function Off On 0 RESERVED 1 RESERVED 2 RESERVED 3 RESERVED 4 RESERVED 5 6 RESERVED 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 0C 12 The paper end is detected by the sensor 4 RESERVED 5 Off 00 0 Near Paper end sensor 6 Paper present 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 7 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 horizont
5. 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 NUL COMMAND TABLE Description Prints in small characters Table 3 1 02 SOH Prints in double width Prints in double height 03 Expanded printing 04 Restores small character printing 08 Moving back of one character 0A Forward feeds one line 0B Forward feeds n line 0D 0F SI Prints line buffer Sets CRLF mode 10 04 n DLE EOT n Real time status transmission 11 12 DC1 DC2 Graphic mode Prints time and date TG558 D RTCK opt 13 DC3 Sets time and date TG558 D RTCK opt 14 DC4 Transmits time and date in serial TG558 D RTCK opt 18 CAN Cancel print data 1B 23 n ESC n Transmit printer ID 1B 28 nL nH ESC v nL nH Set relative vertical print position 1B 2D n 1B 30 ESC n ESC 0 Turn underline mode on off 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 1
6. 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 FEED 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 Lift the paper outlet cover 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 with b letter To clean do not use harsh chemical solvents the use of a Soft alcohol oistened cloth is recommended 1 INSTALLATION AND OPERATION To change the paper roll in the printer proceed as follows see the fig 1 5
7. Expanded Automatic Feed CR disabled or CR enabled Auto Feed Enable Disable Red intensity 0 1 2 3 A 59 6 7 SERIAL MODE Baud Rate 38400 19200 9600 4800 2400 1200 600 e Protocol 8 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 parity even 1 Stop bit 7 bit parity odd 1 Stop bit Flow control CTS RTS XON XOFF T REAL TIME CLOCK 9 Printing seconds setting Enables seconds disables seconds DST setting Enable DST Disable DST Notes The parameters indicates with a 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 9 NOTE This setting is available only with RTCK printer version Real Time Clock and display version TG558 1 2 CUSTOM 1 INSTALLATION AND OPERATION gt 9 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 78 1 FLOW CONTROL XOFF DISABLE SECONDS ENABLEDST
8. 38 SI DO 6 39 DO 6 Ottava DO D 6 3A DO RE 6 29 RE RE D 6 3B RE MI 6 3C MI FA 6 3D FA FAD 6 0E FA SOL 6 3E SOL SOL D 6 2C SOL LA 6 3F LA LA D 6 04 LA SI 6 05 SI DO 7 25 DO 7 Ottava DO D 7 2F DO RE 7 06 RE RE D 7 07 RE Notes Q TheNO 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 Every melody must start with the SOUND ON note This command is present only in the printer version with display TG558 D Default Reference Example CUST SM 3 31 TG558 3 PRINTER FUNCTIONS Blank page TG558 3 32 CUSTOM 4 TECHNICAL SPECIFICATIONS 4 1 TECHNICAL SPECIFICATIONS Table 4 1 gives the main technical specifications for the 204 dpi printer model Tab 4 1 i 203 DPI 8 dot mm Paper specifications Heat sensitive side on outside of roll External roll diameter max 80 mm with external roll holder support Cardboard or plastic Head temperature paper end anti paper jam Optional external near paper end ticket presence on output Height Width from 1 to 2 bold reverse underlined Printing Driver Windows 95 98 ME NT4 2K XP Power supply 12 Vdc 10 Current Consumption JBE o 3iz 2 5 5 5 0 z a lt k Medium consumption Stand by
9. ESC and ESC will be justified according to the previously entered mode 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 0 Management of bar code printing ASCII ESC C code height position options length data Hex 1B 63 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 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 through a byte Listed in the following table are all the possible value of a single bit inside of byte NUN Check digit is not printed Check digit Check digit is printed ewm s em 5 em 1 maximum length Specify the characters number to print through a byte following are the maximum lengths allowed Interleaved 2 5 12 characters Code 39 10 characters CodaBar 10 characters EAN8 8 characters EAN13 13 characters TG558 3 16 CUSTOM Notes
10. Inspection cover for paper outlet TABLE OF CONTENTS INTRODUCTION MANUAL ORGANIZATION m 1 SYMBOLS USED IN THEMAPDIUNL tiroir ee las aita 1 GENERAL SAFETY INFORMATION 1 UNPACKING THE PRINTER iini intro trado 1 MAIN c RE 2 PRINTERDESCRIP HON cR 2 1 INSTALLATION AND OPERATION 1 1 CONNECTIONS erreren a 1 1 1 351 Power supply 1 1 1 1 2 Input Output connector for TG558 display version 1 1 V2 SETUR P 1 2 1 2 1 Configuration of REPORT and FEED keys sse 1 3 AVTOTES cr 1 3 UE gi ldem 1 3 1 5 1 Changing the paper roll beue Sea pboai dora 1 3 1 5 2 Notes for installation and using ee Rena Scena ub 1 4 2 INTERFACES 2 1 INTERFACES OF TG558 S AND 558 MODELS ua dau eR Fea 2 1 1 5 2 52325 T Pl ewe 2 1 3 PRINTER FUNCTIONS 3 1 COMMAND DESCRIP ONS nennen nennen enne nen nennen nennen nnne nnn 3 1 4 TECHNICA
11. except HRI characters If nfalls outside the defined range this command is ignored 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 0 lt lt 47 for 58mm model Description Notes Default Reference Example 0 lt lt 34 for 35mm model 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 Settings outside the specified printable area are ignored 1D 44 s1 s2 s3 s4 Name Format Range Description Notes Default Reference Example CUST SM 3 23 Visualization on display a string of 4 characters ASCII GS D 51 s2 s3 s4 Hex 1D 44 51 52 53 54 Decimal 29 68 51 S2 S3 54 48 51 52 53 54 lt 57 65 51 52 53 54 lt 90 Visualizes 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 TG558 3 PRINTER FUNCTIONS 1D 45 d1 d8 Name Display management in graphic mode Format ASCII GS E d1 d8 Hex 1D 45 di de Decimal 29 69 di d8 Range 0 lt d1 lt 255 0 lt d8 lt 255 Description It s pos
12. 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 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 uu E i Fig A 7 jpm Z 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
13. 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 NA OK NOT x MS b WARNING Fig 1 6 Before inserting the paper ensure that it isn t cut evenly 1 4 2 Notes for installation and using the printer in the upside down position To install the printer in the upside down position proceed as follows 1 Release the spring as indicated in fig 1 7 and placed it in the new position as indicated in fig 1 8 TG558 1 4 CUSTOM 1 INSTALLATION AND OPERATION Fig 1 7 Fig 1 8 2 The printer is ready to be installed in the upside down position Fig 1 9 gt 9 NOTE The operations described are valid for all models CUSTOM 1 5 TG558 1 INSTALLATION AND OPERATION Blank page TG558 1 6 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 S
14. 2 fonts each width 224 characters font 1 and font 2 Shown below in figure 5 1 is an example 24 COLUMNS font 16 x24 123456789RBCDEF 0 0 1 1R aquzi 2 2 T 3 3 5 lt Hers 4 4DTdta3 on4 z 3 Z5EUeusbN4 T 6 amp 6FUfv se4 Glgucug 8 BHA amp hx8j3 4 5 9 9TVYiyeb 4e 8 R JZjzeu 4 a5 B KLk it a Mold C lt 1 7 92 Jn D h1ms18i424 E N naRR 4 tt flc F 0_o aAf gt Nt 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 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 1 TG558 APPENDIX A ACCESSORIES AND
15. 55 i 8 TG558 4 2 cusT M 4 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 i al 78 3 54 96 61 39 5 N p i i Zi HEHHHHEHHMHLEEHX e lo Dr i i Udo ce e r N g 5 F COM e 4 hon r7 Er ROC Q Y Y PRINT FEED Y Y Y 9 A 1 Ee ef T Bo s OI Y lt L Y U Y CUSTLM 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. 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 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 nL nH 1 28 76 nL nH Decimal 27 10 118 nL nH 3 9 TG558 Range Description Notes Default Reference Example 1B 30 Name Format Description Notes Default Reference Example 1B 32 Name Format Description Notes Default Reference Example 1B 33 n Name Format Range Description Notes 3 PRINTER FUNCTIONS lt lt 255 0 lt 255 Sets the print vertical position based on the current position by using the horizontal or vertical motion unit This command sets the distance from the current position to nL nH x 256 x horizontal or vertical motion unit When the starting position is specified by N motion unit to the bottom nL nH x 256 N When the starting position is specified by N motion unit to the top negative direction use the complement of 65536 nH x 256265536 N In standard mode the vertical motion unit is used Select 1 8 inch line spacing ASCII ESC 0 Hex 1B 30 Dec
17. 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 AN Information indicated by this symbol must be 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 printe
18. Default Reference Example ESCdn Name Format Range Description Notes Default Reference Example 1B 68 Name Format Description CUST SM 3 17 3 PRINTER FUNCTIONS data Expressed in ASCII In the following example the command sequence to print a barcode is indicated 1B N 1B 50 3C 14 06 TG558 TG558 AMARE DU HT where 1B N sets the printing in normal mode 1B barcode printing command C 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 Print and feed paper n rows ASCII ESC d Hex 1B 64 n Decimal 27 100 n lt lt 255 Prints the data in the print buffer and feeds the paper n rows Sets the print starting position at the beginning of the line This command does not affect the line spacing set by 1B 32 or 1B 33 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 this command is received Font B is selected and the printer is ready to use this configuration The number of columns by rows is indicated as follows TG558 3 PRINTER FUNCTIONS
19. SPARE PARTS Paper roll holder Kit for 58mm version Fig A 2 Paper holder support 1 assembled at paper roll pin 2 Near 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 3 TG558 APPENDIX A ACCESSORIES AND SPARE PARTS Fig A 5 K Beveled part ATTENTION Verify that the paper roll pivot is positioned as indicated in this enlargement with beveled part k facing low othervwise
20. 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 Itis advisable to transmit the command 00 first in order to empty the print buffer 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 Description 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 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
21. clock Real Time Clock The TG558 is available with Fireproof plastic or metal front panel The TG558 display version is equipped with alphanumeric display for viewing scrolling messages is available integrated speaker output software tools that allows transfer MIDI format sound into the printer through serial port When the REPORT key is pressed it prints the printer operational report When the FEED key is pressed the paper can be fed forward manually e The green 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 kiosks internet public offices bookings bank transactions self service ticket dispensing public private transport automatic payments parking lots queue management systems instruments Gaming machines Vending machines e instant lotteries TG558 2 USTOM 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 series 5569 Vertic
22. 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 A B 0 0 0 00 0 2 0 2 o Fig A 8 UE X 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 P Fig A 10 ATTENTION Verify that the paper roll pivot is positioned as indicated in this e
23. interval between one frame and another the value is calculated in milliseconds Notes The frame structure is the same as specified in the command 1D 45 The d1 dk bytes that was sent to define the display effect are calculated as follows k2mx8 where mis the frame number After receiving this command a printer reset is executed This command is present only in the printer version with display TG558 D Default Reference 1D 45 Example 1D 57 n d1 dn Name Prints n byte of a 203 dpi graphic line Format ASCII GS W n di dn Hex 1D 57 n di dn Decimal 29 87 n di dn Range 1 lt n lt 48 for 58mm model 1 lt n lt 34 for 35mm model O lt d1 dn lt 255 Description Print n byte of a 203 dpi graphic line where n specifies the number of byte to print d1 dn specify the bytes to print Notes If 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 This command is not affected by the emphasized double strike underline etc print modes and the upside down mode Default Reference Example For printing 12 bytes the command sequence is 1D 57 0C FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 TG558 3 26 CUSTOM 1D 59 n Name Format Description Notes Default Refere
24. 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 The commands 00 09 do not cancel the print buffer 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 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 0A Decimal 10 Description Forward feeds one line equivalentto a line of print Notes This command brings about the printing of the contents of the line buffer Default Reference 1B
25. 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 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 This command clears the line buffer 0A To forward feed fast 5 lines at a time 35 0B or 5 and the command 0B Print and carriage return ASCII CR Hex Decimal 13 When autofeed is enabled this command functions in the same way as 0A otherwise it is disregarded Sets the print position to the beginning of the line See Autofeed in setup parameter 0A Set CRLF mode ASCII SI Hex Decimal 15 Inhibits the command 0D maintaining enabled only the command 0A for printing To disable this option reset the printer This command clears the line buffer 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 lt 6 Transmits the selected printer status specified by nin
26. B 41 ESC A 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 ESCN Sets normal mode printing 1B 51 ESC Q Enables underlining 1B 52 ESC R Sets reverse mode printing 1B 54 1B 55 ESC T Enters time in print buffer Enters date mm dd yy in print buffer TG558 D RTCK opt 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 ESCdn Print and feed paper n lines 1B 68 1B 69 ESCh Selects Font B Selects Font B 1B 6D Transmits print mode in serial 1B 71 Disables underlining 1B 72 n Set reset red printing mode 1B 73 ESC s Transmits next character in serial 1B 76 ESC v Transmit printer status 1B 78 ESC xn Select speed current mode 1B 7B n ESC n upside down character 1B ESC Transmission of printer real time clock TG558 D RTCK opt 1B F1 ESC Setting of pri
27. CII GS n Hex 1D 49 n Decimal 29 73 n Range 1 3 49 51 Description Transmits the printer ID specified by nfollows 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 w label 3 RESERVED 4 RESERVED 5 RESERVED 6 RESERVED 7 RESERVED Notes 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 CUSTOM 3 25 TG558 3 PRINTER FUNCTIONS 1D 4C nmt d1 dk Name Receive display effect from serial port Format ASCII GS L n m t di dk Hex 1D 4C n m t 91 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 The n parameter indicates the effect display number to apply see 1D 46 command The m parameter indicates the frame number If the m value exceeds the maximum value allowed then was automatically limited to 63 The t parameter indicates the display
28. END 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 ifthe 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 BIT3 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 2 Parity Bit is present only if in the set up the parity was enabled RTS CTS Protocol Fig 2 3 STOP STOP STOP RD DATA DATA DATA WAIT Oe ew a ae START START START XON XOFF Protocol Fig 2 4 STOP STOP j B DATA WAIT DATA LLLI 1 START BIT START BIT l STOP STOP po 11XON _ OSes 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 areadditionals optional parameters that can have different values The command table lists all the commands for the management of the printer functions
29. L DATA 4T TEGHNIGALEDATA 2 5 110 ere EEREEERE REQUIRE GERE 4 1 42 DIMENSIONS EAE E UN RR 4 2 4 2 1 Model with plastic front 4 2 4 2 2 Model with metallic front 4 3 4 2 3 irem 4 4 5 CHARACTERS SET S CHARACTERS SET ei ea NR KR UR ERR KARMA 5 1 APPENDIX A ACCESSORIES AND SPARE PARTS wee zccelimcc En A 1 A 1 1 Power supply ee A 1 A 1 2 Adjustable paper roll A 1 ME nis cuc RP mt A 3 Using the Control EO 7 Dimensions with paper roll holder support A 8 A 2 SPARE PARTS ry RA XR RN RR RN e XR ER EX RE XY KR ERE RR RE P A 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
30. __ Ticket Printer TG558 series 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 14 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 16558 Exterior view with plastic front panel TG558 x35P 9 TG558 x58P TG558 x35P 0001 2 TG558 x58P 0001 2 1 Printing mechanism 2 PRINT key 3 FEED key 4 Case 5 Front panel 6 Led 7 Paper output The x suffix indicates the following models TG558 S35P 35mm version with RS232 serial interface TG558 S58P 58mm version with RS232 ser
31. al for the power supply J6 The signals on the pins of the feed connector are as follows Model no type Header 90 Molex series 5569 no 39 30 1020 Housing Molex series 5557 no 39 01 3022 Tab 1 1 PIN SIGNAL DESCRIPTION 1 12V POWER 2 GND SIGNAL GROUND N WARNING Be sure to observe the correct polarity for the power supply 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 2 2 GND POWER 3 42V POWER 4 AUXILIARY OUTPUT OPEN COLLECTOR 5 42V POWER 6 COIN IN 1 COIN INPUT 7 ALT1 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 Columns 24 columns 40 colums 42 colums Print Direction Normal or Reverse Print mode Little Double width 2 Width Double height 2 x Height
32. al 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 P2 P1 07 06 D5 D4 D2 ODO 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 Pb P4 P3 P2 P1 as shown 1st byte 3 2nd byte 3 3rd byte 3 P6 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 P1 Default Reference Example To print a line of dots transmit 11 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 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
33. cluded between 0 and 9 n After receiving this command the printer send a byte to host in the following format 1 byte ACK 06 ifthe setting value is included in the interval NAK 15 ifthe setting value is not included in the interval 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 7 7 Resets the progressive ticket counter Increases the progressive ticket counter D Decreases the progressive ticket counter R Reads the progressive ticket counter The counter value is stored into RAM so when the printer resets or shut down the counter is reset Notes Default Reference Example 9 1D 64 30 10 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 31 n d1 dk Decimal 29 100 1 n d1 dk Range 0 lt n lt 63 0 lt d1 lt 255 0 lt 255 Description This command disables scrolling text This command visualizes on display a string that was sent through serial port as scrolling text Notes Q The nparameter indicates the length of a string The maximum number length s 63 characters it will be If the s
34. consumption 0 1A ight 490 gr v 2 o Q 2 gt Environmental conditions Operating temperature 0 C 45 Relative humidity 10 7096 w o condensation Storage temperature Humidity 20 70 10 90 gt Notes Referred without paper roll and model with plastic front panel CUSTLM 4 1 TG558 4 TECHNICAL SPECIFICATIONS Adjustable roll holder support with sensor 24 mod 58mm 40 mod 58mm 17 mod 35mm 28 mod 35mm 16 x24 8x24 Lines sec 16 25 16 25 Characters W x H Printing speed 2x3 1x3 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 100 Fig 4 1 5 2 28 46 HILL y i 1 J lo g E o Ww 6 8 92 5 PANEL HOLE SCALE 415 i 83 ma i 42 al i A i i a as if lo E si eo l0 Lo i Lo 8 9 ea i qlufgEm je 9 Do aia 1 _ O
35. cription Trasmit the current paper sensor status upon receiving this command Notes This commandi is executes immediately even when the reception buffer is full BUSY The status to be trasmitted is shown in the table bellow Bit Off On Hex Decimal Function 0 3 off 00 00 Paper present 0 3 on 15 5 off 00 00 Cover close no paper jam 5 on 20 32 Cover oper Paper jam 6 7 RESERVED Default Reference 10 04 Example 1B 78 Name Prints in black Format ASCII ESC X Hex 1B 78 Decimal 27 120 Description After receiving this command the printer prepares itself to print in black Notes Default 0 Reference Example 1B 7B n Name Turn upside down printing mode on off Format ASCII ESC n Hex 1B 7B n Decimal 27 123 n Range 0 255 Description Turns upside down printing mode on or off When the LSB of nis 0 the upside down printing mode is off When the LSB of nis 1 the upside down printing mode is on Notes Only the LSB of nis effective This command is valid only if entered at the beginning of a line In upside down printing mode the printer rotates the line to be printed 180 then prints it Default 0 Reference TG558 3 20 CUSTSZM 3 PRINTER FUNCTIONS Example 1B Name Format Description Notes Default Reference Example 1B F1 nO n9 Name Format Description Notes Upside down pr
36. he line The paper feed amount set by this command does not affect the values set by 1B 32 or 1B 33 In standard mode the vertical motion unit is used 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 d 1B 4D Decimal dH d 27 77 Description Sets the print mode default parameters 00 small characters 01 double width printing 02 double height printing 03 expanded printing Notes The setting is stored in EEPROM TG558 3 12 CUSTOM Default Reference Example 1B 4E Name Format Description Notes Default Reference 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 CUSTOM 3 13 3 PRINTER FUNCTIONS Setting by means of the front keys 1B 560 For double 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 i
37. ial interface TG558 T35P 35mm version with TTL serial interface TG558 T58P 58mm version with TTL serial interface The 0001 suffix indicate the real time clock option B TG558 Exterior view with metallic front panel TG558 x35M 0 TG558 x58M TG558 x35M 0001 2 TG558 x58M 0001 1 Printing mechanism 2 PRINT key 3 FEED key 4 Case 5 Front panel 6 Led 7 Paper output 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 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 cover for paper outlet E TG558 Rear view with metallic front panel 1 Power supply connector 2 RS232 TTL serial interface connector 3 Paper input 4 Inspection cover for paper outlet F TG558 Rear view with Display 1 Power supply connector 2 TTL serial interface connector 3 Power supply connector and additional signals 4 Paper input 5
38. imal 27 48 Selects 1 8 inch line spacing 1B 32 1B 33 Set line spacing at 1 6 inch ASCII ESC 2 Hex 1B 32 Decimal 27 50 Selects 1 6 inch line spacing 1B 30 1B 33 Set line spacing ASCII ESC 3 Hex 1B 33 n Decimal 27 51 0 255 Sets the line spacing at x vertical or horizontal motion unit inches Changing the horizontal or vertical motion unit does not affect the current line spacing 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 41 nH nL Name Format Description Notes Default Reference Example 1B 44 Name Format Description Notes Default Reference Example CUSTOM 3 11 3 PRINTER FUNCTIONS In standard mode the vertical motion unit is used The maximum line spacing is n 255 x 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 The data in the receiver buffer is not cleared 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 e 1 mm is equivalent t
39. inting Off Upside down printing On ABCDEFG 545q009V 0123456 0 Printing direction Transmits the real time clock ASCII ESC Hex 1B FO Decimal 27 240 Use this command to read the printer s calendar clock real time clock Transmit the time and date in 12 ASCII characters format HHmmSSDDMMYY where HH gt hour mm gt minutes SS gt seconds DD gt day gt month YY gt year This command is present only in the printer version with display TG558 D and RTCK option Sets the real time clock ASCII ESC n9 Hex 1B F1 n9 Decimal 27 241 no n9 Use this command to set the printer calendar clock real time clock Transmit the time and date in 10 ASCII characters format HHmmDDMMYY where HH gt hour mm gt minutes DD gt day gt month YY year This command is present only in the printer version with display TG558 D and RTCK option CUSTOM 3 21 TG558 Default Reference Example 3 PRINTER FUNCTIONS 1B FA n xH xL yH yL Name Format Range Description Notes Default Reference Example 1D 21n Name Format Range Description Print logo ASCII ESC n XH xL yL Hex 1B FA n xL yL Decimal 27 250 n xL 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 256 s
40. n REVERSE ASCII ESC R Hex 1B 52 Decimal 27 82 Set printing in REVERSE mode the ticket comes out from the printer with the strings straight and orientated from 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 The time is printed in 5 characters if the seconds option is enabled in 8 characters if TG558 Default Reference Example 1B 55 Name Format Description Notes Default Reference Example 1B 57 Name 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 It does not zero set the line buffer 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 installed inside the printer in the American style format mm dd yy The date is printed in 8 characters if there is not enough space in the buffer i
41. nce Example 1D 5An Name Format Description Notes Default Reference Example 10 62 mn Name Format Range Description CUST TUM 3 27 3 PRINTER FUNCTIONS 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 nz 0 default value height is set to two When n 0 default value each dotline is twice replicated nz 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 is lt 48for 58mm model n lt 34for 35mm model Management of barcode printing Q9 ASCIIGS b m n Hex 1D 62 m n Decimal 29 124 m n mza p P 1 lt n lt 3 49 lt n lt 51 m T 48 lt n lt 56 ms c C n z Z i T d D This command prints a EAN13 barcode already formatted n specifies the formattation type as follows n Barcode format DDMMYYHHMMSS DDMMYnHHmmSS DDMMYHHmmnnn where DD gt day MM gt month mm gt minutes SS gt seconds nnn gt progressive ticket number This command sets the terminal number that will be printed in the barcode if it was TG558 YY gt year HH gt hour n gt terminal number 0 9 3 PRINTER FUNCTIONS selected the DDMMYnHHmmsSS format The terminal number value must be in
42. nlargement with beveled part k facing low othervwise unloosing s M E eee the fixing screw of paper roll pivot and so positioning itself in this mode 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 100 83 Q lt RE QS 52 PN 46 zl em 1 y 1 1 MEME amp N N T JJ i y ire amp 0 N i PANELHOLE SCALE 15 83 ia 1242 WO 10 e g R O O 5 Y 69 3 86 TG558 A 8 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS Fig A 13 Model with metallic fr
43. nter real time clock TG558 D RTCK opt rri n xL xH vit n xL xH Print logo 1D 24 n GS n Set absolute shift into a graphic line 1D 44 s1 s2 GS D 51 s2 s3 Visualization on display of a string Only for TG558 D s3 s4 s4 characters 1D 45 d1 d8 GS E d1 d8 Display management in graphic mode Only for TG558 D 1D 46 n GS Setting graphic display effects Only for TG558 D 1D 49 n GS In Transmit printer ID 10 4C nmt GSLnmt Receive graphic display effect from d1 dk serial P por Only 18538 0 1D 57 nL nH GS W nL nH Set printing area width 1D 59 n GSYn Sets height in printing 1D 5An GSZn Receive n bytes from serial port 1D 62 n GSbn Prints formatted barcode 1D 64 n GSdn Enable Disable scrolling text Only for TG558 D 1D 6F n GSon Management of output lines Only for TG558 D 1D 72n GSrn Transmit status 1D EB GS 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 TG558 D printer version with display RTCK opt printer version with real time clock option The following pages provide a more detailed description of each command 00 Name Format Description Small character printing NUL 00 ASCII Hex Decimal 0 The printer prints in small characters normal TG558 3 2 Notes Defaul
44. o 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 The date is printed in 8 characters if there is not enough space in the buffer it will not be printed t does not zero set the line buffer 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 TG558 3 PRINTER FUNCTIONS transmit DATE 1B 44 TEST TEST 0D to print just the date 1B 44 0D 1B 49 Name Selects Font A Format ASCII ESC 1 49 Decimal 27 73 Description After this command is received Font Ais selected and the printer is ready to use this configuration The number of columns by row is indicated as follows TG558 Font A 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 After printing is over this command sets the print starting position at the beginning of t
45. ommand is executed when the data is processed in the data buffer Therefore there may be atime lag between receiving the command and transmitting the status depending on data buffer status Default Reference 10 04 1B 76 Example 1D EB Name Receive save execute melody Format ASCII GS N k Hex 1D EB 4E k Decimal 29 235 78 k Q ASCII GS k mh ml niti nmtm Hex 1D EB 77 k mh ml niti nmtm Decimal 29 235 119 k mh ml niti nmtm Range 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 Description This command is used for receiving and saving a melody The k parameter selects the melody to execute command save a melody into flash e k parameter selects the melody to receive mh and mL are the number of notes to receive mH x 256 mL nindicates the note to play see Note Table tindicates the duration of playing note the exactly duration of any note will be expressed in multiples of 5 ms In the following table are listed the usable notes and theirs hexedecimal value to send for playing note TG558 3 30 CUSTOM 3 PRINTER FUNCTIONS NOTES TABLE Note Value Hex Description NO SOUND 21 SOUND ON 20 RE D5 30 RE 5 Ottava MI 5 31 MI FA 5 32 FA 5 33 FA SOL 5 34 SOL SOL D 5 35 SOL LA 5 36 LA LA D 5 37 LA 515
46. ont panel 3 54 96 i 9305 x N N o H COM E Y PRINT FEED Y d 9 E D roy M Sx 80 81 ht A eas ap F 1 A ea e 5 Em e S 40 2 1 I VH 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 9 Tab A 5
47. pecifies the starting dotline 1 Nrow where Nrow 341 for 58mm model 512 for 35mm model x 256 specifies the number of lines to print If xL xH x 256 gt Nrowthe printer does not execute the command where 341 for 58mm model Nrow 512 for 35mm model elf xL xHx256 yL x 256 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 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 lt 255 Selects character height and width as follows Bits to low Nibble to select character height see table 2 Bits 4 to 7 High Nibble to select character width see table 1 Obit 1bit 2bit Sbit 4bit 5bit 6bit 7bit height width TG558 3 22 CUSTOM 3 PRINTER FUNCTIONS Table 1 Select Character Width high Nibble Table 2 Select character height Low Nibble Hex Width Hex Height Ox 1 normal width 1x x0 1 normal height 1x 1x 2 width 2x x1 2 height 2x 2x 3 width 2 3x x2 3 height 2 3x 3x Fx 1 normal width 1x X3 xF 1 normal height 1x Notes This command is effective for all characters
48. r 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 materials 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 M di 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 Itis equipped with a 203 dpi thermal print mechanism it has TTL and RS232 serial and it s also available with a calendar
49. 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 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 Hex Decimal Function Off On 0 RESERVED 1 RESERVED 2 RESERVED 3 Off 00 0 On line On 08 8 Off line 4 RESERVED 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 3 Error status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 RESERVED 3 RESERVED 4 5 6 RESERVED RESERVED Off 00 0 No auto recoverable error On 40 64 Auto recoverable error
50. sible to customize the display visualization mode Send 8 bytes d1 d8 that identify the 4 digit present on display in the following mode MW IN NY AN AN UN 1 digit 2 digit 3 digit 4 digit d1 d2 d3 d4 d5 d6 d7 d8 Notes In the followimg 565 represented the display digits Am 3 S NT lt d Y Each pair of bytes identify a digit and must be as follows 7 dn 0 7 dn 1 0 N U DP k 3 3 i h g f e d c b a 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 TG558 3 24 CUSTOM 3 PRINTER FUNCTIONS 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 four effects already stored into the printer that can be reloaded in base of the n value Notes This command is present only in the printer version with display TG558 D Default Reference Example 1D 49 n Name Transmit printer ID Format AS
51. t 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 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 01 02 03 04 1D 21 1B 4D Double width printing ASCII SOH Hex 01 Decimal 1 The printer prints in double width format 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 02 03 04 1D 21 1B 4D Double height printing ASCII STX Hex 02 Decimal 2 The printer prints in double height format 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 commands 00 09 do not cancel the print buffer e the commands which
52. t will not be printed t does not zero set the line buffer 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 1 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 558 3 14 CUSTOM Description Notes Default Reference Example ESCan Name Format Range Description Notes Default Reference Example dd 1B 61 Name Format Description Notes Default Reference Example 1B 63 Name Format CUST SM 3 15 3 PRINTER FUNCTIONS Hex 1B 58 Decimal 27 88 After receiving this command the printer prepares 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 This command is only enabled when inserted at the beginning of a line Lines are justified within the specified printing area Spaces set by HT
53. tring containes a NULL character 00 the next characters recpetion are aborted This command is present only in the printer version with display TG558 D Default Reference Example TG558 3 28 CUSTOM 3 PRINTER FUNCTIONS 1D 6F n Name Format Description Notes Default Reference Example 1D 72n Name Format Range Description Management of output lines ASCII GS n Hex 1D 6F n Decimal 27 111 n This command sets the output lines as follows bit7 bit6 bit5 bit4 bit2 bit1 bitO AUXOUT INIBIT Bit Off On Hex Decimal Function 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 This command is present only in the printer version with display TG558 D Transmit status ASCII GS n Hex 1D 72 n Decimal 29 114 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 RESERVED 2 3 Off 00 0 Paper end sensor Paper present On 0C 12 Paper end sensor Paper not present Not used Fixed to Off RESERVED RESERVED RESERVED TG558 3 PRINTER FUNCTIONS Notes This c
Download Pdf Manuals
Related Search
Related Contents
master - Wurth istruzioni per l`uso comando luci a onde radio et 2000 Copyright © All rights reserved.
Failed to retrieve file