Home
Manuale utente TG558
Contents
1. In figura 4 3 sono riportate le dimensioni della stampante con display versione 35mm Fig 4 3 100 ra 83 ra Be TO SEN vr 4 AER E A O Y A A 7 L L Lo y we N ei 2 gos a T Y Y a 39 D ei begli E gt 50 Sb 92 5 i PANEL HOLE SCALE 41 5 i i 83 E 4 2 A A i d wel o i 3 i N Lo ls i gun S o le E Es U st d i ls wg H i d Y Y i i b lt _ 86 3 Piano di foratura per fissaggjo stampante a pannello TG558 4 4 CUSTOM 4 SPECIFICHE TECNICHE Le figure 4 4 e 4 5 riportano le dimensioni del pannello frontale della TG558 100 al li Pannello frontale n 83 Di TG558 35 mm 8 4 6 will DI A a H YY A o lt A N EN Y Ne STA Y A Fig 4 4 39 9 cr N a 47 LI 100 a Pannello frontale 83 TG558 58 mm q 8 4 6 will DI E A o et G chy D AY Y BEE l i y Fig 4 5 D CUST M 4 5 TG558 5
2. 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 Hex Decimal Function Off On 0 RESERVED 1 RESERVED 2 E RESERVED 3 Off 00 0 On line On 08 8 Off line 4 RESERVED 5 F RESERVED 6 Off 00 0 Drag paper motor off On 40 64 Drag paper motor on 7 z 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 5 6 RESERVED RESERVED Off 00 0 No auto recoverable error On 40 64 Auto recoverable error 7 RESERVED TG558 3 6 3 PRINTER FUNC
3. Format Description CUSTPIM 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 c C 50 3C 14 06 TG558 TG958 MINI OR where 1B N sets the printing in normal mode 1B c 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 O 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 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 TG558 Font B 58mm model 42 columns 35mm model 28 columns Notes Default Reference 1B 49 1B 69 Example 1B
4. BITO BIT BIT NOTE 1 Bit 7 presente solo se nel set up stato abilitato 8 bit per carattere lunghezza dati 2 Bit di parit presente solo se nel set up stata abilitata la parit Protocollo i RTS CTS Fig 2 3 STOP STOP STOP I ED DATO DATO DATO ATTESA L ila Lo loco Lis I START START START I I I I I I I I RTS I I l Protocollo f XON XOFF Figa STOP STOP gt D l O I gt O I l gt m o O 1 DI o START BIT START BIT STOP STOP 0 te wo x 1 O mv a l X Il O 1 Z START BIT START BIT 2 INTERFACCE 1 1 4 Connessione stampante PC Il seguente schema mostra la connessione tra stampante e PC tramite un connettore lato stampante 8 poli RJ45 maschio e lato PC connettore a vaschetta 9 poli femmina C x N C Enit C SP GND Ja 56 RTS 6 OXN C a ee a 6 7 O_XKNC N C E 9 8 PXN C 0 8 LO AO 9 Lato stampante Lato PC CUSTOM 2 3 TG558 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 allthe 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 w
5. 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 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 ESC dn Print and feed paper n lines 1B 68 1B 69 ESC h 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 n ESC xn Select speed current mode 1B 7B n ESC n e upside down character 1B F0 ESC Transmission of printer real time clock TG558 D RTCK opt 1B F1 ESC Setting of printer real time clock TG558 D RTCK opt Sea n xL xH SET n xL xH Print logo 1D 24 n GS n Set abso
6. 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 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 Description Notes Default Reference Example 1B 28 76 nL nH Name Format 3 PRINTER FUNCTIONS 12 14 To setthe time 12 45 on 19 01 98 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
7. 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 O lt n lt 255 Sets the line spacing at n x vertical or horizontal motion unit inches 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 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 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 e 1 mm 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
8. 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 OF 15 Paper end 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 n 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 lt n lt 255 Description 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 Notes e Only the LSB of nis effective e 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 and then prints it Default n 0 Reference TG558 3 20 CUSTIM 3 PRINTER FUNCTIONS Example 1B F0 Name Format Description Notes Default Reference Example 1B F1 n0 n9 Name Format Description Notes Upside down printing Off Upside down printing On ABCDEFG 54309 0123456 OGHEZ LO Printing direction Transmits the real time clock ASCII ESC Hex 1B FO Decimal 27 240 Use this
9. SERIE DI CARATTERI 5 1 SET DI CARATTERI La stampante dispone di due set di 224 caratteri ciascuno font 1 e font 2 Nella seguente figura viene riportato un esempio 24 COLUMNS font 16 x24 123456789ABCDEF 9 B POpCE ad Hlg 1 1AQaquzi FB 2 2BRbr f rf 3 3CScs30U msg 4 4DTdta0hfj EZ 5 25EUeuabN4 rfo 6 REF VF vated Fru GUigwgu9n Hrs 8 BHXhxBi a 3 9 9IViyeb 4p8 H JZljzeli ltros B i KEKO thari C lt LALETE di bes N D well DAME EE E gt N NR AR 44k BE F 0_o Af gt Nt Fig 5 1 CUSTOM 5 1 TG558 APPENDICE A ACCESSORI E RICAMBI A 1 ACCESSORI A 1 1 Alimentatore La figura seguente mostra l alimentatore 12V di produzione CUSTOM ENGINEERING SPA utlizzabile per il funzionamento della stampante TG558 Fig A 1 pd OV 12V Tab A 1 Specifiche di ingresso Specifiche di uscita Tensione di ingresso 100 Vac to 240 Vac Tensione di uscita 12V Frequenza di ingresso 50 Hz to 60 Hz Corrente di uscita Maximum 4A Peak 6A Short Circuit 6A A 1 2 Kit staffa portarotolo orientabile La stampante dispone di un kit staffa porta rotolo orientabile vedi fig A 2 e A 3 per consentire l utilizzo di rotoli carta con diametro maggiore max 80mm Tab A 2 ab A PCXSP TG558 35 Kit staffa porto rotolo per vers 35mm con sensore QFC PCXSP TG558 58 Kit staffa porto rotolo per vers 58mm con sensore QFC CUSTIM A
10. parte smussata ATTENZIONE Verificare che il perno rotolo carta si trovi in questa posizione con la parte smussata k rivolta verso il basso altrimenti in caso contrario allentando la vite di fissaggio del perno alla staffa posizionarlo in questo modo Versione 35mm 1 Fissare la staffa al telaio della stampante con le due viti di fissaggio presenti nel kit nei due punti indicati in fig A 6 2 Collegare il cablaggio sensore della staffa al connettore della stampante come indicato in fig A 6 Fig A 6 K parte smussata ATTENZIONE Verificare che il perno rotolo carta si trovi in questa posizione con la parte smussata k rivolta verso il basso altrimenti in caso contrario allentando la vite di fissaggio del perno alla staffa posizionarlo in questo modo APPENDICE A ACCESSORI E RICAMBI Fissaggio posteriore Versione 58mm 1 Fissare la staffa al telaio della stampante con le due viti di fissaggio presenti nel kit nei due punti indicati in fig A 7 2 Collegare il cablaggio sensore della staffa al connettore della stampante come indicato in fig A 7 Flg A 7 ATTENZIONE Verificare che il perno rotolo carta si trovi in questa posizione con la parte smussata k rivolta verso il basso altrimenti in caso contrario allentando la vite di fissaggio del perno alla staffa posizionarlo in questo modo
11. 1 TG558 APPENDICE A ACCESSORI E RICAMBI Il kit viene fornito gi assemblato come riportato in figura A 2 e A 3 Fig A 2 Kit staffa vers 58mm Staffa portarotolo 1 assemblata al perno rotolo carta 2 Schedino sensore quasi fine carta 3 Due viti di fissaggio M3x6 4 Due dischi di contenimento 5 Kit staffa vers 35mm Staffa portarotolo 1 assemblata al perno rotolo carta 2 Anello di bloccaggio per regolazione larghezza carta 3 Schedino sensore quasi fine carta 4 Due viti di fissaggio M3x6 5 Due dischi di contenimento 6 Fig A 3 gt 1 NOTA L anello di bloccaggio presente solo nella versione 35mm APPENDICE A ACCESSORI E RICAMBI Istruzioni di montaggio Il posizionamento della staffa porta rotolo non fisso ma regolabile su 3 diverse posizioni posteriore inferiore e superiore come indicato in figura A 4 1 Fissaggio superiore 2 Fissaggio posteriore 3 Fissaggio inferiore Fig A 4 Fissaggio staffa superiore Versione 58mm 1 Fissare la staffa al telaio della stampante con le due viti di fissaggio presenti nel kit nei due punti indicati in fig A 5 2 Collegare il cablaggio sensore della staffa al connettore della stampante come indicato in fig A 5 CUSTIM A 3 TG558 APPENDICE A ACCESSORI E RICAMBI Fig A 5 K
12. 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 nH Hex 1B 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 O lt nL lt 255 0O lt nH lt 255 Sets the print vertical position based on the current position 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 e When the starting position is specified by N motion unit to the bottom nL nHx 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 Select 1 8 inch line spacing ASCII ESC 0 Hex 1B 30 Decimal 27 48 Selects 1 8 inch line spacing 1B 32 1B 33 Set line spacing at 1 6 inch
13. 7 Ottava DO D 7 2F DO RE_7 06 RE RED 7 07 RE Notes The NO_SOUND note disable the tones generator must be used to end a melody e 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 must start with the SOUND_ON note e This command is present only in the printer version with display TG558 D Default Reference Example CUSTPIM 3 31 TG558 3 PRINTER FUNCTIONS Blank page TG558 3 32 CUSTOM 4 SPECIFICHE TECNICHE 4 1 SPECIFICHE TECNICHE La tabella 4 1 riporta le principali caratteristiche tecniche della stampante Tab 4 1 olonne Termica 203 DPI 8 dot mm Metodo di stampa 2 9 2 2 2 N O e gt O N I Le Nm wesch NI N Caratteristiche carta Carta termica in rotolo Lato termico all esterno del rotolo Tipo di carta consigliati da 55 g m a 65 g m KANZAN 57 5mm 1mm 35mm 0 5 mm Diametro anima interna rotolo 13mm Diametro esterno rotolo max 80 mm con staffa porta rotolo esterna i Cartone o plastica Temperatura testina presenza carta sensore inceppamento carta Opzionale sensore quasi fine carta esterno sensore prelevamento ticket Modo di scrittura Diritto Rovesciato ET ATT Formati di stampa Altezza larghezza da 1 a 2 grassetto negativo sottolineato Alimentazione 12 Vdc 10 Consumo di corrente O Oo D 3 e D gt n gr
14. D 3 jo D Wi gt Corrente di stand by 0 1A Peso stampante 490 gr Condizioni ambientali Temperatura di funzionamento 0 450 Umidit relativa 10 70 senza condensa Temperatura di stoccaggio Umidit 20 C 70 C 10 90 S Note Riferito senza rotolo carta ed al modello con frontale plastico CUSTOM 4 1 TG558 4 SPECIFICHE TECNICHE Staffa porta rotolo orientabile con sensore 24 mod 58mm 40 mod 58mm 17 mod 35mm 28 mod 35mm 16 x 24 8x24 Linee sec 16 25 16 25 Carattere L x H Velocit di stampa Normale 2x3 1x3 4 2 DIMENSIONI 4 2 1 Modello con frontale plastico In figura 4 1 sono riportate le dimensioni della stampante con frontale plastico Fig 4 1 100 ra Leg 83 ra __ 52 g8 4 6 ef n i L A i He _ SOF Pa ui a E o e E OH Hh IO IB pi com d Ch E Co A A HH J EA Y Del n g Ki 6 8 925 i PANEL HOLE SCALE 1 5 Leg 1 i 83 42 E tt i 0 A o po S Es 1 H S e Se lol E Fe 8 IN o A DEE ei i Y e na 1 H Fam en i i if
15. 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 d 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 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 6D 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 in REVERSE ASCII ESC R Hex 1B 52 Decimal 27 82 Set printing in REVERSE mode the ticket comes out from
16. 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 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 CUSTOM 3 25 TG558 3 PRINTER FUNCTIONS 1D 4C n mt d1 dk Name Receive display effect from serial port Format ASCII GS L n m t di dk Hex 1D 4C n m t di dk Decimal 29 76 n m t di 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 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 f
17. 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 e 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 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 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 it will not be printed It does not zero set the line buffer e This command is present only in the
18. 4 digit di d2 d3 d4 d5 d6 d7 d8 Notes In the followimg are represented the display digits Ks lx N W ih EDAD e m c d e d Y D e Each pair of bytes identify a digit and must be as follows 7 dn 0 7 dn 1 0 N U DP k jo 3 3 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 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 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 49 n Decimal 29 73 n 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
19. 4 4 5 SERIE DI CARATTERI E RER EE 5 1 APPENDICE A ACCESSORI E RICAMBI A ACCESSORI E A 1 A A l Alimentatore aaa A 1 A 1 2 Kit staffa porta rotolo orientabile nn nn nnn nn nn nnn nn nn nro nnnnnnos A 1 Istr zioni di montaggi d een gege nn hans doce Mateasetenceccmeanes A 3 Utilizzo dei dischi di contenimento oooccocnncccnininicocinnnonnnonnonnnnnno nono o nono non nnonnnnnnnnnnnnnnnnnnnnnnnnnnnos A 7 Dimensioni con staffa porta rotolo rra A 8 AZ RIGAMBI EE A 9 1 INSTALLAZIONE ED UTILIZZO 1 1 CONNESSIONI Fig 1 1 1 1 1 Alimentazione La stampante dotata per l alimentazione per tutti i modelli di un connettore molex serie 5569 2 poli ma schio 90 J6 segnali sui pin del connettore di alimentazione sono i seguenti Tipo connettore Maschio Molex serie 5569 Verticale no 39 30 1020 Femmina Molex serie 5557 no 39 01 3022 PIN SEGNALE DESCRIZIONE 1 12V Alimentazione 2 GND Segnale di massa bg ATTENZIONE Tab 1 1 Rispettare le polarit dell alimentazione 1 1 2 Connettore Input Output per versione TG558 con display La stampante dotata per l alimentazione della gettoniera ed altoparlanti e per segnali ausiliari di un connettore a 10 poli J1 segnali sui pin del connettore di alimentazione sono i seguenti Tipo connettore Maschio Connettore flat 10 poli 90 passo 2 54mm Femmina Cavo fl
20. 69 Name Selects Font B Format ASCII ESC i 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 6D 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 72 n Name Format Range Description Notes Default Reference Example 1B 73 Name Format Description Notes Default Reference Exa
21. 8 CUSTOM 3 PRINTER FUNCTIONS 1D 6F n Name Format Description Notes Default Reference Example 1D 72 n Name Format Range Description Management of output lines ASCII GS O n Hex 1D 6F n Decimal 27 111 n This command sets the output lines as follows bit 7 bit6 bit5 bit4 bit3 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 e This command is present only in the printer version with display TG558 D 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 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 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 Default Referen
22. Emettitore di Ticket Serie TG558 35 58 mm Manuale utente CUSTOM www custom it TG558 Tutti i diritti riservati vietata la riproduzione totale o parziale del presente manuale in qualsiasi forma sia essa cartacea o informatica La CUSTOM ENGINEERING SPA e le risorse impiegate nella realiz zazione del manuale non si assumono nessuna responsabilit derivante dall utilizzo dello stesso garantendo che le informazioni contenute nel manuale sono state accuratamente verificate Ogni suggerimento riguardo ad eventuali errori riscontrati o a possibili miglioramenti sar particolar mente apprezzato prodotti sono soggetti ad un continuo controllo e miglioramento pertanto la CUSTOM ENGINEERING SPA si riserva di modificare le informazioni contenute nel Manuale senza preavviso COD DOMI 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 Assistenza Tecnica Clienti Tel 39 059 88 69 587 Email support custom it 16558 CUSTOM PARTI DELLA STAMPANTE A Vista esterna TG558 con frontale plastico TG558 x35P TG558 x58P TG558 x35P 0001 TG558 x58P 0001 1 Meccanismo di stampa 2 Tasto PRINT 3 Tasto FEED 4 Telaio 5 Pannello frontale 6 Led 7 Uscita carta 1 l suffisso x indica i seguenti modelli TG558 S35P versione 35
23. I 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 When n 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 is n lt 48for 58mm model n lt 34for 35mm model Management of barcode printing ASCIIGS b m n Hex 1D 62 m n Decimal 29 124 m n O m p P 1 lt n lt 3 49 lt n lt 51 m T 48 lt n lt 56 m C C n 2 Z i T d D 1 R O 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 DOMMYnHHmmSS 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 n
24. TIONS 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 DC 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 DCH 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 ent
25. Versione 35mm 1 Fissare la staffa al telaio della stampante con le due viti di fissaggio presenti nel kit nei due punti indicati in fig A 8 2 Collegare il cablaggio sensore della staffa al connettore della stampante come indicato in fig A 8 Flg A 8 x d gt ATTENZIONE Verificare che il perno rotolo carta si trovi in questa posizione con la parte smussata k rivolta verso il basso altrimenti in caso contrario allentando la vite di fissaggio del perno alla staffa posizionarlo in questo modo CUSTOM A 5 TG558 APPENDICE A ACCESSORI E RICAMBI Fissaggio inferiore Versione 58mm 1 Fissare la staffa al telaio della stampante con le due viti di fissaggio presenti nel kit nei due punti indicati in fig A 9 2 Collegare il cablaggio sensore della staffa al connettore della stampante come indicato in fig A 9 Flg A 9 ATTENZIONE Verificare che il perno rotolo carta si trovi in questa posizione con la parte smussata k rivolta verso il basso altrimenti in caso contrario allentando la vite di fissaggio del perno alla staffa posizionarlo in questo modo K parte smussata Versione 35mm 1 Fissare la staffa al telaio della stampante con le due viti di fissaggio presenti nel kit nei due punti indicati in fig A 10 2 Collegare il cablaggio sensore della staffa al connettore della stampante come indicato in fig A 10 F
26. at 10 poli passo 2 54mm CUSTOM 1 1 TG558 1 INSTALLAZIONE ED UTILIZZO Fig 1 2 PIN SEGNALE DESCRIZIONE Tab 1 2 1 GND Segnale di massa 2 GND Segnale di massa 3 12V Alimentazione 4 USCITA AUSILIARIA Open Collector 5 12 V Alimentazione 6 COIN IN1 Ingresso gettoniera 7 ALTI Uscita altoparlante 8 COIN IN2 Ingresso gettoniera 9 ALT2 Uscita altoparlante 10 INIBIT Uscita abilitazione gettoniera 1 2 CONFIGURAZIONE La stampante permette la configurazione dei parametri di default vedi fig 1 2 parametri influenzati nella configurazione sono PRINT MODE Colonne 24 col 40 col e 42 col Modo di stampa Normal o Reverse Dmensione carattere Piccolo Doppia larghezza 2 x Width Doppia altezza 2 x Height Espanso Avanzamento automatico CR disattivato o CR attivato e Auto Feed attivato disattivato Stampa in Rosso 0 1 2 3 4 52 6 7 si SERIAL MODE S Baud Rate 38400 19200 96002 4800 2400 1200 600 Protocol 8 N 12 8 bit senza parit 1 bit di Stop 8 E 1 8 bit parit pari 1 bit di Stop 8 O 1 8 bit parit dispari 1 bit di Stop 7 N 2 7 bit senza parit 2 bit di Stop 7 E 1 7 bit parit pari 1 bit di Stop 7 0 1 7 bit parit dispari 1 bit di Stop Controllo di flusso CTS RTS XON XOFF REAL TIME CLOCK D Settaggio stampa se
27. ce 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 ASCII GS WwW k m ml n1t1 nmtm Hex 1D EB 77 k mh nl nit1 nmtm Decimal 29 235 119 k mb ml n1t1 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 This command save a melody into flash e k parameter selects the melody to receive emh and 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 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 D 5 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 LAD5 37 LA SI 5 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 De 2C SOL LA 6 3F LA LA D 6 04 LA SI 6 05 SI DO 7 25 DO
28. command to read the printer s 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 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 no n9 Hex 1B F1 no n9 Decimal 27 241 no ng Use 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 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 21 n Name Format Range Description Print logo ASCII ESC n XH xL yH yL Hex 1B FA n XH xL yH yL Decimal 27 250 n di 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 1 Nrow where Nrow 341 for 58mm model Nrow 512 for 35mm model yL yH x 256 specifies the number of lines to print If xL xH x 256 gt Nrowthe printer do
29. condi Abilita secondi Disabilita secondi Settaggio DST Abilita DST Disabilita DST Note generali parametri indicati con il simbolo H sono quelli impostati di default gt NOTA Se la funzione abilitata quando la stampante riceve un numero di caratteri pari al buffer di linea va a capo automaticamente D 2 NOTA utilizzando carta termica bicolore possibile impostare varie tonalit di rosso Si 3 NOTA Settaggio presente solo nelle versioni TG558 1 2 CUSTOM 1 INSTALLAZIONE ED UTILIZZO con RTCK Real Time Clock e nella versione con display gt NOTA Questo parametro abilita il cambio SET UP DEFAU LT automatico dell ora solare legale 24 COLUMNS font 16x24 PRINT DIR NORMAL PRINT MODE LITTLE CRLF HONORCR AUTOFEED 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 Configurazione dai tasti PRINT e FEED Se all accensione della stampante vengono mantenuti premuti contemporaneamente i tasti PRINT e FEED la stampante si dispone in modo configurazione e stampa il primo parametro modificabile Ad ogni successiva pressione del tasto PRINT si ottiene la variazione del parametro e la stampa del valore corrente dello stesso Ottenuto il valore desiderato premendo il tasto FEED si passa al parametro successivo e cos via La stampa di un messaggio quando sono scorsi tutti i parametri segnala il t
30. curarsi che il taglio non sia regolare OK NOT Fig 1 5 ES Per installare la stampante in posizione sottosopra procedere come segue 1 Sganciare la molla come indicato in fig 1 6 ed agganciarla nella nuova posizione come indicato in fig 1 7 f Fig 1 6 Sganciare la molla da questa parte 1 INSTALLAZIONE ED UTILIZZO Fig 1 7 Agganciare la molla in questa posizione Fig 1 8 S 3 NOTA Le operazioni descritte sono valide per tutti i modelli CUSTOM 1 5 TG558 2 INTERFACCE 2 1 INTERFACCE MODELLI TG558 S E TG558 T Fig 2 1 2 1 1 Seriale RS232 TTL La stampante con interfaccia seriale RS232 TTL dispone di un connettore RJ45 J4 rif fig 2 1 Nella seguente tabella vengono descritti i segnali presenti sul connettore PIN SEGNALE DESCRIZIONE 1 VCC 5V 2 GND Segnale Massa 3 TXD Trasmissione dati 4 RXD Ricezione dati 5 RTS Pronto all invio 6 VIN 12V 7 N C Non connesso 8 N C Non connesso Tab 2 1 TG558 Nel protocollo seriale TTL i segnali che caratterizzano la comunicazione sono TD RD e RTS se stato selezionato il protocollo RTS CTS mentre se stato selezionato il protocollo XON XOFF i segnali sono TD e RD Fig 2 2 Formato di trasmissione NEXT START BITO BITA BIT2 BIT3 BIT4 BITS BIT6 BiT 70 PARITY STOP START
31. e Example 02 Name Format Description Notes Default Reference Example 03 Name Format Description Notes Default Reference Example 3 PRINTER FUNCTIONS 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 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 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 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 S
32. e 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 n lt 47 for 58mm model Description Notes Default Reference Example 0 lt n 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 CUSTPIM 3 23 Visualization on display a string of 4 characters ASCII GS D si s2 s3 s4 Hex 1D 44 s1 s2 s3 s4 Decimal 29 68 si 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 e 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 di d8 Hex 1D 45 dl d8 Decimal 29 69 di d8 Range 0 lt d1 lt 255 0 lt d8 lt 255 Description 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 MW MM Mm AN AN UN UN 1 digit 2 digit 3 digit
33. e mmm tor i d 69 i i H a F i i 86 l H gt i Lens menner mr bm bm bm bb bm e me D Piano di foratura per fissaggio stampante a pannello TG558 4 2 CUSTIM 4 SPECIFICHE TECNICHE 4 2 2 Modello con frontale metallico In figura 4 2 sono riportate le dimensioni della stampante con frontale metallico versione 35mm Fig 4 2 78 3 54 96 m E 76 pt 39 5 peg SS gs ni N 2 a CONT i i il HHHHHHHHE L Da i I Zi A H DEo N YN F a o 2 n ei A g N 12Vde N LO El COM D y g q 8 wo he Y y 1 PRINT FEED n Li U Y LO ec EDS i I mp A gt le 5 Pg y gt EA oa gt 5 Q Y L U D mg H E 1 CUSTM 4 3 TG558 4 SPECIFICHE TECNICHE 4 2 3 Modello con Display
34. er the command 11 at the beginning of each line The format of the byte in graphic configuration is CUSTIM 3 7 TG558 3 PRINTER FUNCTIONS X R P6 P5 P4 P3 P2 P1 D7 D6 D5 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 0 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 P5 P4 P3 P2 P1 P6 P5 P4 P3 P2 PI 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 e 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
35. ermine del settaggio 1 3 AUTOTEST L autotest si ottiene mantenendo premuto il tasto FEED all accensione della stampante L esecuzione dell autotest provoca la stampa del font caratteri e del logo memorizzato all interno della stampante 1 4 MANUTENZIONE 1 4 1 Cambio rotolo carta Vigolo Ad ogni cambio carta facendo riferimento alla fig 1 4 occorre verificare quanto segue e sollevando lo sportellino ispezionare il vano carta in prossimit della testina nella zona contrassegnata dalla lettera a per eliminare eventuali ritagli di carta rimasti dal rotolo precedentemente esaurito ATTENZIONE Periodicamente rimuovere l accumulo di polvere di carta dal rullo di trascinamento carta e dalla zona vicina al sensore di uscita carta vedi fig 1 4 zona indicata dalla lettera b Per effettuare questa opera zione non utlizzare solventi chimici aggressivi ma si consiglia l uso di un panno morbido inumidito con alcohol Per cambiare il rotolo di carta nella stampante procedere nel seguente modo 1 Posizionare il rotolo di carta 1 rispettando il verso di rotazione indicato fig 1 5 2 Inserire l estremit del rotolo di carta nelle fessura sul meccanismo di stampa 2 ed attendere il CUSTOM 1 3 TG558 1 INSTALLAZIONE ED UTILIZZO caricamento automatico della carta 3 Rimuovere il biglietto presente sulla bocca di uscita Fig 1 4 ATTENZIONE Prima di inserire la carta assi
36. es 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 gt Nrow the printer prints only Nrow xL XH x 256 1 dotline where Nrow 341 for 58mm model Nrow 512 for 35mm model e 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 n lt 255 Selects character height and width as follows Bits 0 to 3 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 Sbit 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 3x x2 3 height 3x 3x Fx 1 normal width 1x x3 xF 1 normal height 1x Notes e This command is effective for all characters except HRI characters If 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 Referenc
37. etting 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 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 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 Descri
38. hen 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 set TI Description 1 Notes 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 n 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 DCI 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 nb nH Set relative vertical print position 18 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 O Resets the printer 1B 41 ESC A Executes n dots line feed 1B 44 ESCD Enters date in print buffer
39. ht 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 Thiscommand executes a barcode printing depending on the following parameters code Type of bar code ASCII character The values are I 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 O Check digit is not printed Check digit Check digit is printed IESO C E epr io fre EE e e fue E ans TI 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 Default Reference Example ESC dn Name Format Range Description Notes Default Reference Example 1B 68 Name
40. ig A 10 A ATTENZIONE Verificare che il perno rotolo carta si trovi in questa posizione con la parte smussata k rivolta verso il basso altrimenti in SE Caso contrario allentando la vite di fissaggio del perno alla staffa posizionarlo in questo modo K parte smussata TG558 A 6 CUSTOM APPENDICE A ACCESSORI E RICAMBI Utilizzo dei dischi di contenimento Nella seguente figura A 11 viene mostrato come assemblare i dischi di contenimento al perno del rotolo carta della la stampante 2 NOTA Il modello riportato in fig A 11 indicativo sul loro utilizzo l operazione descritta valida per tutti i modelli CUSTIM A 7 TG558 APPENDICE A ACCESSORI E RICAMBI Dimensioni stampante con staffa porta rotolo Modello con frontale plastico Fig A 12 a 100 8 G 4 6 d ry Y H A ry o I o Sa 10 ke N N Y n y n En a l A PANELHOLE SCALE 1 5 83 a Da 2 LO e ke Sw N N S Bos P 10 q S 1 f 89 3 86 Piano di forat
41. lute shift into a graphic line 1D 44 s1 s2 GS D s1 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 GSF n Setting graphic display effects Only for TG558 D 1D 49 n GSIn Transmit printer ID 1D 4Cnmt GSLnmt Receive graphic display effect from i Sr d1 dk serial i i g Only for eeh 1D 57 nL nH GS W nL nH Set printing area width 1D 59 n GSYn Sets height in printing 1D 5An GS Zn 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 72 n 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 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 Small character printing NUL 00 ASCII Hex Decimal 0 The printer prints in small characters normal TG558 3 2 Notes Default Reference Example 01 Name Format Description Notes Default Referenc
42. mm con interfaccia seriale RS232 TG558 S58P versione 58mm con interfaccia seriale RS232 TG558 T35P versione 35mm con interfaccia seriale TTL TG558 T58P versione 58mm con interfaccia seriale TTL 2 JI suffisso 0001 indica l opzione real time clock B Vista esterna TG558 con frontale metallico TG558 x35M TG558 x58M TG558 x35M 0001 2 TG558 x58M 0001 1 Meccanismo di stampa 2 Tasto PRINT 3 Tasto FEED 4 Telaio 5 Pannello frontale 6 Led 7 Uscita carta 1 l suffisso x indica i seguenti modelli TG558 S35M versione 35mm con interfaccia seriale RS232 TG558 S58M versione 58mm con interfaccia seriale RS232 TG558 T35M versione 35mm con interfaccia seriale TTL TG558 T58M versione 58mm con interfaccia seriale TTL 2 JI suffisso 0001 indica l opzione real time clock C Vista esterna TG558 con display TG558 35D 1 Meccanismo di stampa 2 Tasto PRINT 3 Tasto FEED 4 Telaio 5 Pannello frontale 6 Uscita carta 7 Display 8 Led D Vista posteriore TG558 con frontale plastico 1 Connettore di alimentazione 2 Connettore interfaccia seriale RS232 TTL 3 Ingresso carta 4 Sportellino d ispezione basculante E Vista posteriore TG558 con frontale metallico 1 Connettore di alimentazione 2 Connettore interfaccia seriale RS232 TTL 3 Ingresso carta 4 Sportellin
43. mple CUSTPIM 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 If 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 O lt n lt 1 48 lt 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 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 Description Trasmit the current paper sensor status upon receiving this command Notes This commandi is executes immediately even when the reception buffer is full
44. o d ispezione basculante F Vista posteriore TG558 con display 1 Connettore di alimentazione 2 Connettore interfaccia seriale TTL 3 Connettore di alimentazione e segnali ausiliari 4 Ingresso carta 5 Sportellino d ispezione basculante SOMMARIO INTRODUZIONE CONTENUTO DELMANUALE alii dual dina lcd 1 CONVENZIONI UTILIZZATE NELMANUALE ir 1 INFORMAZIONI GENERALI SULLA SICUREZZA iii 1 DISIMBALLO DELLA S TAMPAN E ica 1 DESCRIZIONE DELLA STAMPAN E orrori 2 PRINCIPALLAPPUICAZI N TT 2 1 INSTALLAZIONE ED UTILIZZO e Keel SON E 1 1 1 1 1 lu EE 1 1 1 1 2 Connettore Input Output per versione TG558 Con display 1 1 OI IS ON E 1 2 1 2 1 Configurazione dal tasti REPORT e FEED ii 1 3 E PUTO TES RE 1 3 EIER RE Ee TE 1 3 1 4 1 Cambio rotolo carta nono nro nn nono o nn nn nnnnnnnnnnnnrnnnnnnnnnnnnnnnninen 1 3 1 4 2 Note per l installazione ed utilizzo della stampante 1 4 2 INTERFACCE 2 1 INTERFACCE MODELLI TG558 S E TGS98 T ET 2 1 21 1 Serale E Ll va E pidaiea ting a aE A ai 2 1 3 FUNZIONI DELLA STAMPANTE 3 1 CARATTERI DI CONTROLLO EE 3 1 4 SPECIFICHE TECNICHE 4 1 SPECIFICHE TECNICHE AAA 4 1 4 2 DIMENSION A tapas eeti deer te eeeeeeeae teenies 4 2 4 2 1 Modello con frontale plastico Ennn nennen 4 2 4 2 2 Modello con frontale metallico ennnen 4 3 4 2 3 Modello cOn display EE
45. ollows k m x 8 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 e n specifies the number of byte to print e 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 e 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 Reference Example 1D 5An Name Format Description Notes Default Reference Example 1D 62mn Name Format Range Description CUSTPIM 3 27 3 PRINTER FUNCTIONS Sets height in printing ASCI
46. ot 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 IT 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 1 1D 64 30 1D 64 31 n d1 dk Name Enable Disable scrolling text Format O ASCII GS d 0 Hex 1D 64 30 Decimal 29 100 0 ASCII GS d 1 n d1 dk Hex 1D 64 21 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 Y This command disables scrolling text This command visualizes on display a string that was sent through serial port as scrolling text Notes Oe The n parameter indicates the length of a string The maximum number length s 63 characters it will be 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 TG558 3 2
47. 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 ESCan Name Format Range Description Notes Default Reference Example dd 1B 61 Name Format Description Notes Default Reference Example 1B 63 Name Format CUSTPIM 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 e 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 ESC and ESC will be justified according to the previously entered mode n 0 Flush left Centered Flush rig
48. ption 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 and 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 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 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 nin real time according to the following parameters 3 5 TG558 3 PRINTER FUNCTIONS
49. ura per fissaggjo stampante a pannello TG558 A 8 CUSTOM APPENDICE A ACCESSORI E RICAMBI Modello con frontale metallico Fig A 13 3 54 96 j 57 7 COM A 50 5 38 6 43 40 2 rr D A 2 RICAMBI Rotoli carta RCT35X70 AF Modello 35mm Rotolo carta termica Antifrode Tab A 4 RCT35X70 RS Modello 35mm Rotolo carta termica Retrostampata Tab A 5 RCT58X70 RS Modello 58mm Rotolo carta termica Retrostampata Con l acquisto di n 2000 rotoli vi la possibilit di personalizzare il retro della carta con un logo CUSTIM A 9 TG558
50. 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 TG558 3 PRINTER FUNCTIONS transmit DATE 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 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 4An 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 the line e The paper feed amount set by this command does not affect the values set by 1B 32 or 1B 33
Download Pdf Manuals
Related Search
Related Contents
Forza Power Technologies FX-2200LCD uninterruptible power supply (UPS) GUTH 38 Rapport d`activités Pôle Images 2011 GH-UMSEBシリ一ズ 取扱説明書 Ver-ー`。 Soin professionnel en cabine. La marque Jean Teka GFH 55 Moteur-frein FCO - FCL - FCM FCO Porto - Destak Tiger Ninja Electronic Game User's Manual Supply Approval Database User Manual Copyright © All rights reserved.
Failed to retrieve file