Home

TICKET PRINTER TG1260 series TG2460 series 60 mm User Manual

image

Contents

1. A 2 SPARE PARTS Paper rolls RCT60X55 60mm thermal paper roll Tab A 4 CUSTOM A13 TG1260 2460 APPENDIX A ACCESSORIES AND SPARE PARTS Blank page TG1260 2460 A 14 CUSTOM
2. Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED Off 00 0 Paper is detected by the near paper end sensor 2 3 Paper end sensor not presentor near paper On 0C 12 end 4 RESERVED Off 00 0 Paper is detected by the paper end sensor 5 6 On 60 96 Paper end is detected by the paper end sensor 7 RESERVED n 17 Paper status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 Off 00 0 Motor not running On 04 8 Motor running 3 RESERVED 4 RESERVED Off 00 0 Paper in On 20 32 Paper end 6 RESERVED 7 RESERVED n 20 Full Status 6 bytes 1 Byte 10 DLE 2 Byte 0F 3 Byte Paper Status Bit Off On Hex Decimal Function 0 Off 00 0 Paper in On 01 1 Paper end 1 RESERVED 2 Off 00 0 Paper in On 04 4 Near paper end 3 RESERVED 4 RESERVED 5 Off 00 0 Ticket out sensor free On 20 32 Ticket out sensor busy 6 RESERVED 7 RESERVED CUSTOM 2 5 TG1260 2460 2 PRINTER FUNCTIONS 4 Byte User Status Bit Off On Hex Decimal Function Off 00 0 Print head down d On 01 1 Print head up 1 Off 00 0 Cover down On 02 2 Cover up 2 Z a RESERVED 3 Off 00 0 Motor running paper run On 08 8 Motor not running paper stand still 4 RESERVED 5 Off 00 0 FEED key not p
3. aH aL dH dL 1B 77 Name Format Range TG1260 2460 Bit Off On Hex Decimal Function Off 00 0 iis paper end sensor 0 1 aper present On 03 3 Near paper end sensor Near paper end Off 00 0 Paper end sensor 23 Paper present On 0C 12 Paper end sensor Paper end 4 Off 00 0 Fixed to Off 5 RESERVED 6 RESERVED 7 Off 00 0 Fixed to Off 10 04 Write EEPROM position ASCII aH aL dH dL ESC w Hex aH aL dH d 1B 77 Decimal aH aL dH dL 27 119 0 lt a lt 63 0 xaHx 9 AxaHx F O xaLx 9 AxaLx F 0 lt d lt 255 lt dH lt 9 A lt dH lt F lt dL lt 9 A lt dL lt F 2 44 CUSTOM 2 PRINTER FUNCTIONS Description Notes Default Reference Example Writes at the location addressed by a data awhere aH is the most significant nibble expressed in ASCII of a aL is the least significant nibble expressed in ASCII of a dH is the most significant nibble expressed in ASCII of d dL is the least significant nibble expressed in ASCII of d 1B 72 To write the value 34 in position 12 transmit 31 32 33 34 1B 77 1B FA n xH xL yH yL Name Format Range Description Notes Default Reference Example Print graphic bank 448 x 1170 dots ASCII ESC n xH xL yH yL Hex 1B FA n xH xL yH yL Decimal 27 250 n xH xL yH yL 1 lt ns2 0 XH xL yH yL lt 255 Prints the graphics bank
4. o0 eo y ry E Ne in Y 1 69 _ ry n N HL g Fig 3 1 ney HFP x J 3 2 2 TG2460 U N _ 100 83 8 jat Ie PUN 4 6 i Y ry Ne i z Y O o u o el NN S wn gs D Y 1 2 n 61 8 a 6 8 92 5 a 69 3 e 0 zemi Co EN c e plu 3 ke u fas E s 2 Fig 3 2 CUSTOM 3 3 TG1260 2460 3 TECHNICAL SPECIFICATIONS 3 2 3 TG2460 U M M n ry Y x H xx B u S ln A n 10 el mM D z UE E 5 2 Y Y y 7 J uy co 3 54 61 0 Coo e Y eu c v Fig 3 3 Y gt NOTE the figures in this part show the USB interface model but the dimensions are the same even for the serial RS232 interface model TG1260 2460 3 4 CUSTOM 4 1 CHARACTER SET ESC POS 32 columns 0123456789ABCDEF I 8 58 0123456789 lt gt GABCDEF GHI JKLMNO PQRSTUVWXVZINI abcdefghi jklmno parstuvwxyz C aa geBelTiAA ExROOOUUYOUCE MPLS i Nal ient i lt 433931 HIM ULT 3 FH PS IEEE i Uke ag nioure0Q6gefh gt lt fJsaee yN Tn rm OC C 00 2 4D O0 J 08 Un wr 4 CHARACTER SET The p
5. Bit Off On Hex Decimal Function 0 Off 00 0 Non supported 2 byte character codes 1 Off 00 0 Autocutter not supplied On 02 2 Autocutter supplied 2 Off 00 0 Thermal paper without label On 04 4 Thermal paper with label 3 RESERVED 4 Off 00 0 Fixed at 0 5 RESERVED 6 RESERVED 7 Off 00 0 Fixed at 0 When the DTR DSR control is selected the printer only transmits 1 byte Printer identification after it has been given confirmation that the host is ready to receive data If the host is not ready the printer waits until it is When the XON XOFF control is selected the printer only transmits 1 byte Printer identification if it has not been given confirmation that the host is ready to receive data This command is carried out once the data has been processed in the reception buffer There may therefore be a delay between the moment in which the command is received and that in which the data is transmitted depending on the status of the reception buffer Set horizontal and vertical motion units ASCII GS P X y Hex 1D 50 x y Decimal 29 80 x y x 100 200 y 100 200 Sets the horizontal and vertical motion units at 1 x inches and 1 y inches respectively When xis set at 0 the default setting value is used When yis set at 0 the default setting value is used This command set the ESC POS emulation and initialize the default values again The horizontal directio
6. Fig A 7 TG1260 2460 A 6 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS Fastening the paper holder support in lower position Fix the paper holder support to the printer frame by the two fastening screws on issue in the kit Screw them where shown in fig A 8 and connect the near paper end sensor cable to the printer connector see the paper roll containment disks part If this condition isn t verified unloose the fastening i WARNING Check the paper roll pin is assembled with the beveled side turned in the low position screw of the pin to the paper holder support and locate it in the right position Fig A 8 lt S i a BEVELED SIDE Fig A 9 CUSTOM A 7 TG1260 2460 APPENDIX A ACCESSORIES AND SPARE PARTS Using the paper roll containment disks The paper holder support kit is equipped with two paper roll containment disks The disks operates to keep the roll paper in the right position They are realized with holes which let the near paper end sensor on the paper holder support works correctly and with a slot which hinder the disks from rotating around their own axises In this slot must be inserted the special paper roll pin feather which has to be assembled turned toward the lower position to avoid paper jam In the foll
7. Notes Default Reference Example 1B 56 n Name Set print mode rotated by 90 Format ASCII ESC V n Hex 1B 56 n Decimal 27 86 Range O lt n lt i1 48 lt n lt 49 Description Enable disable print mode rotated by 90 n is used as follows n Function 0 48 Turns off 90 rotation mode 0 49 Turns on 90 rotation mode Notes When underlined mode is turned on the printer does not underline 90 rotated charac ters All the same it s possible select the underline mode Double width and double height commands in 90 rotation mode enlarge characters in the opposite directions from double height and double width commands in normal mode This command is not available in Page mode If this command is entered in Page mode the printer all the same save the setting Default n 0 Reference 1B 21 1B 2D Example TG1260 2460 2 14 CUSTOM 2 PRINTER FUNCTIONS 1B 5C nL nH Name Format Range Description Notes Default Reference Example 1B 61n Name Format Range Description Notes Default Reference Example CUSTOM 2 15 Set relative print position ASCII ESC nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH 0 lt nL lt 255 0 lt nH lt 255 Sets the print starting 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 horizon
8. This command is executed if there are characters with different heights on the same line n 0 1B 21 1D 21 Set printing density ASCII GS Hex 1D 7C Decimal 29 124 O0 lt n lt 4 48 lt n lt 52 The printing density is cleared at default value when the printer is reset or the power is turned off n 2 Sets the printing density n specifies the printing density as follows n Printing density 0 48 Very light 1 49 Light 2 50 Normal 3 51 Dark 4 52 Very dark TG1260 2460 2 32 CUSTOM 2 PRINTER FUNCTIONS 2 1 2 Custom emulation The following table lists all the commands for the management of the Custom emulation The commands can be transmitted to the printer at any moment but they will only be carried out when the commands previously transmitted have been carried out There are no priority commands all commands are carried out when the circular buffer is free to do so COMMAND TABLE Tab 2 2 00 NUL Printing with small characters 01 SOH Printing with double width characters 02 STX Printing in double height characters 03 ETX Printing with expanded characters 04 EOT Restore printing with small characters 0A LF Print and line feed n 0B n VT Vertical tabs 0D CR Print and feed 0F SI Ignore 0D 11 DC1 DP 24 40 graphic mode 1B 21n ESC n Set print mode 1B 2
9. OP ut Left margin Width of print area This command is enabled only at the beginning of the line If the setting exceeds the printable area the maximum value of the printable area is used If left margin printing area width is greater than printable area then printing area width is set at maximum value The horizontal and vertical motion units are specified by 1D 50 Changing the horizontal or vertical motion unit does not affect the current left margin The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount and it must be expressed in even units of the minimum horizontal movement amount If Font A nL2nHz0 If Font B nL 214 nH 0 1D 50 1D 57 Set horizontal and vertical motion units ASCII GS P X y Hex 1D 50 X y Decimal 29 80 X y x 2 100 200 y 100 200 Sets the horizontal and vertical motion units at 1 x inches and 1 y inches respectively When xis set at 0 the default setting value is used When yis set at 0 the default setting value is used The horizontal direction is perpendicular to the paper feed direction In standard mode the following commands use x or y irrespective of character rotation upside down or 90 clockwise rotation Commands using x 1B 20 1B 24 1B 5C 1D 4C 1D 57 Q Commands using y 1B 33 1B 4A This command does not affect the previously
10. Default Reference Example 2 PRINTER FUNCTIONS Inizialize the printer ASCII ESC Hex 1B 40 Decimal 27 64 Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on The data in the reception buffer is not cleared The macro definitions are not cleared 1B 44 n1 nk 00 Name Format Range Description Notes Default Reference Example 1B 45 n Name Format Range Description Set the horizontal tabs ASCII ESC D n1 nk NUL Hex 1B 44 ni nk 00 Decimal 27 68 ni nk 0 1 lt n lt 255 0 lt k lt 32 Sets the horizontal tabs nspecifies the number of columns for setting a horizontal tab from the beginning of the line k indicates the total number of horizontal tabs to be set The horizontal tab position is stored as a value of character width x n measured from the beginning of the line The width of the character includes the space to the right of the character and double width characters are set with a width which is double that of normal characters This command cancels the previous horizontal tab setting When setting n 8 the print position is moved to column 9 by sending HT Up to 32 tab positions can be set k 32 Any data exceeding the 32 tabs is processed as normal data Transmit n kin ascending order and put a code 0 NUL at the end When n kis less than or e
11. 1B 7B n Name Format Range Description Notes Default Reference Example 2 PRINTER FUNCTIONS Select speed quality mode ASCII ESC x n Hex 1B 78 n Decimal 27 120 n O lt n lt 2 Selects speed quality mode n Function 0 Draft mode high speed 1 Normal mode 2 High quality low speed In high quality mode n 2 the printer may be noisy n 1 Turn upside down printing mode on off ASCII ESC n Hex 1B 7B n Decimal 27 123 n O lt n lt 255 Turns upside down printing mode on off When the LSB of nis 0 upside down printing mode is turned off When the LSB of nis 1 upside down printing mode is turned on Only the LSB of nis effective This command is only enabled when input at the beginning of a line In upside down printing mode the printer rotates the line to be printed by 180 and then prints it n 0 Upside down printing Off ABCDEFG Upside down printing On YAACOV 0123456 9SPEZLO Paper outfeed direction 1B FA n xH xL yH yL Name Format Print graphic bank 448 x 1170 dots ASCIl ESC n xH x yH y Hex 1B FA n xH xL yH yL Decimal 27 250 n xH x yH yL TG1260 2460 2 18 CUSTOM 2 PRINTER FUNCTIONS Range 1 lt ns2 0 XH xL yH yL lt 255 Description Prints the graphics bank from flash or ram n selects the bank as follows Print flash bank logo 1 Print flash bark logo 2 XL xH x 256 specifies the starting dot
12. 1D 4C 1D 50 Execute macro ASCII GS r t m Hex 1D 5E r t m Decimal 29 94 r t m 0 lt r t lt 255 O lt m lt i Executes a macro rspecifies the number of times to execute the macro tspecifies the waiting time for executing the macro The waiting time is tx 100 msec for every macro execution m specifies macro executing mode When the LSB of m 0 the macro executes r times continuously at the interval specified t When the LSB of m 1 after waiting for the period specified by t the LED indicator blinks and the printer waits for the FEED button to be pressed After the button is pressed the printer executes the macro once The printer repeats the operation r times This command lasts for a period of tx 100 msec after a macro is executed by t f this command is received while a macro is being defined the macro definition is aborted and the definitions cleared If the macro is not defined or if ris 0 nothing happens When the macro is executed by pressing the FEED button m 1 the paper can not be fed by using the FEED button 1D 3A CUSTOM 2 27 TG1260 2460 1D 63 Name Format Description Notes Default Reference Example 1D 66 n Name Format Range Description Notes Default Reference Example 1D 68 n Name Format Range Description Notes Default 2 PRINTER FUNCTIONS Print counter ASCII GS C Hex 1D 6
13. Notes The spacing to the right of the character for double width mode is double that used for normal mode When the characters are enlarged the spacing to the right of the character is m 2 or 4 times the normal value The horizontal and vertical motion units are specified by the command 1D 50 Changing the horizontal or vertical motion does not affect the current right side spacing The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal spacing amount In standard mode the horizontal motion unit is used The maximum right side spacing is 255 200 inches Default n 0 Reference 1D 50 Example 1B 21n Name Select print modes Format ASCII ESC n Hex 1B 21 n Decimal 27 33 n Range 0 lt n lt 255 Description Selects the print mode using n see following tables Bit Off On Hex Decimal Function 0 Off 00 0 Character font A selected On 01 1 Character font B selected 1 RESERVED RESERVED 3 Off 00 0 Bold mode not selected On 08 8 Bold mode selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 Of 00 0 Script mode not selected On 40 64 Script mode selected 7 Of 00 0 Underline mode not selected On 80 128 Underline mode selected Notes The printer can underline all the characters but it cannot underline t
14. 1 sb 65535 sn 1 sr 1 sc 1 Reference 1D 43 30 1D 43 32 1D 43 31 1D 63 Example 1D 48 n Name Select printing position of Human Readable Interpretation HRI Format ASCII GS H n Hex 1D 48 n Decimal 29 72 n Range O lt n lt 3 48 lt n lt 51 Description Notes Default Reference Example 1D 49 n Name Format Range Description TG1260 2460 Selects the printing position of HRI characters when printing bar code n selects the printing position as follows n Function 0 48 Not printed 1 49 Above the bar code 2 50 Underneath the bar code 3 51 Both above and underneath the bar code HRI characters are printed using the font specified by the command GS f n 0 1D 66 1D 6B Transmit printer ID ASCII GS l n Hex 1D 49 n Decimal 29 73 n 1 lt n lt 3 49 lt n lt 51 Transmits the printer ID specified by n as follows n Printer ID Specification 1 49 Printer mode identification 6D TG2460 2 50 Function identification See table below 3 51 ROM version identification Depends on ROM version 4 char 2 50 CUSTOM 2 PRINTER FUNCTIONS Notes Default Reference Example 1D 50 x y Name Format Range Description Notes Default Reference Example 1D 5Ert m Name Format Range CUSTOM 2 51 n 2 Identification Function
15. 1B 2D 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 the data in one line in the position specified n selects the type of justification as follows n Justification 0 48 Left justification 1 49 Centering 2 50 Right justification This command is only enabled if input at the beginning of the line The lines are justified within the specified printing area The spaces set by the command 1B 24 remain justified as per the previously set mode n 0 Left justification Centering Right justification ABC ABC ABC ABCD ABCD ABCD ABCDE ABCDE ABCDE Select FONT 2 ASCII ESC b Hex 1B 62 Decimal 27 98 Select FONT 2 Setting remains until next set 2 42 CUSTOM 2 PRINTER FUNCTIONS Default Reference Example 1B 6D Name Format Description Notes Default Reference Example 1B 70 Name Format Description Notes Default Reference Example aH aL 1B 72 Name Format Range Description Notes Default Reference Example 1B 74 n Name Format Range CUSTOM 2 43 Set up from front keys 1B 42 Read default parameters of print mode ASCII ESC m Hex 1B 6D Decimal 27 109 Reads default parameters of print mode See ESC M Set up from front keys 1B 4D Read default parameters ASCII ESC p Hex 1B 70 Decimal 27 112 Reads default and on line par
16. TICKET PRINTER 1631260 series TG2460 series 60 mm User Manual TG1260 2460 www custom it CUSTOM All rights reserved Total or even partial reproduction of this manual in any form whether on paper or electronically is strictly forbidden While CUSTOM ENGINEERING SPA guarantees that the information contained in this manual has been carefully checked and verified CUSTOM ENGINEERING SPA and other resources utilized in its creation assume no responsibility for situations arising from its use Feedback regarding any errors in the manual s content or suggestions on how it could be improved would be greatly appreciated Since its products are subject to continuous checking and improvement CUSTOM ENGINEERING SPA reserves the right to modify the information contained in this manual without prior notice COD DOME TG2460 VERS 1 40 Copyright 2004 CUSTOM ENGINEERING SPA Italy CUSTOM ENGINEERING SPA Str Berettine 2 43010 Fontevivo PARMA Italy Phone 39 0521 680111 z Fax 39 0521 610701 http www custom it To contact our Technical Support Phone 39 059 88 69 587 Email support custom it TG1260 2460 CUST M PRINTER COMPONENTS The figures showed list printer parts with USB interface but the remarks are good for the RS232 interface printers too apart from the connector A TG1260 TG2460 x A External view The x s
17. the printer ignores the last received data 2 54 CUSTOM TG1260 2460 Note for 2 When to use CODE93 When to use CODE128 Default Reference Example 1D 77 n Name Format Range Description CUSTOM 2 55 2 PRINTER FUNCTIONS If nis outside the specified range the printer stops command processing and process the following data as normal data The printer prints an HRI character o as a start character at the beginning of the HRIcharacter string The printer prints an HRI character o as a stop character at the end of the HRI character string The printer prints an HRI character n as a control character 00 to 1F and 7F When using the CODE128 in this printer take the following points into account for data transmission The top of the bar code data string must be a code set selection character CODE A CODE B or CODE C which selects the first code set Special characters are defined by combining two characters and one character The ASCII character is defined by transmitting twice consecutively Data transmission Specific character ASCII Hex Decimal SHIFT S 7B 53 123 83 CODE A A 7B 41 123 65 CODEB B 7B 42 123 66 CODE C C 7B 43 123 67 FNC1 1 7B 31 123 49 FNC2 2 7B 32 123 50 FNC3 3 7B 33 123 51 FNC4 4 7B 34 123 52 T 7B 7B 123 123 1D 48 1D 66 1D 6
18. 1 m ndi N dot DPI DPI N of data k 0 8 dots single density 8 67 100 nL nH x 256 1 8 dots double density 8 67 200 nL nH x 256 32 24 dots single density 24 200 100 nL nH x 256 x 3 33 24 dots double density 24 200 200 nL nH x 256 x 3 Notes The commands nL and nH indicate the number of horizontal dots in the graphic image The nL and nH indicate the number of dots of the bit image in the horizontal direction The number of dots is calculated by nL nH x 256 If the bit image data exceeds the number of dots to be printed on a line the excess data is ignored d indicates the bit image data Set a corresponding bit at 1 to print dot or at O not to print dot If the value of mis outside the specified range nL and the data following are processed as normal data To print the bit image use the commands 0A or 0D After printing a bit image the printer reverts to normal data processing mode This command is not affected by bold double strike underlining etc modes with the exception of upside down mode The relationship between the image data and the dots to be printed is as follows TG1260 2460 2 38 CUSTOM 2 PRINTER FUNCTIONS Default Reference Example 1B 40 Name Format Description Notes Default Reference Example 1B 42 Name Format Description Notes Default Reference Example 1B 43 Name Format Description 8
19. 1 4 5 D RTS 5 6 D xNC 36 7 O XNC 7 8 D XN C 418 j 9 Printer side PC side 1 2 SETUP The printer enables the configuration of the printer default parameters see fig 1 4 pressing both the PRINT and the FEED keys during the printer power up The parameters affected during configuration are Printer emulation ESC POS 2 CUSTOM DPT24 CUSTOM DPT42 o CBM iDP560RS Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 Data Lenght 7 8 bits chr Parity None even or odd Handshaking XON XOFF or Hardware Autofeed CR disabled o CR enabled USB Address 09 1 2 3 4 5 6 7 8 9 USB Monitor Disabled or enabled Panel key Enabled or Disabled Print mode Normal o Reverse Font type ESC POS emulation Chars line A 32 B 42 col or A 42 B 56 col DPT24 emulation Font type Font A or Font B DPT42 emulation Font type Font A or Font B CBM iDP560RS emulation Font dimensions 11x24 40 col or 18x24 24 col CUSTOM 1 3 TG1260 2460 1 INSTALLATION AND OPERATION Speed Quality Normal Low Offline Disabled Enabled Print density Normal Dark Very Dark Light Very Light Notes The parameters indicates with a symbol are the default values amp NOTE Using this parameter it is possible to select whether the Busy signal is activated when the printer is both in Off Line status and the buffer is full or
20. 2 Inspection cover for paper outlet CUSTOM TG1260 2460 Blank page TG1260 2460 CUSTOM TABLE OF CONTENTS INTRODUCTION MANUAL ORGANIZATION p 1 SYMBOLS USED IN THE MANUAL oo cee cece een eter ener erate eens eens esaaeeseaeeseaeeseaeeseaeeseaeeseeeseeeseeesnaeeseeeee 1 GENERAL SAFETY INFORMATION seeseeeeneeeeeen nennen nnne ren teren neri n mnes ter sene enin n rsen nene nennen 1 UNPAGKING THE PRINTER E 2 PRINTER DESCRIPTION E 2 MAIN APPLICATIONS c 2 1 INSTALLATION AND OPERATION jepeeniseec E a i a aa aa a i a teeta a aaa aaa 1 1 WANA Power Supply TG1260 ene eerie tedesca esa etaed acte aaia eidiaeth 1 1 1 1 2 Power supply TG2460 1 iaaa Prado Derek tiere Qe a Fa CERE NERO ee deen 1 1 TALS USB COMMCCIOM E 1 2 js Eco epp lEeehltztoe meme 1 2 1 4 5 Connection printer PC iiie iere cette cct sacco Gaede bab ee DER RR nnd cee 1 3 Te2 SETUP EE 1 3 perire IPM 1 4 nnne 1 5 1 4 1 Changing the paper roll ssssessssssessssssseeeeeenennnne nennen nnns nthnnt nent ns rennes nene rns nennt 1 5 1 4 2 Notes for installation and using the printer in the upside down position sesssssss 1 6 2 PRINTER FUNCTIONS 24 CONTROL CHARACTERS etta cavensiacreavssveveveccecaucdavactatedduevataaas
21. Autocutter not supplied On 02 2 Autocutter supplied Ol 00 0 Non label thermal paper 2 On 04 4 Label thermal paper 3 RESERVED 4 Ol 00 0 Fixed to Off 5 RESERVED 6 RESERVED 7 Ol 00 0 Fixed to Off When the DTR DSR control is selected the printer only transmits 1 byte Printer identification after it has been given confirmation that the host is ready to receive data If the host is not ready the printer waits until it is When the XON XOFF control is selected the printer only transmits 1 byte Printer identification if it has not been given confirmation that the host is ready to receive data This command is carried out once the data has been processed in the reception buffer There may therefore be a delay between the moment in which the command is received and that in which the data is transmitted depending on the status of the reception buffer Name Format Range Description CUSTOM 2 25 Set left margin ASCII GS L nL nH Hex 1D 4C nL nH Decimal 29 76 nL nH OxnL nH x 255 Sets the left margin The left margin is set at nL nH x 256 x horizontal motion unit inches Printable area TG1260 2460 Notes Default Reference Example 1D 50 x y Name Format Range Description Notes Default Reference Example 1D 57 nL nH Name Format Range Description TG1260 2460 2 PRINTER FUNCTIONS e a
22. DH x 256 If counting up reaches a value exceeding the maximum it is resumed with the minimum value n setting count down mode the maximum value of the counter is aL aH x 256 and the minimum value is bL DH x 256 If counting down reaches a value less than minimum it is resumed with the maximum value When the command is executed the internal count that indicates the repetition number specified by ris cleared aL 1 aH 0 bL 255 bH 255 n 1 r 1 1D 43 30 1D 43 32 1D 43 3B 1D 63 Set counter ASCII GS C 2 nL nH Hex 1D 43 32 nL nH Decimal 29 67 50 nL nH 0 lt nL nH x 255 Sets the serial number counter value nL and nH determine the value of the serial number counter set by nL nH x 256 In count up mode if the counter value specified by this command goes out of the counter operation range specified by 1D 43 31 or 1D 43 3B it is forced to convert to the minimum value by 1D 63 In count down mode if the counter value specified by this command goes out of the counter operation range specified by 1D 43 31 or 1D 43 3B it is forced to convert to the maximum value by 1D 63 nL 2 1 nHz0 1D 43 30 1D 43 31 1D 43 3B 1D 63 TG1260 2460 2 PRINTER FUNCTIONS 1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B Name Select count mode Format ASCII GS C sa sb sn sr sc Hex 1D 4 3B sa 3B sb 3B sn 3B sr 3B sc3B Decimal 29 67 59 sa 59 sb 59 sn 59 sr 59
23. Enhanced character designation ASCII RS Hex 1E Decimal 30 Printing of the character is executed in expanded format The command RS is automatically launched after printing Set up from front keys 01 02 03 04 SOE 0F 1F Standard character designation ASCII US Hex 1F Decimal 31 Printing of the character is executed in small format normal Set up from front keys 01 02 03 04 0E OF 1E Set 3 mm line spacing ASCII ESC 1 Hex 1B 31 Decimal 27 49 Sets 3 mm line spacing 1B 32 Set 5 5 mm line spacing ASCII ESC 2 Hex 1B 32 Decimal 27 50 Set 5 5 mm line spacing 1B 31 CUSTOM 2 61 TG1260 2460 1B 40 Name Format Description Notes Default Reference Example 1B 43 n Name Format Range Description Notes Default Reference Example 1B 4B n1 n2 Name Format Range Description Notes Default Reference Example 1B 4F Name Format Description Notes 2 PRINTER FUNCTIONS Inizialize the printer ASCII ESC Hex 1B 40 Decimal 27 64 Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on Same as hardware reset Page length designation and page formatting ASCII ESC C n Hex 1B 43 n Decimal 27 67 n 14 lt n lt 120 This command sets the length number of lines of the page and paging formatting
24. GS B n Hex 1D 42 n Decimal 29 66 n Range 0 lt n lt 255 Description Turns white black reverse printing mode on or off When the LSB of nis 0 white black reverse printing is turned off When the LSB of nis 1 white black reverse printing mode is turned on Notes Only the LSB of nis effective This command is available for built in characters and user defined characters This command does not affect bit image downloaded bit image bar codes HRI characters and spacing skipped by 09 1B 24 and 1B 5C This command does not affect the space between lines White black reverse mode has a higher priority than underline mode Even if underline mode is on it is disabled but not cancelled when white black reverse mode is selected Default n 0 Reference Example 1D 43 30 n m Name Select counter print mode Format ASCII GS C 0 n m Hex 1D 43 30 n m Decimal 29 67 48 n m Range O lt n lt 5 m 0 1 2 48 49 50 Description Selects a print mode for the serial number counter n specifies the number of digits to be printed as follows when n 0 the printer prints the actual digits indicated by the number value when n 1 to 5 this command sets the number of digits to be printed m specifies the printing position within the entire range of printed digits as follows m Printing position Processing of digits less than those specified 0 48 Align right Adds spaces to
25. Hex 1D 3A Decimal 29 58 Starts or ends macro definition Macro definition starts when this command is received during normal operation When the command 1D 5E is received during macro definition the printer ends the macro definitions and clears all definitions Macro not defined when the power is turned on The defined contents of the macro are not cleared by the command 1B 40 Therefore 1B 40 can be included in the contents of the macro definitions If the printer receives the command 1D 3A again immediately after previously receiving 1D 3A the printer remains in the macro undefined state The contents of the macro can be defined up to 1024 bytes If the macro definition exceeds 1024 bytes the excess data is not not stored 1D 5E Set counter print mode ASCII GS C 0 n m TG1260 2460 2 PRINTER FUNCTIONS Hex 1D 43 30 n m Decimal 29 67 48 n m Range O lt n lt 5 m O 1 2 48 49 50 Description Selects a print mode for the serial number counter n specifies the number of digits to be printed as follows when n 0 the printer prints the actual digits indicated by the number value when n from 1 to 5 this command sets the number of digits to be printed m specifies the printing position within the entire range of printed digits as follows m P Processing of digits lower than those specified 0 48 Right justification Add spaces to left 1 49 Right ju
26. Name Format CUSTOM 2 31 Transmits the status specified by n as follows n Function 1 49 Transmits paper sensor status same as 1B 76 Bit Off On Hex Decimal Function RESERVED n RESERVED 23 Off 00 0 Paper end sensor paper present On 0C 12 Paper end sensor paper not present 4 Off 00 0 Fixed to Off 5 z x RESERVED 6 S RESERVED 7 Off 00 0 Fixed to Off This command is executed when the data is processed in the reception buffer There may therefore be a time lag between receiving the command and transmitting the status depending on the status of the reception buffer 10 04 1B 75 1B 76 Set bar code width ASCII GS w n Hex 1D 77 n Decimal 29 119 n 2 lt n lt 6 Sets the horizontal size of the bar code n specifies the bar code width as follows n Module width mm 2 0 25 3 0 375 4 0 5 5 0 625 6 0 75 n 3 1D 6B Set superscript subscript ASCII GS n Hex 1D 7E n Decimal 29 126 n TG1260 2460 Range Description Notes Default Reference I 1D 7C n Name Format Range Notes Default Description Reference Example n 0 1 48 49 2 PRINTER FUNCTIONS Sets superscript or subscript character position n specifies the position as follows n Function 0 48 Subscript character position 1 49 Superscript character position
27. Reference Example 1B 21n P3 P2 P1 follow from left to right as shown 1st byte 3 2nd byte gt 3rd byte 3 P6 P5 P4 P3 P2P1 P6P5P4P3P2P1 P6 P5 P4 P3 P2 P1 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 n x 40 0D Name Format Range Description Notes Default Reference Example 1B 24 nL nH Select print modes ASCII ESC n Hex 1B 21 n Decimal 27 33 n O0 lt n lt 255 Selects the print mode using n see following tables Bit Off On Hex Decimal Function 0 Off 00 0 Character font A selected On 01 1 Character font B selected 1 RESERVED 2 RESERVED 3 Off 00 0 Bold mode not selected On 08 8 Bold mode selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 Off 00 0 Script mode not selected On 40 64 Script mode selected 7 Off 00 0 Underline mode not selected On 80 128 Underline mode selected The printer can underline all the characters but it cannot underline the space set by command 1B 24 and 90 clockwise rotated characters When the characters on the same line are enlarged to different heights they are either aligned at the baseline or topline This command resets the lef
28. This command is effective for all characters except HRI characters If n is outside the defined range this command is ignored When characters are enlarged with different heights on one line the are aligned at the baseline or topline see 1D 7E The character size can also be selected by the command 1B 21 However the setting of the last received command is effective Default n 0 Reference 1B 21 Example 1D 3A Name Start end macro definition Format ASCIl GS Hex 1D 3A Decimal 29 58 Description Starts or ends macro definition Notes Macro definition starts when this command is received during normal operation When the command 1D 5E is received during macro definition the printer ends the macro definitions and clears all definitions Macro not defined when the power is turned on The defined contents of the macro are not cleared by the command 1B 40 Therefore 1B 40 can be included in the contents of the macro definitions If the printer receives the command 1D 3A again immediately after previously receiving 1D 3A the printer remains in the macro undefined state The contents of the macro can be defined up to 1024 bytes If the macro definition exceeds 1024 bytes the excess data is not not stored Default Reference 1D 5E Example CUSTOM 2 21 TG1260 2460 2 PRINTER FUNCTIONS 1D 42 n Name Turn white black reverse printing mode on off Format ASCII
29. been completed before executing total cut 2 16 CUSTOM 1B 74 n Name Format Range Description Note Default Reference Example 1B 76 Name Format Description Notes Default Reference Example CUSTOM 2 17 2 PRINTER FUNCTIONS Select the character code table ASCII ESC t n Hex 1B 74 n Decimal 27 116 n n 0 19 255 Selects a page n from the character code table as follows n Page O0 0 PC437 U S A Standard Europe 19 19 PC858 for Euro symbol at position 213 255 Page space n 0 See character code table For printing Euro symbol the command sequence is 1B 74 13 D5 Transmit paper sensor status ASCII ESC V Hex 1B 76 Decimal 27 118 Transmits the current paper sensor status upon receiving this command This command is executed immediately even when the reception buffer is full Busy The status to be transmitted is shown in the table below Bit Off On Hex Decimal Function Off 00 0 si paper end sensor 0 1 aper present On 03 3 Near paper end sensor Near paper end Off 00 0 Paper end sensor 2 3 Paper present On 0C 12 Paper end sensor Paper end 2 Off 00 0 Fixed to Off 2 E RESERVED 9 RESERVED f Off 00 0 Fixed to Off 10 04 TG1260 2460 1B 78 n Name Format Range Description Notes Default Reference Example
30. begins A space of three lines is left at both the top and bottom of the page Page formatting can be cleared through the command 1B 4F n 66 0C 1B 4F Graphic mode printing ASCII ESC K n1 n2 Hex 1B 4B n1 n2 Decimal 27 75 n1 n2 1 lt n1 lt 240 n2 mute data This command prints n1 bytes of data in graphic mode The data bytes are arranged vertically starting from the left margin but only the first seven LSBs are significant After the last data byte the printer prints forward feeds the paper by 21 dots per line and graphic mode printing is cleared Page formatting off ASCII ESC O Hex 1B 4F Decimal 27 79 Cancel page formatting mode TG1260 2460 2 62 CUSTOM 2 PRINTER FUNCTIONS Default Reference Example 1B 69 Name Format Description Notes Default Reference Example 1B 43 Total cut ASCII ESC i Hex 1B 69 Decimal 27 105 This command enables cutter operation if there is no cutter a disabling flag is set any subsequent cutting commands will be ignored The printer waits until all the paper movement commands have been completed before executing total cut 1B FA n xH xL yH yL Name Format Range Description Notes Default Reference Example 1C CO 34 Name Format Description Notes CUSTOM 2 63 Print graphic bank 448 x 1170 dots ASCII ESC n XH xL yH yL Hex 1B FAn xH xL yH yL Decimal 27 250 n
31. from flash or ram n selects the bank as follows n Function 1 Print flash bank logo 1 2 Print flash bank logo 2 XL XH x 256 specifies the starting dot line 1 1170 yL yH x 256 specifies the number of lines to print If xL XH x 256 gt 1170 the printer does not execute the command e Se xL XHx256 yL yH x 256 gt 1170 the printer only prints 1170 xL xH x 256 1 dotlines To print logo 1 from flash bank dotline 100 to dotline 299 send 1B FA 01 00 64 00 C7 1B FF m nL nH do dn Name Format Range Description Receive and store logos in flash ASCII ESC m nL nH dO dn Hex 1B FF m nL nH dO dn Decimal 27 255 m nL nH do dn 0 lt nL nH lt 255 1 mx2 0 lt qd0 dn lt 255 Received nL nH x 256 x 2 bytes and store in the flash If pL nH x 256 exceeds 32768 the data following will be processed as normal data Saved the graphics bank from flash m selects the bank as follows Um reen Save logotype into flash bank 1 Save logotype into flash bank 2 CUSTOM 2 45 TG1260 2460 2 PRINTER FUNCTIONS d0 dn value of bit stream image Default Reference Example To store the logotype indicated below into flash bank 2 necessity execute the follows operation 1 Define the image dimensions The width of image is 448 horizontal pixel the height maximun of image is 1170 vertical pixel 2 Calculate the nu
32. line 1 1170 yL yH x 256 specifies the number of lines to print Notes If xL xH x 256 gt 1170the printer does not execute the command elf xL Hx 256 yL yHx 256 1170the printer only prints 1170 xL xH x 256 1 dotlines Default Reference Example To print logo 1 from flash bank dotline 100 to dotline 299 send 1B FA 01 00 64 00 C7 1B FF m nL nH d0 dn Name Receive and store logos in flash Format ASCIl ESC m nL nH dO dn Hex 1B FF m nL nH dO dn Decimal 27 255 m nL nH do dn Range 0 lt nL nH x 255 1xms2 O0 lt d0 dn lt 255 Description Received nL nH x 256 x 2 bytes and store in the flash If nL nH x 256 exceeds 32768 the data following will be processed as normal data Saved the graphics bank from flash m selects the bank as follows Save logotype into flash bank 1 Save logotype into flash bank 2 e d0 dn value of bit stream image Default Reference Example To store the logotype indicated below into flash bank 2 necessity execute the follows operation 1 Define the image dimensions The width of image is 448 horizontal pixel the height maximun of image is 1170 vertical pixel 2 Calculate the number of bytes to send as height pix width pix 16 Bytes number in example is 448 x 1170 16 32760 in exadecimal resulting 7FF8 3 Bit stream image conversion In the following figure is reproduced the logotype enlargement
33. only if the reception buffer is full S 09 NOTE These parameters are shown only for the USB interface models The settings made are saved on the EEPROM non volatile memory During the setup routine the printer prints out the setup report and will remain in standby until another key is pressed or characters are received through the printer communication port After this each time the PRINT key is pressed the parameter is modified and its current value is printed Once the required 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 the 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 PRINTER SETUP PROGRAM MEMORY OK PRINTER BUFFER OK Fig 1 5 CUTTER ostii idisse ido OK HEAD VOLTAGE V 24 00 HEADTEMPERATURE C 325 Printer Emul ESC POS TM Baud Rate 115200 bps Data length 8 bits chr Parity None Handshaking Xon Xoff Autofeed CR disabled USB Address 0 USB Monitor Disabled Panel key Enabled Print Mode Normal Chars line A 32 B 42 col Speed Quality Normal Offline Disabled Print Density Normal PRINT key to enter setup FEED key to skip setup TG1
34. specified values The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch or an exact multiple of that value x 200 y 200 1B 20 1B 24 1B 5C 1B 33 1B 4A 1D 4C 1D 57 Set printing area width ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH 0 lt nL nH lt 255 Sets the printing area width to the area specified by nL and nH 2 26 CUSTOM 2 PRINTER FUNCTIONS Notes Default Reference Example 1D 5Ert m Name Format Range Description Notes Default Reference Example The left margin is set at nL nH x 256 x horizontal motion unit inches Printable area yt Pt E Left margin Width of print area This command is only enabled at the beginning of the line If right margin is greater than printable area then the printing area width is set at maximum value If printing area width 0 then it is set at maximum value The horizontal and vertical motion unit are specified by 1D 50 Changing the horizontal or vertical motion unit does not affect the current left margin The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount and it must be expressed in even units of the minimum horizontal movement amount If Font A nL 192 nH 1 If Font B nL 2164 nH 1
35. xH xL yH yL 1 lt ns lt 2 0 XH xL yH yL lt 255 Prints the graphics bank from flash n selects the bank as follows n Function 1 Print flash bank logo 1 2 Print flash bank logo 2 XL xH x 256 specifies the starting dot line 1 1170 yL yH x 256 specifies the number of lines to print If xL XH x 256 gt 1170 the printer does not execute the command e Se XL xHx 256 yL yHx 256 1170 the printer only prints 1170 xL xH x 256 1 dotlines To print logo1 from flash bank dotline 100 to dotline 299 send 1B FA 01 00 64 00 C7 Total cut and automatic paper moving back ASCII FS 4 Hex 1C CO 34 Decimal 28 192 52 This command enables cutter operation and executes a total cut and automatic paper moving back if there is no cutter a disabling flag is set any subsequent cutting commands will be ignored The printer waits until all the paper movement commands have been completed before executing total cut TG1260 2460 2 PRINTER FUNCTIONS Default Reference Example 1D 49 n Name Format Range Description Transmit printer ID ASCII GS n Hex 1D 49 n Decimal 29 73 n 1 lt n lt 3 49 lt n lt 51 Transmits the printer ID specified by n as follows n Printer ID Specification 1 49 Printer model identification 6D TG2460 2 50 Function identification See following table 3 51 ROM version
36. 260 2460 CUSTOM 1 INSTALLATION AND OPERATION 1 4 MAINTENANCE 1 4 1 Changing the paper roll Every time you change the paper referred to fig 1 5 need to check as follows Lift the wicket relative to paper roll compartment and check that there are no scraps of paper at the area indicated with a letter near the printing head If there are remove the scraps before proceeding with any other operation EN Fig 1 6 Fig 1 7 CUSTOM 1 5 TG1260 2460 1 INSTALLATION AND OPERATION To clean do not use harsh chemical solvents the use of a soft alcohol moistened cloth is recommended To change the paper roll in the printer proceed as follows 1 Position the paper roll 1 so that it rotates in the direction shown in fig 1 6 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 XX N WARNING Before inserting the paper ensure that it is cut evenly Fig 1 8 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 Release the spring Fig 1 9 from this side TG1260 2460 1 6 CUSTOM 1 INSTALLATION AND OPERATION 1 Release the spring as indicated in fig 1 8 and placed it in the new position as indicat
37. 3 Decimal 29 99 Sets the serial counter value in the print buffer and increments or decrements the counter value After setting the current counter value in the print buffer as print data a character string the printer counts up or down based on the count mode set The counter value in the print buffer is printed when the printer receives a print command or is in the buffer full state The counter print mode is set by 1D 43 30 The counter mode is set by 1D 43 31 or 1D 43 3B In count up mode if the counter value set by this command goes out of the counter operation range set by 1D 43 31 or 1D 43 3B it is forced to convert to the minimum value In count down mode if the counter value set by this command goes out of the counter operation range set by 1D 43 31 or 1D 43 3B it is forced to convert to the maximum value 1D 43 30 1D 43 31 1D 43 32 1D 43 3B Select font for HRI characters ASCII GS f n Hex 1D 66 n Decimal 29 102 n n 0 1 48 49 Selects a font for the HRI characters used when printing a bar code n selects a font from the following table n Font 0 48 Font A 1 49 Font B The HRI characters are printed at the position specified by the command 1D 48 n 0 1D 48 1D 6B Set bar code height ASCII GS h n Hex 1D 68 n Decimal 29 104 n 1 lt n lt 255 Sets the height of the bar code n specifies the number of dots in the vertical directio
38. 4 nL nH ESC nL nH Set absolute position 1B 2A m nL nH di dk ESC m nL nH d1 dk Set bit image mode 1B 40 ESC Initialize printer 1B 42 ESC B Select FONT 1 1B 43 ESC C Total cut 1B 4B 0D ESC K d CR Set characters to transmit on pressing Print key dH dL 1B 47 dH dLESC G Set default parameters dH dL 1B 4D dH dL ESC M Set default parameters of print mode 1B 4E ESC N Set printing in NORMAL 1B 52 ESC R Set printing in REVERSE 1B 56 n ESC Vn Set print mode rotated by 90 1B 61 n ESC an Select justification 1B 62 ESC b Set font 2 1B 6D ESC m Read default parameters of print mode 1B 70 ESC p Read default parameters aH aL 1B 72 aH aL ESC r Read EEPROM location 1B 74n ESC tn Select character code table 1B 76 ESC v Transmit printer status aH aL dH dL 1B 77 aH aL dH dL ESC w Write EEPROM location 1B FA n xH xL yH yL ESC n xH xL yH yL Print graphic bank 1B FF m nLnH dO dn ESC mnL nH d0 dn Receive and store logos in Flash 1C CO 34 FS 4 Total cut and automatic paper moving back 1D 0C GS FF Print the buffer contents 1D 3A GS Set starting end of macro definition 1D 43 30 nm GSCOnm Select counter print mode 1C CO 34 FS 4 Total cut and automatic paper moving back ee 31 alLaHbl Gg 1 alaHbLbHnr Select count mode A 1D 43 32 nL nH GS C 2 nL nH Select counter CUSTOM 2 33 TG1260 2460 2 PRINTER FUNCTIONS Com HEX Com
39. 460 0F Name Format Description Notes Default Reference Example 11 Name Format Description Notes Default Reference Example 13 Name Format Description Notes Default Reference Example 18 Name Format Description Notes Default Reference Example TG1260 2460 2 PRINTER FUNCTIONS Standard character designation same as 1F ASCII SI Hex OF Decimal 15 Printing of the character is executed in small format normal Same as 1F Set up from front keys 01 02 03 04 SOE 1E 1F Places the printer ON LINE ASCII DC1 Hex 11 Decimal 17 Places the printer ON LINE Only this code can be accepted independently of the status OFF LINE 13 Places the printer OFF LINE ASCII DC3 Hex 13 Decimal 19 Places the printer OFF LINE 11 Cancel print data buffer ASCII CAN Hex 18 Decimal 24 Deletes all the print data in the current print buffer This command sets the print position at the beginning of the line 2 60 CUSTOM 2 PRINTER FUNCTIONS 1E Name Format Description Notes Default Reference Example 1F Name Format Description Notes Default Reference Example 1B 31 Name Format Description Notes Default Reference Example 1B 32 Name Format Description Notes Default Reference Example
40. 8 1D 77 Set bar code width ASCII GS w n Hex 1D 77 n Decimal 29 119 n 2 lt n lt 6 Sets the horizontal size of the bar code n specifies the bar code width as follows n Module width mm 2 0 25 3 0 375 4 0 5 5 0 625 6 0 75 TG1260 2460 Notes Default Reference Example 1D 7C n Name Format Range Description Notes Default Reference Example n 3 1D 6B Set printing density ASCII GS Hex 1D Decimal 29 O lt n lt 4 48 lt n lt 52 i 7C 124 n 2 PRINTER FUNCTIONS Sets the printing density n specifies the printing density as follows n Printing density 0 48 Very light 1 49 Light 2 50 Normal 3 51 Dark 4 52 Very dark The printing density is cleared at default value when the printer is reset or the power is turned off n 2 TG1260 2460 2 56 CUSTOM 2 PRINTER FUNCTIONS 2 1 3 CBM iDP560RS Emulation The following table lists all the commands for function management in CBMiDP560RS Emulation The commands can be transmitted to the printer at any moment but they will only be carried out when the commands previously sent have been executed There are no priority commands all commands are carried out when the circular buffer is free to do to COMMAND TABLE 00 NUL Printing with small characters 01 SOH Print
41. 8 JAN 7 lt n lt 8 48 lt d lt 57 69 CODE39 1 lt n lt 255 48 lt d lt 32 36 37 S 70 ITF 1 lt n lt 255 48 lt d lt 57 71 CODABAR 1 lt n lt 255 Ho a oo 72 CODE93 1 lt n lt 255 0 lt d lt 127 73 CODE128 2 lt n lt 255 0 lt d lt 127 90 CODE32 8 lt n lt 9 48 lt d lt 57 Notes If dis outside the specified range the printer prints the following message BAR CODE GENERATOR NON OK and processes the following data as normal data If the horizontal size exceeds the printing area the printer only feeds the paper This command feeds as much paper as is required to print the bar code After printing the bar code this command sets the print position at the beginning of the line This command is not affected by print modes bold double strike underline or character size with the exception of upside down mode and justification Notes for This command ends with a 00 code When the bar code used is UPC A or UPC E the printer prints the bar code data after receiving 11 without check digit or 12 with check digit byte bar code data When the bar code system used is EAN13 the printer prints the bar code after receiving 12 without check digit or 13 with check digit byte bar code data When the system used is EAN8 the printer prints the bar code after receiving 7 without check digit or 8 with check digit byte bar code data The number of data for ITF bar code must be even When an odd number of data is input
42. ABBI TEM 3VYKIIMHON PCTYQXLIMIIIbbIb 3105 eee ido india ibl D p teas e ARE LEP a EE Ot2e lt sfjJe V 7 8t DPT 42 FONT B 0123456789 ABCDET MN 7 0123456789 lt gt WABCDEFGHI JKLMNO PQRSTUWXYZINI abcdefghi jk lmno pqrstuvvxyzti a ABBETIER SAZKTIMHOLI PCTYOXUYUUbhb 308 aoBrTiex SAKnMorn eun uw ur ney Uont t pri fd PCTYOXUYUUbbb 309 Desf i g 90 aD m wI x TG1260 2460 4 CHARACTER SET Blank page TG1260 2460 4 2 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS A 1 ACCESSORIES A 1 1 Power supply A 1 1 1 Power supply for TG2460 The figure below illustrates the power supply provided by Custom to be used for printer operation Fig A 1 TOLERANCE 2 0 15 0 25 0 4 250 800 08 800 2600 15 gt I I a 1 62 0 120 0 Tab A 1 PPSPS 100 24V Switching power supply 24V 100W Imput specification Input voltage 85V 264 Current OA 4 5A Input frequency 47 Hz 63 Hz Output specifications Output volatge 24V Output current Min Max OA 4 5A Efficiency Min 80 Enviromental conditions Operating temperature 0 C 70 C Humidity 20 85 Rh w o condensation Storage temperature 10 C 75 C Humidity 10 95 Rh w o condensation Protection devices Shortcirc
43. ASCII Description 1D 4 B B SC sa sb sn sr e is Pte ecc um ie Select coun mode B 1D 48 n GS Hn Select printing position of HRI characters 1D 49 n GS In Transmit printer ID 1D 50 xy GS P xy Set horizontal and vertical motion units 1D 5Ertm GS rtm Execute macro 1D 63 GSc Print counter 1D 66 n GSfn Select font for HRI characters 1D 68 n GShn Select height of bar code 1D 6B m 00 GS k m NUL Print bar code 1D 77 n GSwn Select horizontal size magnification of bar code 1D 7C n GS n Set printing density NOTE in Note column where the model is not specified the command is valid for all models The following pages provide a more detailed description of each command Name Print with small character Format ASCII NUL Hex 00 Decimal 0 Description Character printing is executed in small format normal Notes Setting remains until the next set Default Set up from front keys Reference 01 02 03 04 Example 01 Name Printing with double width character Format ASCII SOH Hex 01 Decimal 1 Description Printing of the character is executed in double width format Notes Setting remains until next set Default Set up from front keys Reference 00 02 03 04 Example 02 Name Printing in double height character Format ASCII STX Hex 02 Decimal 2 Description TG1260 2460 Printing of the character is executed in double height format 2 34 CUSTO
44. E 1F 2 58 CUSTOM 2 PRINTER FUNCTIONS 0A Name Format Description Notes Default Reference Example 0C Name Format Description Notes Default Reference Example 0D Name Format Description Notes Default Reference Example 0E Name Format Description Notes Default Reference Example CUSTOM 2 59 Print and line feed ASCII LF Hex OA Decimal 10 Prints the data in the buffer and feeds one line based on the current line spacing This command sets the print position at the beginning of the line 1B 31 1B 32 Carries out form feed after printing ASCII FF Hex OA Decimal 10 Prints the data in the buffer and feeds in accordance with the page length specified by the command ESC C n This command sets the print position at the beginning of the line 1B 43 Print and line feed ASCII CR Hex oD Decimal 13 When autofeed is 0D enabled this command functions in the same way as 0A otherwise it is ignored This command sets the print position at the beginning of the line See the autofeed parameter from Setup 0A Improved character designation same as 1E ASCII SO Hex OE Decimal 14 Printing of the character is executed in expanded format The command SO is automatically launched after printing Same as 1E Set up from front keys 01 02 03 04 OF 1E 1F TG1260 2
45. E i 83 1 I L I L 24 2 l lt _ i Te i wr L I L i N LO 3 P 9 L L 2 I Y L L L I L L 69 i lt gt I I 86 i a L I Fig A 12 TG1260 2460 A 10 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS TG2460 U M model USB interface and metal front panel without autocutter 84 ra gt 78 ra 81 J A 7 a B4 2 60 i WIR EPIS e HHHHHHHHHHMHE 3 i n n e IN y a 1 e cu A 4 Od ips 4 jJ M P qu D W e i thy pi i Lo ex o C fs i O d PRINT FEED 2 eS D gt VY y lis KO Y Y Y Ne zu 1N 3 54 96 a Lo oi Fig A 13 CUSTOM A11 TG1260 2460 APPENDIX A ACCESSORIES AND SPARE PARTS A 1 3 Paper dispenser unit Fig A 14 Insert the paper dispenser unit feathers in their seats on the plate which holds the autocutter Assemble the fastening screw of paper dispenser unit to the plate which holds the autocutter U Fig A 16 TG1260 2460 A 12 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS 16 9
46. Example 11 Name Format Description Notes 2 PRINTER FUNCTIONS Print and line feed ASCII CR Hex OD Decimal 13 This command prints the data in the buffer This command sets the print position at the beginning of the line 0A Ignore CR ASCII SI Hex OF Decimal 15 After this command the CR code is ignored To put the CR code back into operation reset the printer Graphic mode DP24 40 ASCII DC1 Hex 11 Decimal 17 Prints in graphic mode like the DP 24 40 The command 11 enables the DP24 40 printer graphic mode i e to print in graphic mode transmit the command 11 at the beginning of each line One line for the DP24 40 printer 24 column model corresponds to 44 horizontal dots divided into 24 6 dot blocks For the DP24 40 printer 40 column model one line corresponds to 240 horizontal dots divided into 40 6 dot blocks The size of the graphic dot and the number of dots per line vary depending on the number of columns To obtain a graphic printout enter the command 11 at the beginning of each line The graphic configuration byte format is as follows X R P6 P5 P4 P3 P2 P1 D7D6 D5 D4 D3 D2 Di DO where X is not utilized we recommend 0 R must be set at 1 P1 P6 are the data of the graphic dots 1 prints O does not print The P6 bit of the string of dots transmitted is printed on the left and the others P5 P4 2 36 CUSTOM TG1260 2460 2 PRINTER FUNCTIONS Default
47. L nH x 256 If the bit image data exceeds the number of dots to be printed on a line the excess data is ignored dindicates the bit image data Set a corresponding bit to 1 to print dot or to O not to print dot if the value of mis out of the specified range nL and the data following are processed as normal data If the width of the printing area set by the commands 1D 4C and 1D 57 is less than the width required by the data sent with the command 1B 24 the excess data is ignored To print the bit image use commands 0A 0D 1B 4A or 1B 64 After printing a bit image the printer returns to normal data processing mode This command is not affected by bold double strike and underline etc print modes only by upside down mode The relationship between the bit image and the dots to be printed is as follows 8 dot image 24 dot image MSB MSB Bit Bit image image data data LSB LSB Print data Turn underline mode on off ASCII ESC n Hex 1B 2D n Decimal 27 45 n O lt n lt 2 48 lt n lt 50 Turns underline mode on or off based on the following values of n n 0 48 Turns off underline mode 2 9 TG1260 2460 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 Note
48. M 2 PRINTER FUNCTIONS Notes Default Reference Example 03 Name Format Description Notes Default Reference Example 04 Name Format Description Notes Default Reference Example 0A Name Format Description Notes Default Reference Example n 0B Name Format Range Description Notes CUSTOM 2 35 Setting remains until next set Set up from front keys 00 01 03 04 Printing with expanded character ASCII ETX Hex 03 Decimal 3 Printing of the character is executed in expanded format Setting remains until next set Set up from front keys 00 01 02 04 Print with small character ASCII EOT Hex 04 Decimal 4 Character printing is executed in small format normal Setting remains until next set Set up from front keys 00 01 02 03 Line feed ASCII LF Hex OA Decimal 10 Prints the data in the buffer and feeds one line based on the current line spacing The command sets the print position at the beginning of the line 1B 32 1B 33 Vertical tabs ASCII n VT Hex n OB Decimal n 11 O lt n lt 9 Runs as many feeds as are defined by n This command zeroes the line buffer TG1260 2460 Default Reference Example 0D Name Format Description Notes Default Reference Example 0F Name Format Description Notes Default Reference
49. ON 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 a description of printer controls Chapter 3 Contains printer technical data Chapter 4 Contains the character sets fonts used by the printer Appendix Contains the printer accessories and spare parts description SYMBOLS USED IN THE MANUAL gt 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 Information indicated by this symbol must be followed carefully to avoid damage or operator injury GENERAL SAFETY INFORMATIONS 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 insert objects inside the printer as this could cause short circui
50. ON Tab 1 2 1 4 24 V POWER 2 GND SIGNAL GROUND N WARNING Be sure to observe the correct polarity for the power supply CUSTOM 1 1 TG1260 2460 1 INSTALLATION AND OPERATION 1 1 3 USB connector 3 PIN 1 Fig 1 2 24Ndc fe pu The printer with USB interface complies to USB 1 1 specifications that is Communication speed equal to 12 Mbit sec Type of connector Receptacle series B The signals on the pins of the USB connector are as follows Se a 9 E T SHELL SHIELD Cable shielding 1 1 4 RS232 serial connector The printer with serial RS232 interface is equipped with RJ45 connector In the following table are described the signals on the RS232 connector pins S i o Fig 1 3 Po 7 Ib i o iui TG1260 2460 1 2 CUSTOM 1 INSTALLATION AND OPERATION Lm sm emm e eem TAP Tab 1 4 e eem e recen 1 1 5 Connection Printer PC The diagrams below show a sample connection between printer and Personal Computer using a 8 pin male RJ45 connector by printer side and a 9 pin female connector by a PC side 1 D xNC As 1 5 n GND 2 TXD a 46 RXD f Fig
51. R FUNCTIONS Default Reference Example 1B 34 n Name Format Range Description Notes Default Reference Example 1B 3D n Name Format Range Description Notes Default Reference Example CUSTOM 2 11 n 32 1 6 inch 1B 30 1B 32 1D 50 Set reset script mode ASCII ESC 4 n Hex 1B 34 n Decimal 27 52 n O lt n lt 1 48 lt n lt 49 Turns script mode on or off based on the following values of n n Function 0 48 Turns script mode off 1 49 Turns script mode on The printer can print all characters in script mode When script mode is turned off by setting the value n at 0 or 48 the data that follows is printed in normal mode Script mode can also be turned on or off by using 1B 21 Note however that the last command received is effective n 0 1B 21 Select peripheral device ASCII ESC n Hex 1B 3D n Decimal 27 61 n 0 lt n lt 255 Selects the device to which the host computer sends data using n as follows Bit Off On Hex Decimal Function Off 00 0 Printer disabled On 01 1 Printer enabled RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED NIJA A WN When the printer is disabled it ignores all transmitted data until the printer is enabled by this command nz 1 TG1260 2460 ESC Name Format Description Notes
52. ameters See 1B 47 Set up from front keys 1B 47 Read EEPROM position ASCII aH aL ESC r Hex aH aL 1B 72 Decimal aH aL 27 114 0 lt a lt 63 aH 9 A aH F 0 lt aL lt 9 A lt aL lt F Reads the location addressed by a where aH is the most significant nibble expressed in ASCII of a aL is the least significant nibble expressed in ASCII of a 1B 77 To read the position 12 transmit 31 32 1B 72 The response will be the location value in hexadecimals expressed in two ASCII bytes Select the character code table ASCII ESC t n Hex 1B 74 n Decimal 27 116 n n 0 19 255 TG1260 2460 Description Note Default Reference Example 1B 76 Name Format Description Notes Default Reference Example 2 PRINTER FUNCTIONS Selects a page n from the character code table as follows n Page 0 0 PC437 U S A Standard Europe 19 19 PC858 for Euro symbol at position 213 255 Page space n 0 See character code table For printing Euro symbol the command sequence is 1B 74 13 D5 Transmit paper sensor status ASCII ESC V Hex 1B 76 Decimal 27 118 Transmits the current paper sensor status upon receiving this command This command is executed immediately even when the reception buffer is full Busy The status to be transmitted is shown in the table below
53. ashing Temperature or voltage ERROR MAIN APPLICATIONS This printer is the ideal solution for kiosks internet public offices bookings bank transactions instant lotteries self service instruments ticket dispensing public private transport automatic payments gaming machines parking lots vending machines queue management systems TG2460 2 CUSTOM 1 INSTALLATION AND OPERATION 1 1 CONNECTIONS a j e fe tmn 35 H 9 y 077 D Ga h a p l STE e Fig 1 1 PRNT FEED z A a E 1 1 1 Power supply 1260 Every printer available is equipped with a 2 pin male molex connector serie 5569 for the power supply The signals on the pins of the feed connector are as follows Model no type Header 90 Molex serie 5569 no 39 30 1020 Housing Molex serie 5557 no 39 01 3022 PIN SIGNAL DESCRIPTION 1 12V POWER Tab 1 1 2 GND SIGNAL GROUND N WARNING Be sure to observe the correct polarity for the power supply 1 1 2 Power supply 2460 Every printer available is equipped with a 2 pin male molex connector serie 5569 for the power supply The signals on the pins of the feed connector are as follows Model no type Header 90 Molex serie 5569 no 39 30 1020 Housing Molex serie 5557 no 39 01 3022 PIN SIGNAL DESCRIPTI
54. avedvavavsuteddenbalaisudaddeatsibinuanddeavabausacesatad 2 1 2 4 T ESC POS Enmulati n u oen reia Tec e Ya vel od caa een retra uv ava raa TR A vereda EG Q2 DRM DO IER qu 2 1 2 1 2 CUSTOM Emulation eeeesesssssseseennenenenennnn nnnm nennen nnne sn EA nne rn en en enses ss nan nana nnns 2 29 2 1 3 CBM IDP560RS EmnmllatiOElz ics aetas a tuum aout denke ska deni andan adde sna ek ska ia nasa TEX aaea 2 49 3 TECHNICAL SPECIFICATIONS 3 1 TECHNICAL SPECIFICATIONS esses enne nnne enne nnns enne i aie rennen enne 3 1 3 2 DIMENSIONS i e 3 3 32 1 TG2460 UA 3 3 3 2 2 TO2460 U N icri aai ange E a E E E a A E A TS 3 3 RPMKCELLLIEU Aare 34 4 CHARACTER SET 4 TOCHARAC TER SET d RR 4 1 APPENDIX A ACCESSORIES AND SPARE PARTS nuwpieszcls scce ainda anana a aa r E aieiaa kaaien aii sianida iniiaiee A 1 mmis ccrann AA AE A 1 A 1 1 1 Power supply for TG2460 sssssssssssssssssssseseene ener nenne sinn resi n nrnet ner nnn sintesi nennen nen A 1 A 1 1 2 Powersupply for TG 1260 cede oce titre tB Le cola sec rae ca x d aide eaves A 2 A 1 2 Adjustable paper holder support kit sessseeeeneneen mene rennes A 3 A13 Paper dispenser Unib Em A 12 A 2 SPARE PARTS 4i certis iue tese iaaio ai adana ai aria Sia aaaea daa aSa aaa eNi A 13 CUSTOM i TG2460 TABLE OF CONTENTS Blank page TG2460 ii CUSTOM INTRODUCTI
55. der support to the printer frame by the two fastening screws on issue in the kit Screw them where shown in fig A 4 and connect the near paper end sensor cable to the printer connector see the paper roll containment disks part If this condition isn t verified unloose the fastening f WARNING Check the paper roll pin is assembled with the beveled side turned in the low position screw of the pin to the paper holder support and locate it in the right position cn 1 i BEVELED SIDE Fig A 4 Fig A 5 CUSTOM A5 TG1260 2460 APPENDIX A ACCESSORIES AND SPARE PARTS Fastening the paper holder support in back position Fix the paper holder support to the printer frame by the two fastening screws on issue in the kit Screw them where shown in fig A 6 and connect the near paper end sensor cable to the printer connector WARNING Check the paper roll pin is assembled with the beveled side turned in the low position see the paper roll containment disks part If this condition isn t verified unloose the fastening screw of the pin to the paper holder support and locate it in the right position Sl es gt BEVELED SIDE Fig A 6
56. dot image 24 dot image MSB Bit image data LSB Print data Print data Inizialize the printer ASCII ESC Hex 1B 40 Decimal 27 64 Clears the data in the print buffer and resets the printer mode to the one that was in effect when the power was turned on Same as hardware reset Select Font 1 ASCII ESC B Hex 1B 42 Decimal 27 66 Select FONT 1 Setting remains until next set Set up from front keys 1B 62 Total cut ASCII ESC C Hex 1B 43 Decimal 27 67 This command enables cutter operation if there is no cutter a disabling flag is set and any subsequent cutting commands will be ignored CUSTOM 2 39 TG1260 2460 2 PRINTER FUNCTIONS Notes Default Reference Example 1B 4B d 0D Name Format Description Notes Default Reference Example dH dL 1B 47 The printer waits until all the paper movement commands have been completed before executing total cut Set the characters to transmit on pressing the Print key ASCII ESC K CR Hex 1B 4B OD Decimal 27 75 13 Saves characters to transmit on pressing Print key d is the ASCII string to transmit terminating with 0D To deactivate this function transmit a 00 The maximum number of characters to transmit is 24 with 0D at the end d 13 Name Format Range Description Notes Default Reference Example Set default parameters ASCIl dH dL ESC G Hex dH dL 1B 47 D
57. e CUSTOM 2 57 Character printing is executed in small format normal Setting remains until next set Set up from front keys 1E 1F 0F 0E 01 02 03 04 TG1260 2460 01 Name Format Description Notes Default Reference Example 02 Name Format Description Notes Default Reference Example 03H Name Format Description Notes Default Reference Example 04H Name Format Description Notes Default Reference Example TG1260 2460 2 PRINTER FUNCTIONS Printing with double width character ASCII SOH Hex 01 Decimal 1 Printing of the character is executed in double width format Setting remains until next set Set up from front keys 00 02 03 04 Printing in double height character ASCII STX Hex 02 Decimal 2 Printing of the character is executed in double height format Setting remains until next set Set up from front keys 00 01 03 04 0E 0F 1E 1F Printing with expanded character ASCII EXT Hex 03 Decimal 3 Printing of the character is executed in expanded format Setting remains until next set Set up from front keys 00 01 02 04 OE 0F 1E 1F Print with small character ASCII EOT Hex 04 Decimal 4 Character printing is executed in small format normal Setting remains until next set Set up from front keys 00 01 02 03 0E 0F 1
58. e specified by 1D 50 The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount In standard mode the horizontal motion unit x is used If the setting is outside the printing area width set absolute print position but left or right margin is set at default value Default Reference 1B 5C 1D 50 Example 1B 2A m nL nH d1 dk Name Select bit image mode Format ASCII ESC m nL nH di dk Hex 1B 2A m nL nH di dk Decimal 27 42 m nL nH di1 dk Range m 0 1 32 33 O lt nlL lt 255 O lt nH lt 1 0 lt d lt 255 Description Selects a bit image mode using m for the number of dots specified by nL and nH as follows Mode Vertical direction Horizontal direction 1 N dots DPI DPI N data k 0 8 dots single density 8 67 100 nL nH x 256 1 8 dots double density 8 67 200 nL nH x 256 32 24 dots single density 24 200 100 nL NH x 256 x 3 33 24 dots double density 24 200 200 nL nH x 256 x 3 TG1260 2460 2 8 CUSTOM Notes Default Reference Example 1B 2D n Name Format Range Description CUSTOM 2 PRINTER FUNCTIONS The commands nL and nH indicate the number of horizontal dots in the graphic image The nL and nH indicate the number of dots of the bit image in the horizontal direction The number of dots is calculated by n
59. ecimal dH dL 27 71 O lt dH dL lt 255 Sets default parameters as indicated as follows Bit Off On Hex Decimal Function 0 Off 00 0 NORMAL printing mode On 01 1 REVERSE printing mode 1 Off 00 0 0D command executed On 02 2 0D command ignored 2 Off 00 0 Horizontal printing On 04 4 Vertical printing Off 00 0 doesn t execute centered printing 9 On 08 8 executes centered printing 4 Off 00 0 Aligns print to left On 10 16 Align print to right 5 Of 00 0 Fixed to Off 6 Off 00 0 Deactivates underlining On 40 64 Activates underlining 7 Off 00 0 Deactivates bold printing On 80 128 Activates bold printing Setting is memorized in EEPROM Set up from front keys If dH 4 and dL D the value of dis 77 4D TG1260 2460 2 40 CUSTOM 2 PRINTER FUNCTIONS dH dL 1B 4D Name Format Description Notes Default Reference Example 1B 4E Name Format Description Notes Default Reference Example 1B 52 Name Format Description Notes Default Reference Example 1B 56 n Name Format Range Description CUSTOM 2 41 Set default parameters of print mode ASCIl dH dL ESC M Hex dH dL 1B 4D Decimal dH dL 27 77 Sets the default parameters of print mode as indicated as follows 00 small print 01 double width printing 02 double height printing 03 bold printing Sett
60. ed in fig 1 9 Fig 1 10 Hook the sprin in this position 2 The printer is ready to be installed in the upside down position Fig 1 11 S NOTE The operations described are valid for all models CUSTOM 1 7 TG1260 2460 1 INSTALLATION AND OPERATION Blank page TG1260 2460 1 8 CUSTOM 2 PRINTER FUNCTIONS 2 1 CONTROL CHARACTERS 2 1 1 ESC POS Emulation The following table lists all the commands for the management of the ESC POS Emulation The commands can be transmitted to the printer at any moment but they will only be carried out when the commands previously sent have been executed There are no commands with priority status all the commands are carried out when the circular buffer is feed to do so Tab 2 1 COMMAND TABLE 1B FA n xH xL yH yL ESC n xH xL yH yL 08 BS Moving back of one character 09 HT Horizontal tabs 0A LF Print and line feed 0D CR Print and line feed 10 04 n DLE EOT n Real time status transmission 18 CAN Cancel print data 1B 20 n ESC SPn Set character right side spacing 1B 21n ESC n Set print mode 1B 24 nL nH ESC nLnH Set absolute position 1B 2A m nL nH d1 dk ESC m nL nH d1 dk Set bit image mode 1B 2D n ESC n Turn underline mode on off 1B 30 ESC 0 Select 1 8 inch line spacing 1B 32 ESC 2 Select 1 6 inch line spacin
61. er counter and specifies the value of the counter sa sb sn sr and sc are all displayed in ASCII characters using the codes from O to 9 saand sb specify the counter range snindicates the stepping amount for counting up or down sr indicates the repetition number with the counter value fixed scindicates the counter value Notes Count up mode is specified when sa lt sb and sn z 0 and srz 0 Count down mode is specified when sa gt sb and sn 0 and srz 0 Counting stops when sa sbor sn 0or sr 0 In setting count up mode the minimum value of the counter is sa and the maximum is Sb If counting up reaches a value exceeding the maximum it is resumed with the minimum value If the counter value set by sc is outside the counter operation range the counter value is forced to convert to the minimum value by executing 1D 63 CUSTOM 2 49 TG1260 2460 2 PRINTER FUNCTIONS In setting count down mode the maximum value of the counter is sa and the minimum value is sb If counting down reaches a value less than the minimum it is resumed with the maximum value If the counter value set by sc is outside the counter operation range the counter value is forced to convert to the maximum value by executing 1D 63 Parameters sato sccan be omitted If omitted these values remain unchanged Parameters sa to sc must not contain characters with the exception of those from 0 to 9 Default sa
62. er stops command processing and process the following data as normal data The printer prints an HRI character o as a start character at the beginning of the HRI character string The printer prints an HRI character o as a stop character at the end of the HRI character string The printer prints an HRI character n as a control character 00 to 1F and 7F When using the CODE128 in this printer take the following points into account for data transmission The top of the bar code data string must be a code set selection character CODE A CODE B or CODE C which selects the first code set Special characters are defined by combining two characters and one character The ASCII character is defined by transmitting twice consecutively Data transmission Specific character ASCII Hex Decimal SHIFT S 7B 53 123 83 CODE A A 7B 41 123 65 CODE B B 7B 42 123 66 CODE C C 7B 43 123 67 FNC1 1 7B 31 123 49 FNC2 2 7B 32 123 50 FNC3 3 7B 33 123 51 FNC4 4 7B 34 123 52 T 7B 7B 123 123 1D 48 1D 66 1D 68 1D 77 Transmit status ASCII GS r n Hex 1D 72 n Decimal 29 114 n n 1 n 49 TG1260 2460 2 30 CUSTOM 2 PRINTER FUNCTIONS Description Notes Default Reference Example GSwn Name Format Range Description Notes Default Reference Example 1D 7E n
63. erence Example 1B 64 n Name Format Range Description Notes Default Reference Example 1B 69 Name Format Description Notes Default Reference Example TG1260 2460 2 PRINTER FUNCTIONS Enable or disable the front panel keys ASCII ESC c 5 n Hex 1B 63 35 n Decimal 27 99 53 n 0 lt n lt 255 Enables or disables the front panel keys When the LSB of nis 0 the panel keys are enabled When the LSB of nis 1 the panel keys are disabled Only the LSB of nis effective In the printer the panel buttons are the FEED and PRINT keys When the panel keys are disabled the keys can only operate when reset n 0 See the Panel key parameter from Setup Print and feed paper n lines ASCII ESC d n 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 lines This command 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 lines Even if a paper feed exceeding 200 lines is set the printer only feeds the paper by 200 lines 1B 32 1B 33 Total cut ASCII ESC ii Hex 1B 69 Decimal 27 105 This command enables cutter operation if there is no cutter a disabling flag is set any subsequent cutting commands will be ignored The printer waits until all the paper movement commands have
64. g 1B 33 n ESC 3n Set line spacing using minimum units 1B 34 n ESC 4n Set reset script mode 1B 3D n ESC n Select device 1B 40 ESC Initialize printer 1B 44 n1 nk 00 ESC D nf1 nk NUL Set horizontal tab position 1B 45 n ESC En Select bold mode 1B 47 n ESC Gn Select double strike mode 1B 4A n ESCJn Print and feed paper 1B 52 n ESC Rn Select international character set 1B 56 n ESC Vn Set print mode rotated by 90 1B 5C nL nH ESC V nL nH Set relative print position 1B 61 n ESC an Select justification 1B 63 35 n ESC c5n Enable disable panel keys 1B 64 n ESC dn Print and feed paper n lines 1B 69 ESC i Total cut 1B 74 n ESC tn Select character code table 1B 76 ESC v Transmit printer status 1B 78 n ESC xn Select speed quality mode 1B 7B n ESC n Set cancel upside down character printing Print graphic bank 1B FF nL nH d0 dn ESC nL nH d0 dn Receive logo and memory in flash 1C CO 34 FS 4 Total cut and automatic paper moving back 1D 21 n GS n Select character size 1D 3A GS Set starting end of macro definition CUSTOM 2 4 TG1260 2460 2 PRINTER FUNCTIONS HEX Com ASCII Com 1D 42 n GS Bn Turn white black reverse printing on off 1D 43 30 nm GSCOnm Select counter print mode 1D 43 31 aL aHbLbHnr GSC 1 aLaHbLbHnr Select count mode A 1D 43 32 nL nH GS C2 nL nH Select counter D EP eg pas SO pend obs Select coun
65. g message BAR CODE GENERATOR NON OK and processes the following data as normal data If the horizontal size exceeds the printing area the printer only feeds the paper This command feeds as much paper as is required to print the bar code irrespective of the line spacing specified by 1B 32 or 1B 33 TG1260 2460 Note for Note for 2 When to use CODE93 When to use CODE 128 Default Reference Example 1D 72n Name Format Range 2 PRINTER FUNCTIONS After printing the bar code this command sets the print position at the beginning of the line This command is not affected by print modes bold double strike underline or character size with the exception of upside down mode and justification This command ends with a 00 code When the bar code used is UPC A or UPC E the printer prints the bar code data after receiving 11 without check digit or 12 with check digit byte bar code data When the bar code system used is EAN13 the printer prints the bar code after receiving 12 without check digit or 13 with check digit byte bar code data When the system used is EAN8 the printer prints the bar code after receiving 7 without check digit or 8 with check digit byte bar code data The number of data for ITF bar code must be even When an odd number of data is input the printer ignores the last received data If nis outside the specified range the print
66. he space set by commands 09 1B 24 1B 5C and 90 clockwise rotated characters When the characters on the same line are enlarged to different heights they are either aligned at the baseline or topline see 1D 7E This command resets the left and right margin at the default value see 1D 4C 1D 57 The command 1B 45 can also turn on off bold mode However the setting of the last received command is effective CUSTOM 2 7 TG1260 2460 2 PRINTER FUNCTIONS The command 1B 2D can also turn on off underline mode However the setting of the last received command is effective The command 1B 34 can also turn on off script mode However the setting of the last received command is effective The command 1D 21 can select the character size However the setting of the last received command is effective Default n 0 Reference 1B 45 1B 2D 1B 34 1D 21 Example 1B 24 nL nH Name Set absolute print position Format ASCII ESC nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH Range 0 lt nL lt 255 O lt nH lt 255 Description Sets the distance from the beginning of the line to the position in which the subsequent characters are to be printed The distance from the beginning of the line to the print position is nL nH x 256 x vertical or horizontal motion unit inches Notes Settings outside the specified printable area are ignored The vertical and horizontal motion units ar
67. hen the reception buffer is full The status is transmitted whenever the data sequence 10 04 n is received n 1 Printer status 2 3 TG1260 2460 2 PRINTER FUNCTIONS Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 RESERVED Off 00 0 On line 5 On 08 8 Off line 4 RESERVED 5 2 RESERVED 6 RESERVED 7 RESERVED n 2 Off line status Bit Off On Hex Decimal Function 0 RESERVED 1 RESERVED 2 Off 00 0 Print head down no paper jam On 04 4 Print head up paper jam Off 00 0 Paper is not being fed by FEED button On 08 8 Paper is being fed by FEED button 4 RESERVED 5 Off 00 0 No paper end stop On 20 32 Printing stops due to 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 z RESERVED 2 RESERVED Off 00 0 No autocutter error On 08 8 Autocutter error 4 RESERVED Off 00 0 No irreversible error On 20 32 Irreversible error Off 00 0 No auto recoverable error 9 On 40 64 Auto recoverable error 7 RESERVED TG1260 2460 2 4 CUSTOM 2 PRINTER FUNCTIONS n 4 Paper roll sensor status
68. identification Depending on the ROM version 4 char n 2 Function identification 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 9 Off 00 0 Non label thermal paper On 04 4 Label thermal paper 3 RESERVED 4 Off 00 0 Fixed at 0 5 RESERVED 6 RESERVED 7 Off 00 0 Fixed at 0 Notes This command is executed when the data is processed in the reception buffer There may therefore be a time lag between receiving the command and transmitting the data depending on the status of the reception buffer Default Reference Example 1D 7C n Name Set printing density Format ASCII GS n Hex 1D 7C Decimal 29 124 n Range O0 lt n lt 4 48 lt n lt 52 Description Sets the printing density n specifies the printing density as follows TG1260 2460 2 64 CUSTOM 2 PRINTER FUNCTIONS n Printing density 0 48 Very light 1 49 Light 2 50 Normal 3 51 Dark 4 52 Very dark Notes The printing density is cleared at default value when the printer is reset or the power is turned off Default n 2 Reference Example CUSTOM 2 65 TG1260 2460 3 TECHNICAL SPECIFICATIONS 3 1 TECHNICAL SPECIFICATIONS Table 3 1 gives the main technical specifications of the printer Tables 3 2 3 3 3 4 give specifications of every em
69. in the zone indicated by the arrow to define dO dn CUSTOM 2 19 TG1260 2460 2 PRINTER FUNCTIONS In this example dO FF d1203 d2 FC d3 0F Then send this command to the printer 0x1B OxFF 0x02 OxF8 Ox7F OxFF 0x03 OxFC OxOF N logo Dimension 1C CO 34 Name Total cut and automatic paper moving back Format ASCII FS 4 Hex 1C CO 34 Decimal 28 192 52 Description This command enables cutter operation and executes a total cut and automatic paper moving back if there is no cutter a disabling flag is set any subsequent cutting commands will be ignored Notes The printer waits until all the paper movement commands have been completed before executing total cut Default Reference Example TG1260 2460 2 20 CUSTOM 2 PRINTER FUNCTIONS 1D 21 n Name Select character size Format ASCII GS Hex 1D 21 n Decimal 29 33 Range 0xnx255 Description Selects character height and width as follows Bits 0 to 3 character height selection see table 2 Bits 4 to 7 character width selection see table 1 Table1 Character width selection Table2 Character height selection Hex Decimal Width Hex Decimal Height 00 0 1 normal 00 0 1 normal 10 16 2 double width 01 1 2 double height 20 32 3 quadruple width 02 2 3 quadruple height 30 48 03 3 40 64 04 4 50 80 05 5 60 96 06 6 70 112 07 7 Notes
70. ing is memorized in EEPROM Set up from front keys If dH A and dL 3 the value of dis 163 A3 Set printing in NORMAL ASCII ESC N Hex 1B 4E Decimal 27 78 Selects printing in NORMAL mode Setting remains until next set Set up from front keys 1B 52 Set printing in REVERSE ASCII ESC R Hex 1B 52 Decimal 27 82 Set printing in REVERSE mode Setting remains until next set Set up from front keys 1B 4E Set print mode rotated by 90 ASCII ESC V n Hex 1B 56 n Decimal 27 86 n O lt n lt 1 48 lt n lt 49 Enable disable print mode rotated by 90 n is used as follows TG1260 2460 Notes Default Reference Example 1B 61 n Name Format Range Description Notes Default Reference Example 1B 62 Name Format Description Notes TG1260 2460 2 PRINTER FUNCTIONS n Function 0 48 Turns off 90 rotation mode 1 49 Turns on 90 rotation mode When underlined mode is turned on the printer does not underline 90 rotated charac ters All the same it s possible select the underline mode Double width and double height commands in 90 rotation mode enlarge characters in the opposite directions from double height and double width commands in normal mode This command is not available in Page mode If this command is entered in Page mode the printer all the same save the setting n 0 1B 21
71. ing with double width characters 02 STX Printing with double height characters 03 ETX Printing with expanded characters 04 EOT Printing with small characters 0A LF Print and line feed 0C FF Carries out form feed after printing 0D CR Print and carriage return 0E SO Improved character designation Same as RS 0F SI Standard character designation same as US 11 DC1 Makes the printer SELECT state ON LINE 13 DC3 Makes the printer DESELECT state OFF LINE 18 CAN Clears the print data in the buffer 1E RS Enhanced character designation one line 1F US Standard character designation 1B 31 ESC 1 3 mm line spacing 1B 32 ESC 2 5 5 mm line spacing 1B 40 ESC Qo Initialize printer 1B 43 n ESC Cn Page length designation and page formatting 1B 4B n1 n2 ESC K ni n2 Graphic print mode 1B 4F ESC O Page formatting off 1B 69 ESC i Total cut 1B FA n xH xL yH yL ESC n xH xL yH yL Print graphic bank 1C CO 34 FS 4 Total cut and automatic paper moving back 1D 49 n GS In Transmit printer ID 1D 50 xy GS P xy Set horizontal and vertical motion unit 1D 7C n GS n Set printing density NOTE in Note column where the model is not specified the command is valid for all models The following pages provide a more detailed description of each command 00 Name Print with small character Format ASCII NUL Hex 00 Decimal 0 Description Notes Default Reference Exampl
72. lt Reference Example nselects a font from the following table FONT A 14 x 24 FONT 10x24 The HRI characters are printed at the position specified by the command GS H n 0 1D 48 1D 6B Set bar code height ASCII GS h n Hex 1D 68 n Decimal 29 104 n 1 lt n lt 255 Sets the height of the bar code n specifies the number of dots in the vertical direction n 96 12mm 1D 6B 1D 6B m d1 dk 00 1D 6B m n d1 dn Name Format Range Description Print bar code ASCII GS k m NUL Hex 1D 6B m 00 Decimal 29 107 m 0 ASCII GS k m n Hex 1D 6B m n Decimal 29 107 m n O lt m lt 6 65 lt m lt 73 Selects a bar code system and prints the bar code m selects a bar code sys CUSTOM 2 53 TG1260 2460 2 PRINTER FUNCTIONS m Bar code system Number of characters Remarks UPC A 11 k 12 48 lt d lt 57 1 UPC E 11 kx 12 48 lt d lt 57 2 EAN13 JAN 12 lt k lt 13 48 lt d lt 57 3 EANS JAN 7 lt k lt 8 48 lt d lt 57 o 4 CODE39 ioe 48 lt d lt EY 32 36 37 5 ITF 1 lt k even number 48 lt d lt 57 6 CODABAR iek i os m 36 43 7 CODE93 1 lt k lt 255 1 lt d lt 127 8 CODE128 2 lt k lt 255 1 lt d lt 127 20 CODE32 8 k 9 48 lt d lt 57 65 UPC A 11 lt n lt 12 48 lt d lt 57 66 UPC E 11 lt n lt 12 48 lt d lt 57 67 EAN13 JAN 12 lt n lt 13 48 lt d lt 57 68 EAN
73. mber of bytes to send as height pix width pix 16 Bytes number in example is 448 x 1170 16 32760 in exadecimal resulting 7FF8 3 Bit stream image conversion In the following figure is reproduced the logotype enlargement in the zone indicated by the arrow to define dO dn In this example dO FF d1203 d2 FC d3 0F Then send this command to the printer Ox1B OxFF 0x02 OxF8 Ox7F OxFF 0x03 OxFC OxOF N logo Dimension TG1260 2460 2 46 CUSTOM 2 PRINTER FUNCTIONS 1C CO 34 Name Format Description Notes Default Reference Example 1D 0C Name Format Description Notes Default Reference Example 1D 3A Name Format Description Notes Default Reference Example 1D 43 30 n m Name Format CUSTOM 2 47 Total cut and automatic paper moving back ASCII FS 4 Hex 1C CO 34 Decimal 28 192 52 This command enables cutter operation and executes a total cut and automatic paper moving back if there is no cutter a disabling flag is set any subsequent cutting commands will be ignored The printer waits until all the paper movement commands have been completed before executing total cut Print the buffer contents ASCII GS FF Hex 1D 0C Decimal 29 12 Prints contents of buffer characters and executes a line feed Sets the printing start position at left margin 0A Start end macro definition ASC ll GS
74. me in double strike mode and bold mode n 0 ESC E Print and feed paper ASCII ESC J n Hex 1B 4A n Decimal 27 74 n 0 lt n lt 255 Prints the data in the print buffer and feeds the paper n x vertical or horizontal motion unit inches After printing is over this command sets the print starting position at the beginning of the line The paper feed amount set by this command does not affect the values set by ESC 2 or ESC 3 The horizontal and vertical motion unit are specified by GS P The command GS P can change the vertical and horizontal motion unit However the value cannot be less than the minimum vertical movement amount In standard mode the vertical motion unit is used The maximum paper feed amount is 31 8 mm GSP Select the international character set ASCII ESC R n Hex 1B 52 n Decimal 27 82 n 0xn s12 TG1260 2460 2 PRINTER FUNCTIONS Description Selects the international character set by setting n as in the following table Lo Her 29 24 4o sa sc so st so 7B 70 7D 7E n cars o vsa fefsleji tite iph Gp free e a e Ee ae Ee E e Gem fefsfe i h hif f iph E a Ea Ee EJEE EEE ps my Jejsjef f ifefrfaofafofefi z san fafjsjefifafef f fr fafi e swan fjejsjejijyjifje f fie Ea EINEE EEJCIEJELSESESEZESET Hg w Bemwek ps Ep A sre e EK ilna u n sane efsfaliflafefe 2 Somameica s sjaji mjc e u
75. meters sato sc must not contain characters with the exception of those from 0 to 9 Default sa 1 sb 65535 sn 1 sr 1 sc 1 Reference 1D 43 30 1D 43 31 1D 43 32 1D 63 Example 1D 48 n Name Select printing position of Human Readable Interpretation HRI Format ASCII GS H n Hex 1D 48 n Decimal 29 72 n Range O0 lt n lt 3 48 lt n lt 51 Description Selects the printing position of HRI characters when printing bar code n selects the printing position as follows n Function 0 48 Not printed 1 49 Above the bar code 2 50 Below the bar code 3 51 Both above and below the bar code TG1260 2460 2 24 CUSTOM Notes Default Reference Example 1D 49 n Name Format Range Description Notes Default Reference Example 1D 4C nL nH 2 PRINTER FUNCTIONS HRI characters are printed using the font specified by GS f n 0 1D 66 1D 6B Transmit printer ID ASCII GS l n Hex 1D 49 Decimal 29 73 n 1 lt n lt 3 49 lt n lt 51 Transmits the printer ID specified by n as follows n Printer ID Specification 1 49 Printer model ID 6D TG2460 2 50 Type ID 3 51 ROM version ID Refer to table below Depends on ROM version 4 char n 2 Identification Function Bit Off On Hex Decimal Function 0 Ol 00 0 2 byte character codes not supported 1 O 00 0
76. n n 96 12 mm TG1260 2460 2 28 CUSTOM 2 PRINTER FUNCTIONS Reference Example 1D 6B 1D 6B m di dk 00 1D 6B m n d1 dn Name Format Range Description Notes CUSTOM 2 29 Print bar code ASCII GS k m NUL Hex 1D eB m 00 Decimal 29 107 m 0 ASCII GS k m n Hex 1D 6B m n Decimal 29 107 m n O lt m lt 6 65 lt m lt 73 Selects a bar code system and prints the bar code m selects a bar code system as follows m Bar code system Number of characters Remarks UPC A 11 k 12 48 lt d lt 57 1 UPC E 11 k 12 48 lt d lt 57 2 EAN13 JAN 12 lt k lt 13 48 lt d lt 57 3 EANB JAN 7 lt k lt 8 48 lt d lt 57 e CODE39 M 48 lt d lt n 32 36 37 5 ITF 1 lt k even number 48 lt d lt 57 C D B R 48 lt d lt pred 36 43 7 CODE93 1 lt k lt 255 1 lt d lt 127 8 CODE128 2 lt k lt 255 1 lt d lt 127 20 CODE32 8 lt k lt 9 48 lt d lt 57 65 UPC A 11 n 12 48 lt d lt 57 66 UPC E 11 n 12 48 lt d lt 57 67 EAN13 JAN 12 n 13 48 lt d lt 57 68 EANB JAN 7 n 8 48 lt d lt 57 m CODE39 Ienei 48 lt d lt an 32 36 37 70 ITF 1 n 255 48 d 57 71 CODABAR 1 lt n lt 255 meas pod oe 72 CODE93 1 lt n lt 255 O0 lt d lt 127 73 CODE128 2 lt n lt 255 0 lt d lt 127 90 CODE32 8 lt n lt 9 48 lt d lt 57 If dis outside the specified range the printer prints the followin
77. n is perpendicular to the paper feed direction This command does not affect the previously specified values The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch or an exact multiple of that value x 200 y 200 1B 24 Execute macro ASCII GS r t m Hex 1D 5E r t m Decimal 29 94 r t m 0 lt r t lt 255 TG1260 2460 Description Notes Default Reference Example 1D 63 Name Format Description Notes Default Reference Example 1D 66 n Name Format Range Description 2 PRINTER FUNCTIONS O lt m lt i1 Executes a macro rspecifies the number of times to execute the macro specifies the waiting time for executing the macro The waiting time is tx 100 msec for every macro execution m specifies macro executing mode When the LSB of m 0 the macro executes rtimes continuously at the interval specified t When the LSB of m 1 after waiting for the period specified by t the LED indicator blinks and the printer waits for the FEED button to be pressed After the button is pressed the printer executes the macro once The printer repeats the operation rtimes This command lasts for a period of tx 100 msec after a macro is executed by t f this command is received while a macro is being defined the macro definition is aborted and the definitions cleared If the macro is
78. nimum it is resumed with the maximum value When the command is executed the internal count that indicates the repetition number specified by ris cleared Default aL 1 aH 20 bL 255 bH 255 n 1 r 1 Reference 1D 43 30 1D 43 32 1D 43 3B 1D 63 Example TG1260 2460 2 48 CUSTOM 2 PRINTER FUNCTIONS 1D 43 32 nL nH Name Set counter Format ASCII GS C 2 nL nH Hex 1D 4 32 nL nH Decimal 29 67 50 nL oH Range 0 xnL nH x 255 Description Sets the serial number counter value nL and nH determine the value of the serial number counter set by nL nH x 256 Notes In count up mode if the counter value specified by this command goes out of the counter operation range specified by GS C 1 or GS C itis forced to convert to the minimum value by GS c In count down mode if the counter value specified by this command goes out of the counter operation range specified by GS C 1or GS C itis forced to convert to the maximum value by GS c Default nL 1 nH 0 Reference 1D 43 30 1D 43 31 1D 43 3B 1D 63 Example 1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B Name Select count mode Format ASCII GS C sa sb sn sr sc Hex 1D 143 3B sa 3B sb 3B sn 3B sr 3B sc 3B Decimal 29 67 59 sa 59 sb 59 sn 59 sr 59 sc 59 Range 0 lt sa sb sc lt 65535 0 sn sr 255 These values are all character strings Description Selects a count mode for the serial numb
79. not defined or if ris 0 nothing happens When the macro is executed by pressing the FEED button m 1 the paper can not be fed by using the FEED button 1D 3A Print counter ASCII GS C Hex 1D 63 Decimal 29 99 Sets the serial counter value in the print buffer and increments or decrements the counter value After setting the current counter value in the print buffer as print data a character string the printer counts up or down based on the count mode set The counter value in the print buffer is printed when the printer receives a print command or is in the buffer full state The counter print mode is set by 1D 43 30 The counter mode is set by 1D 43 31 or 1D 43 3B In count up mode if the counter value set by this command goes out of the counter operation range set by 1D 43 31 or 1D 43 3B it is forced to convert to the minimum value In count down mode if the counter value set by this command goes out of the counter operation range set by 1D 43 31 or 1D 43 3B it is forced to convert to the maximum value 1D 43 30 1D 43 31 1D 43 32 1D 43 3B Select font for HRI characters ASCII GS f n Hex 1D 66 n Decimal 29 102 n 0 1 48 49 Selects a font for the HRI characters used when printing a bar code 2 52 CUSTOM TG1260 2460 2 PRINTER FUNCTIONS Notes Default Reference Example 1D 68 n Name Format Range Description Notes Defau
80. ontal tabs from the beginning of the following line The horizontal tabs are set through the command 1B 44 2 2 CUSTOM 2 PRINTER FUNCTIONS Default Reference Example 0A Name Format Description Notes Default Reference Example 0D Name Format Description Notes Default Reference Example 10 04 n Name Format Range Description Notes Default Reference Example CUSTOM 1B 44 Print and line feed ASCII LF Hex OA Decimal 10 Prints the data in the buffer and feeds one line based on the current line spacing This command sets the print position at the beginning of the line 1B 32 1B 33 Print and line feed ASCII CR Hex OD Decimal 13 When autofeed is 0D enabled this command functions in the same way as 0A otherwise it is ignored This command sets the print position at the beginning of the line See autofeed parameter on Setup 0A Transmission of status in real time ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n 1 lt n lt 4 n 17 20 lt n lt 21 Transmits in real time the selected status of the printer specified by n according to the following parameters n 1 transmit printer status n 2 transmit off line status n 3 transmit error status n 4 transmit paper roll sensor status n 17 transmit paper status n 20 transmit Full Status n 21 transmit printer ID 6D This command is executed even w
81. owing figure A 10 is shown how to assemble the paper roll containment disks on the paper roll pin D NOTE These remarks are valid for all the printer models available Fig A 10 TG1260 2460 A 8 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS Dimensions of printer with paper holder support TG2460 U A model USB interface metal front panel and autocutter model 1 99 122 3 77 9 26 18 5 118 77 Fig A 11 CUSTOM A 9 TG1260 2460 APPENDIX A ACCESSORIES AND SPARE PARTS TG2460 U N model USB interface and plastic front panel i 100 ml 77 9 d 83 Re 84 e 60 8 4 6 5 2 i H L2 ry ry D t p n f n ff N ls QU I Y E cu y inl o a N gs eU f Y in SN j u iS J Q Y 1N uw 61 8 QU 6 8 92 5 L 69 5 M lb ee T UM E eee f PANEL HOL
82. qual to the preceding value n k 1 tab setting is finished and the following data is processed as normal data This command cancels all horizontal tab positions The previously specified horizontal tab positions do not change even if the character width changes The default tabs are at intervals of 8 characters columns 9 17 25 for the A Font when the space to the right of the character is 0 09 Turn bold mode on off ASCII ESC E n Hex 1B 45 n Decimal 27 69 n O lt n lt 255 Turns bold mode On or Off When the LSB of nis 0 bold mode is turned off TG1260 2460 2 12 CUSTOM 2 PRINTER FUNCTIONS Notes Default Reference Example ESC Gn Name Format Hex Decimal Range Description Notes Default Reference Example ESC Jn Name Format Range Description Notes Default Reference Example ESC Rn Name Format Range CUSTOM 2 13 When the LSB of nis 1 bold mode is turned on Only the LSB of nis effective The command 1B 21 also turns bold mode on and off In any case the last command received is enabled n 0 Turn double strike mode On Off ASCII ESC G n Hex 1B 47 n Decimal 27 71 n 0 lt n lt 255 Turns double strike mode On or Off When the LSB of nis 0 double strike mode is turned off When the LSB of n is 1 double strike mode is turned on Only the LSB of nis effective The printer output is the sa
83. rature 0 C 70 C Humidity 20 85 Rh w o condensation Storage temperature Humidity 10 C 75 C 10 95 Rh w o condensation Protection devices Shortcircuit overload and overvoltage TG1260 2460 A 2 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS A 1 2 Adjustable paper holder support kit For the printer is available a swinging paper holder support kit see fig A 2 This accessory allows to use bigger diameter paper rolls max 80mm PCXSP TG2460 Paper holder support Kit and QFC sensor The kit is already assembled as shown in fig A 2 Paper holder support kit 1 Paper holder support 2 Paper roll pin 3 Near paper end sensor board 4 Two fastening screws of the paper holder support to the printer frame M3x6 5 Two disks for the paper roll containment Fig A 2 CUSTOM A 3 TG1260 2460 APPENDIX A ACCESSORIES AND SPARE PARTS Assembling instructions The paper holder support positioning isn t fixed but adjustable on 3 different positions back lower and upper as shown in fig A 3 1 1 Upper positioning 2 Back positioning 3 Lower positioning e 2 Fig A 3 D P re Oo Po o 2 SY COM PN 3 e PRINT FEED TG1260 2460 A 4 CUSTOM APPENDIX A ACCESSORIES AND SPARE PARTS Fastening the paper holder support in upper position Fix the paper hol
84. ressed On 20 32 FEED key pressed 6 Off 00 0 PRINT key not pressed On 40 64 PRINT key pressed 7 RESERVED 5 Byte Recoverable Error Status Bit Off On Hex Decimal Function 0 Off 00 0 Print head temperature normal On 01 1 Print head overheated 1 a RESERVED 2 a RESERVED 3 Off 00 0 Power supply voltage in range On 08 8 Power supply voltage out of range 4 a RESERVED 5 RESERVED 6 a RESERVED if RESERVED 6 Byte Unrecoverable Error Status Bit Off On Hex Decimal Function 0 Off 00 0 No autocutter error On 01 1 Autocutter error 1 RESERVED 2 Off 00 0 No RAM error On 04 4 RAM error 3 Off 00 0 No EEPROM error On 08 8 EEPROM error 4 RESERVED 5 x RESERVED 6 A RESERVED 7 RESERVED Note Only printer mudel with cutter 18 Name Cancel print data buffer Format ASCII CAN Hex 18 Decimal 24 Description Deletes all the print data in the current print buffer Notes This command sets the print position at the beginning of the line Default Reference Example TG1260 2460 2 6 CUSTOM 2 PRINTER FUNCTIONS 1B 20 n Name Set character right side spacing Format ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n Range 0xnx255 Description Sets spacing to right of character at n x horizontal or vertical motion units
85. rinter has seven sets of 224 character each one In the following figures are shown the examples CUSTOM mnnmmoou tupo 4O0 UP U0t2 DPT 24 FONT A 0123456789ABCDEF I 8 amp 0 nt 0123456789 lt gt ABCDEFGHI JKLMNO PARSTUVWXYZ _ pabcdefghi j kIimno parstuvwxyz zrgu s C aaa c ei liAA Ea uyOUc 8P f al OuAN eran K m Sm HH mii siot un LT iri mh d d asc tiani een stzs J 2z2 A4 at DPT 42 FONTA 0123456 89ABCDET 4 Vs On d 0123456789 lt gt vABCOEFGH LIKE MNO PORS TUVWXYZ I 1 Oabcdelghi jKIano pqrstuvwxyz tji C ea a ce e 11AA Faft uy 00 FSPI f al nN ic XX Hiii Lr H plil tonite F apropia en poseA Jim A At TSTowmroon onmaw 4 1 ESC POS 42 columns ESC POS 56 columns 0123456 789ABCDEF 12345189 ABL DEF Qo l ase LS oUssd su 3 0123456789 lt gt 0123456780 lt 4 RABCDEFGHIJKLMNO 4 OBCOEFGHIIKLMNO 5 PORSTUWNYZDMI S PORSTUUWAYZL I 6 abcdefghijk mno 6 abedefghi jk Inno 7 pqrstuvwxyzt parstuwzt 8 u adadceee iiM B Q aaadceeeiTinl 9 EahooduuisoUe EUM 9 fafocb iidUc FM A i UnR3O Ml jo A ni B Hila illat B SHina C HHEH C HHUH D Ube E T E af nfoyr Bflb gef E aff nou reANh eel F ze2e 59e 23 F ze DPT 24 FONT B MOUNDS CHADMNE Wh 0123456789ABCDEF 4 95 amp Det 0123456789 lt gt ABCDEFGHI JKLMNO PORSTUVWXYZ V1 abcdefghijiklmno pqrstuvwxyztl a
86. s TG1260 2460 2 PRINTER FUNCTIONS n 1 49 Turns on underline mode 1 dot thick n 2 50 Turns on underline mode 2 dot thick The printer can underline all characters but cannot underline the space set by 09 and right side character spacing The printer cannot underline 90 clockwise rotated characters and white black inverted characters When underline mode is turned off by setting the value of n at 0 or 48 the following data is not underlined Underline mode can also be turned on or off by using 1B 21 Note however that the last command received is effective n 0 1B 21 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 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 nx vertical or horizontal motion unit inches Horizontal and vertical motion units are specified by the command 1D 50 Changing the horizontal or vertical motion unit does not affect the current line spacing The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum vertical movement amount In standard mode the vertical motion unit is used The maximum line spacing is n 255 32mm 2 10 CUSTOM 2 PRINTE
87. sc59 Range 0 sa sb sc lt 65535 0 lt sn sr 255 These values are all character strings Description Selects a count mode for the serial number counter and specifies the value of the counter sa sb sn sr and sc are all displayed in ASCII characters using the codes from O to 9 saand sb specify the counter range snindicates the stepping amount for counting up or down sr indicates the repetition number with the counter value fixed scindicates the counter value Notes Count up mode is specified when sa lt sb and sn z 0 and srz 0 Count down mode is specified when sa gt sb and sn z 0 and srz 0 Counting stops when sa sbor sn 0or sr 0 In setting count up mode the minimum value of the counter is sa and the maximum is Sb If counting up reaches a value exceeding the maximum it is resumed with the minimum value If the counter value set by sc is outside the counter operation range the counter value is forced to convert to the minimum value by executing 1D 63 In setting count down mode the maximum value of the counter is sa and the minimum value is sb If counting down reaches a value less than the minimum it is resumed with the maximum value If the counter value set by sc is outside the counter operation range the counter value is forced to convert to the maximum value by executing 1D 63 Parameters sato sc can be omitted If omitted these values remain unchanged Para
88. spensed to the user Thanks to an innovative type of paper roll holding bracket itis possible to accommodate up to 80 mm external diameter paper rolls adapt the printer to the mechanical space requirements necessitated by the application 8 positions upper lower and rear and manage the near paper end signal It is equipped with a 204 dpi thermal 7 print mechanism it has the serial RS232 interface and the iN Pd USB interface and it s also available a version equipped with 9 fireproof plastic or metal front panel with or without autocutter When the PRINT key is pressed during printer power up it prints the graphic test When the FEED key is pressed during printer power up it prints the font test When both the PRINT and the FEED keys are pressed during printer power up it prints the SETUP report Pressing the PRINT key it s possible to change the parameters value and to print the parameter current value pressing the FEED key it s possible to pass to the next parameter till the end of the SETUP 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 Always OFF Printer OFF Always ON Printer ON no faults Fig 1 Slow flashing on for a short period Tilting cover raised Slow flashing on for a long period Paper out message Fast fl
89. stification Add 0 to left 2 50 Left justification Add spaces to right Notes if nor mis outside the defined range the previously set print mode is not changed e If n 0 mhas no meaning Default n 0 m 0 Reference 1D 43 31 1D 43 32 1D 43 3B 1D 63 Example n 3 m 0 n 3 m 1 n 3 m 2 001 001 100 O indicates a space 1D 43 31 aL aH bL bH nr Name Select count mode A Format ASCII GS C 1 aL aH bL bH n r Hex 1D 43 31 aL aH bL bH n r Decimal 29 67 49 aL aH bL bH n r Range 0xaL aH x 255 0 bL bH lt 255 O lt n r lt 255 Description Selects a count mode for the serial number counter aL aH o bL bH specify the counter range n specify the stepping amount when counting up or down rindicates the repetition number when the counter value is fixed Notes Count up mode is specified when aL aH x 256 lt bL DH x 256 and n 0 and rzO Count down mode is specified when aL aH x 256 gt bL DH x 256 and n 0 and rzO Counting stops when aL aH x 256 bL BH x 256 or n2 00rrz 0 n setting count up mode the minimum value of the counter is aL aH x 256 and the maximum value is bL DH x 256 If counting up reaches a value exceeding the maximum it is resumed with the minimum value In setting count down mode the maximum value of the counter is aL aH x 256 and the minimum value is bL bH x 256 If counting down reaches a value less than mi
90. t and right margin at the default value n 0 Name Format Range Set absolute print position ASCIl ESC nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH 0 lt nL lt 255 CUSTOM 2 37 TG1260 2460 2 PRINTER FUNCTIONS O0 lt nH lt 255 Description Sets the distance from the beginning of the line to the position in which the subsequent characters are to be printed The distance from the beginning of the line to the print position is nL nH x 256 x vertical or horizontal motion unit inches Notes Settings outside the specified printable area are ignored The vertical and horizontal motion units are specified by 1D 50 The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount In standard mode the horizontal motion unit x is used If the setting is outside the printing area width set absolute print position but left or right margin is set at default value Default Reference 1D 50 Example 1B 2A m nL nH d1 dk Name Select bit image mode Format ASCII ESC m nL nH d1 dk Hex 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk Range m 0 1 32 33 0 lt nL lt 255 O lt nH lt 1 0 lt d lt 255 Description Selects a bit image mode using m for the number of dots specified by nL and by nH as follows Mod Vertical direction Horizontal direction
91. t mode B 1D 48 n GS Hn Select printing position of HRI characters 1D 49 n GSIn Transmit printer ID 1D 4C nL nH GS L nL nH Set left margin 1D 50 xy GS P xy Set horizontal and vertical motion units 1D 57 nL nH GS W nL nH Set printing area width 1D 5Ert m GS rtm Execute macro 1D 63 GSc Print counter 1D 66 n GSfn Select font for HRI characters 1D 68 n GShn Select height of bar code 1D 6B m 00 GS k m NUL Print bar code 1D 72n GSrn Transmit status 1D 77 n GSwn Select horizontal size magnification of bar code 1D 7E n GS n Set superscript subscript 1D 7C n GS n Set printing density NOTE in Note column where the model is not specified the command is valid for all models The following pages provide a more detailed description of each command 08 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 09 Name Horizontal tabs Format ASCII HT Hex 09 Decimal 9 Description Notes TG1260 2460 Moves the print position to the next horizontal tab position This command is ignored if the next horizontal tab position has not been set e If the next horizontal tab is outside the print area the printer will print the entire contents of the print buffer then proceed with the processing of the horiz
92. tal or vertical motion unit Any setting that exceeds the printable area is ignored When the starting position is specified by n motion units to the right nL nH x 256 n When the starting position is specified by n motion units to the left negative direction use the complement of 65536 nL nH x 256 65536 n If setting exceeds printing area width left or right margin is set to default value The horizontal and vertical motion units are specified by 1D 50 The command 1D 50 can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount In standard mode the horizontal motion unit is used 1D 24 1D 50 Select justification ASCII ESC a n Hex 1B 61 n Decimal 27 97 O lt n lt 2 48 lt n lt 50 Aligns all the data in one line in the position specified n selects the type of justification as follows n Justification 0 48 Left justification 1 49 Centring 2 50 Right justification This command is only enabled if input at the beginning of the line The lines are justified within the specified printing area The spaces set by the commands 09 1B 24 and 1B 5C remain justified as per the previously set mode n 0 Left justification Centering Right justification ABC ABC ABC ABCD ABCD ABCD ABCDE ABCDE ABCDE TG1260 2460 1B 63 35 n Name Format Range Description Notes Default Ref
93. the left 1 49 Align right Adds 0 to the left 2 50 Align left Adds spaces to the right Notes If nor mis out of the defined range the previously set print mode is not changed If n 0 mdoes not have any meaning Default n 0 m 0 Reference 1D 43 31 1D 43 32 1D 43 3B 1D 63 Example n 3 m 0 n 3 m 1n 3 m 2 001 001 100 O indicates a space TG1260 2460 2 22 CUSTOM 2 PRINTER FUNCTIONS 1D 43 31 aL aH bL bH nr Name Format Range Description Notes Default Reference Example 1D 43 32 nL nH Name Format Range Description Notes Default Reference Example CUSTOM 2 23 Select count mode A ASCII GS C 1 aL aH bL bH n r Hex 1D 43 31 aL aH bL bH n r Decimal 29 67 49 aL aH bL bH n r 0 aL aH lt 255 0 bL bH x 255 O lt n r lt 255 Selects a count mode for the serial number counter aL aH o bL bH specify the counter range n specify the stepping amount when counting up or down rindicates the repetition number when the counter value is fixed Count up mode is specified when aL aH x 256 lt bL bH x 256 and n zO and rz 0 Count down mode is specified when aL aH x 256 gt bL bH x 256 and n zO and rz 0 Counting stops when aL aH x 256 bL OH x 256 or n2 0orr2 0 In setting count up mode the minimum value of the counter is aL aH x 256 and the maximum value is bL
94. ting or damage components that could jeopardize printer functioning Do not spill liquids onto the machine Do not carry out repairs on the machine yourself except for the normal maintenance operations given in the user manual Unplug the printer from the electrical mains and call a specialized repairman if any of the following conditions should arise the power supply connector is damaged liquid has spilled into the printer the printer has been exposed to rain or water the printer is not functioning normally despite the fact that all instructions given in the user manual have been followed the printer has been dropped and the cover is damaged printer performance is noticeably reduced G the printer is not working Dou on A CUSTOM 1 TG2460 INTRODUCTION 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 Box Foam packing shell Print Paper roll Manual or CD rom Electrical supply cable C gis oom PRINTER DESCRIPTION Ultra compact thermal printer only 9cm deep for dispensing 60 mm 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 di
95. uffix indicates the following models S TG1260 TG2460 U A USB interface metal front panel and autocutter model TG1260 TG2460 S A RS232 serial interface metal front panel and autocutter model 1 Printing mechanism 2 Autocutter 3 Print key 4 Feed key 5 Power supply connector 6 USB interface connector 7 Printer frame 8 Autocutter support plate 9 Paper output 10 Status led CUSTOM TG1260 2460 B TG1260 TG2460 x P external view gt 9 The x suffix indicates the following models TG1260 TG2460 U P USB interface and plastic front panel TG1260 TG2460 S P RS232 serial interface and plastic front panel 1 Printing mechanism 2 Print key 3 Feed key 4 Power supply connector 5 USB interface connector 6 Printer frame 7 Plastic front panel 8 Paper output 9 Status Led C TG1260 TG2460 x M external view gt 9 The x suffix indicates the following models TG1260 TG2460 U M USB interface and metal front panel without autocutter model TG1260 TG2460 S M RS232 serial interface and metal front panel without autocutter model 1 Printing mechanism 2 Print key 3 Feed key 4 Power supply connector 5 USB interface connector 6 Printer frame 7 Metal front panel 8 Paper output 9 Status Led 9 DO D Back view Ss 4 The back view is the same for all models available 1 Paper input
96. uit overload and overvoltage CUSTOM A 1 TG1260 2460 A 1 1 1 Power supply for TG2460 APPENDIX A ACCESSORIES AND SPARE PARTS The figure below illustrates the power supply provided by Custom to be used for printer operation i mil c Fig A 1 2 a 159 0 2 240 78 0 un 55 0 4 m m DAR et 33 4 i 5 f S ZR C r L Sp c I a hy Pee z E z aD x p N Gp c 6 PE d 5 PS L lt V db b S s iG v S is y o V ap c i 3 AD ui V e 5 C 5 LZ S T SW A ID J E db x V ap m x CO wR 2 G2 rj il o E Hi a as Y p MH Ead 93 5X6mm 2 M3 P0 5 BOTTOM _ 22 0 118 0 4 032 ae S N_LABEL d S S 3 M3 P0 5 L e E lt f T Lh A amp AD S SU SY MODEL LABE S G5 NK 6 5 150 0 Tab A 1 2 PPSPS 070 12V Switching power supply 12V 070W Input specification Input voltage 85V 264 Current OA 1 8A Inpout frequency 47 Hz 63 Hz Specifiche di uscita Output voltage 12V Output current Min Max OA 6 0A Efficency Min 80 Condizioni ambientali Operating tempe
97. ulation available Tab 3 1 Recommended type of paper KANZAN KF50 55g m or MITSUBISHI PG5075 Internal roll core diameter OPTIONAL external near paper end Printing speed 45 mm sec normal 140 mm sec normal 36 mm sec low 110 mm sec low Power supply 12 V t 1096 Operating humidity 1096 8096 w o condensation Storage temperature humidity Adjustable paper holder support with near paper end sensor Paper dispenser unit only for autocutter model CUSTOM 3 1 TG1260 2460 Standard interfaces 3 TECHNICAL SPECIFICATIONS gt Note Referred without paper roll and model with plastic front panel Tab 3 2 ESC POS EMULATION Printing speed Characters sec Printing speed Character L x H mm Print direction Normal and Reverse Tab 3 4 CITIZEN EMULATION Character L x H mm Print direction Character set TG1260 2460 3 2 CUSTOM 3 TECHNICAL SPECIFICATIONS 3 2 DIMENSIONS 3 2 1 TG2460 U A

Download Pdf Manuals

image

Related Search

Related Contents

Acer Altos 380 F1  Verbatim 52700 energy-saving lamp  Fujitsu PRIMERGY TX300 S6  IDS Industrial Dispenser Instructions Spanish  fr - consignes de securite en    CSA4 User Manual 301109-5  

Copyright © All rights reserved.
Failed to retrieve file