background image

FENIX IMVICO  

 

     TK23 OPERATION MANUAL 

  42/81 

 
 
4.3- CONTROL COMMANDS DESCRIPTION 
 
Command List 
 

Command 

classification 

Command Name 

Executing Setting 

Page 

LF 

Print and line feed 

 

43 

CR 

Print and carriage return 

 

43 

DLE EOT 

Real-time status transmission 

 

43 

ESC SP 

Set right-side character spacing 

 

45 

ESC ! 

Select print mode(s) 

 

46 

ESC 2 

Select default line spacing 

 

46 

ESC 3 

Set line spacing 

 

47 

ESC @ 

Initialise printer 

47 

ESC J 

Print and feed paper 

 

47 

ESC M 

Select character font 

 

48 

ESC c 5 

Enable/disable panel buttons 

 

48 

ESC d 

Print and feed 

n

 lines 

 

48 

ESC i  

Paper Cut 

 

49 

ESC m  

Paper Cut 

 

49 

ESC t 

Select Character Code Table 

 

50 

ESC E 

Turn emphasized mode on/off 

 

50 

ESC G 

Turn on/off double-strike mode 

 

50 

GS B 

Turn white/black reverse printing mode 

 

51 

GS FF 

Feed marked paper to print starting position 

 

51 

GS ! 

Select character size 

 

52 

GS ( A  

Execute test print 

 

53 

GS ( F 

Set adjustment value(s) 

 

53 

GS ( K 2 0 0 m 

Select print control mode 

 

54 

GS ( K 2 0 1 m 

Select print density 

 

55 

GS E 

Select Head Control Method 

 

56 

GS H 

Select printing position of HRI characters 

 

56 

GS L 

Set left margin 

 

57 

GS T 

Set print position to the beginning of print line 

 

57 

GS V 

Select cut mode and cut paper 

 

58 

GS f 

Select font for HRI characters 

 

59 

GS h 

Set bar code height 

 

59 

GS k 

Print bar code 

 

60 

GS v 0 

Print raster bit image 

 

62 

GS w 

Set bar code width 

 

63 

   

Table 4.1-

 Command List 

 
 

 
 
 

Содержание TK23 Series

Страница 1: ...TK23 THERMAL PRINTER SERIES Operation Manual Version 1 0 February 2006...

Страница 2: ...FENIX IMVICO TK23 OPERATION MANUAL 2 81 Revision list for the TK23 thermal printer series operation manual V 1 0 Date 15 02 2006 Page Type of revision Before change After change...

Страница 3: ...ecifications 19 2 2 2 2 Serial interface connection example 20 2 2 3 CENTRONICS PARALLEL INTERFACE 21 2 2 3 1 Specification 21 2 2 3 2 Timing diagram of data printer reception 22 2 2 3 3 Parallel inte...

Страница 4: ...MMANDS DESCRIPTION 43 APPENDIX A CHARACTERS x LINE 64 APPENDIX B CHARACTER CODE TABLES 65 APPENDIX C RECOVERY FROM AUTOCUTTER ERROR 67 APPENDIX D EXTERNAL APPEARANCE 68 APPENDIX E SPECIFICATIONS 70 AP...

Страница 5: ...lel interface 22 Fig 2 10 CN6 communications connector from outside of TK23 24 Fig 3 0 Place the paper roll 26 Fig 3 1 Automatic paper load 27 Fig 3 2 1 Manual paper load 28 Fig 3 3 2 Manual paper loa...

Страница 6: ...cles Never print without paper installed or the head away from the platen because the life of the thermal head may be shortened Never pull the paper out forward or backward with the head down against...

Страница 7: ...Opening the paper cutter b Lift the head up down lever until clicking The thermal head is held in the up position Figure b Head cleaning procedure Clean the head elements using alcohol ethanol methan...

Страница 8: ...Max High reliability 15 million lines Single 24V DC power supply No paper paper near end and head up sensors High resolution printing 8 dots mm Centronics parallel or serial RS232C Scalable font indep...

Страница 9: ...LTP2342 80mm 75mm s max Automatic Paper Load 20mm s aprox Printing speed may be slower depending on the data transmission speed and combination of control commands environmental conditions or selectio...

Страница 10: ...current 1 7 A 2 2 A 1 4 PAPER REQUIREMENTS 1 Paper type Single ply thermal paper roll 2 Specified thermal paper Original paper No P350 KSP Original paper No TF50KS E NIPPON PAPER INDUSTRIES CO LTD Or...

Страница 11: ...CONDITIONS 1 Operating Temperature 0 to 50 C 32 to 131 F If the printer is installed in outdoor applications in which the ambient temperature is low we suggest to use a blower fan heater to raise the...

Страница 12: ...ALLATION Fix the TK23 to the chassis by screwing putting 4 metric screws M4 L10 mm through the holes marked with A and B in fig 2 1 Fixing the TK23 Place all the screws in the same direction from up t...

Страница 13: ...can prevent the printer from being damaged by external agents such as weather or vandalism The basic points that a correct installation must follow are Smooth exit of the ticket Prevent problems with...

Страница 14: ...o points must be assured to make this system work right The construction of the receptacle must avoid the user to reach any internal parts of the machine The way of the ticket from the printer outlet...

Страница 15: ...therwise tickets may get stuck in the paper guide and never reach the receptacle As the printer is placed very near the user s chassis some system must be implemented in order to move the printer when...

Страница 16: ...CENTRONICS communications connector Also there are other interface elements that allows easy configuration of printer Paper near end sensor Paper Feed tact switch button Programming tact switch button...

Страница 17: ...rminals 2 and 3 are VCC 24V DC Terminals 1 and 4 are GND The TK23 requires one power source VCC 24V DC for driving the thermal head and motor This voltage is internally regulated to 5V to control the...

Страница 18: ...into consideration 3 Print quality may be poor if the printing ratio or print duty is high 4 Definitions Printing ratio the number of printing dots energizing pulses dot line Print duty the number of...

Страница 19: ...1 3 The data word length is fixed to 8 bits Pin Signal name Signal direction from the printer side Function 21 RXD Input Receive data 20 TXD Output Transmit data 22 RTS Output Logic 0 indicates that...

Страница 20: ...al data according to the transmission baud rate programmed If the input data is not printed correctly the transmission conditions between the host device and the TK23 do not probably match If this hap...

Страница 21: ...ion 8 bit parallel Synchronization External supplied STB signals Handshaking ACK and BUSY signals Signal levels TTL compatible Connector printer side Male PHD 24 pin connector JST ref S24B PHDSS Recom...

Страница 22: ...y tACK tNext Specification Description Symbol Min ns Max ns Data hold time tHold 750 Data setup time tSetup 750 STROBE pulse width tSTB 750 READY cycle idle time tReady 0 BUSY output delay time tBUSY...

Страница 23: ...When an error has occurred 2 3 3 3 Paralel Interface Connector pin assignement CN6 TK23 Pin Number Source Centronics Signal IF 2200 Signal D SUB25 PC Pin Number 1 Host Strobe Strobe 1 2 Host Data0 LSB...

Страница 24: ...evel 3 Data transmissions shall not ignore the ACK or BUSY signals An attempt to transmit data with either ACK or BUSY signal ignored can cause lost data Data transmissions to the printer shall be mad...

Страница 25: ...roll on the spindle 2 Place the paper roll in the right direction The thermal paper has only a side which TK23 can print thermal side If the user don t know which one it is just scratch the paper the...

Страница 26: ...Automatic paper load 5 Pass the paper end below the paper guide as shown in fig 3 0 and fig 3 1 and enter the paper in the mechanism inlet 6 Push the paper in until the TK23 detects it and starts the...

Страница 27: ...y a side which TK23 can print thermal side If you don t knows which one is it just scratch the paper the thermal side will show up the track on Fig 3 2 1 Manual paper load 4 Pass the paper end below t...

Страница 28: ...feeds paper continuously while pressing the PFEED button When the OM sensor is enabled the printer will feed paper by mark paper unit Paper feeding using the paper FEED button cannot be performed und...

Страница 29: ...Selected font Character scale Character spacing Line Spacing Status of the Black Mark sensor Status of the CR command function See point 4 CONTROL COMMANDS Starting the self test mode To start the sel...

Страница 30: ...FENIX IMVICO TK23 OPERATION MANUAL 30 81 Next figure shows an example of SELF TEST MODE Fig 3 4 SELF TEST MODE sample Rolling pattern Printer status...

Страница 31: ...g the programming mode To start the programming mode turn off the printer and hold down the PROG button then turn on the printer Then the printer asks for the configurable parameters These are the con...

Страница 32: ...FENIX IMVICO TK23 OPERATION MANUAL 32 81 Next figure shows how the printer asks for the configurable parameters YES Fig 3 6 PROGRAMMING MODE sample YES NO YES NO NO NO YES...

Страница 33: ...easily detected using this mode for the user can compare what he is supposedly sending to the printer and what the printer is actually receiving Starting the hexadecimal dump To start the hexadecimal...

Страница 34: ...r is explained in detail Name Description NO PAPER There is no paper in the printer inlet HEAD UP The thermal head is open PAPER NEAR END The paper roll is near its end HEAD TEMPERATURE The thermal he...

Страница 35: ...cally and the printer returns to normal status when the thermal head temperature drops to an acceptable level below 70 C ERROR ORIGIN The thermal head temperature raises over 75 C RECOVERY The printer...

Страница 36: ...3 5 6 HARDWARE ERROR At initialisation the printer internally checks its hardware devices If they do not function properly an error occurs ERROR ORIGIN Some of the printer hardware devices do not func...

Страница 37: ...37 81 3 5 8 SERIAL PORT ERROR DETECTION FLOW CHART Fig 3 9 Serial port error detection flow chart SEND Real time status COMMAND READ STATUS FROM PRINTER AND IDENTIFY ERROR END SEND 1 BYTE BEGIN NO RT...

Страница 38: ...ot detected for approximately 2cm The reflecting rate of the optical mark must be 10 or less and the reflecting rate of the white must be 75 or more The reflecting rate means the value which is measur...

Страница 39: ...fed backward by using these previous commands Feed backward is only recommended if Full Cut Autocutter is selected see pag 49 CONTROL COMMANDS ESC i ESC m for more explanation Is highly recommended th...

Страница 40: ...KET 1 at its cutting position CP and cut it Move paper backwards until finding the printing position PP of TICKET 2 Now TICKET 2 is ready to start printing Fig 3 12 Optical Mark recommended use sequen...

Страница 41: ...ve buffer The receiver buffer is a buffer that stores as it is the data received from the host the reception data The data received is stored in the receiver buffer temporarily and is then processed s...

Страница 42: ...49 ESC t Select Character Code Table X 50 ESC E Turn emphasized mode on off X 50 ESC G Turn on off double strike mode X 50 GS B Turn white black reverse printing mode X 51 GS FF Feed marked paper to p...

Страница 43: ...Format ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n Range 01 H n 04 H Description Transmits the selected printer status specified by n in real time according to the following parameters n 01 H Transmit...

Страница 44: ...N Platen is open Thermal head is open 3 Undefined 4 ON Not used Fixed to ON OFF No paper end stop 5 ON Printing is being stopped OFF No error 6 ON Error occurred 7 OFF Not used Fixed to OFF n 03 H Err...

Страница 45: ...used Fixed to OFF 1 ON Not used Fixed to ON 2 Undefined 3 OFF Not used Fixed to OFF 4 ON Not used Fixed to ON 5 Undefined 6 Undefined 7 OFF Not used Fixed to OFF ESC SP n Name Set right side character...

Страница 46: ...elected quadruple size characters are printed When some characters in a line are double or more height all the characters in the line are aligned at the baseline ESC E can also select the emphasited m...

Страница 47: ...settings to the settings that were in effect when the power was turned on Notes The data in the receiver buffer is not cleared ESC J n Name Print and feed paper Format ASCII ESC J n Hex 1B 4A n Decima...

Страница 48: ...ESC APPENDIX A ESC c 5 n Name Enable disable panel buttons Format ASCII ESC c 5 n Hex 1B 63 35 n Decimal 27 99 53 n Range 0 n 255 Description Enables or disables the panel buttons When the LSB of n i...

Страница 49: ...scription ESC m Notes ESC m Reference ESC m ESC m Name Paper Cut Format ASCII ESC m Hex 1B 73 Decimal 27 109 Description Cuts the Paper partial or fully depends on the selection of jumper JP1 in IF220...

Страница 50: ...on or off When the LSB of n is 0 emphasized mode is turned off When the LSB of n is 1 emphasized mode is turned on Notes Only the least significant bit of n is enabled This command and ESC turn on and...

Страница 51: ...rs 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 blac...

Страница 52: ...n Character Height Selection Hex Width Hex Height 00 1 normal 00 1 normal 10 2 double width 01 2 double height 20 3 02 3 30 4 03 4 40 5 04 5 50 6 05 6 60 7 06 7 70 8 07 8 Notes This command is effecti...

Страница 53: ...ng pattern print Details This command has enabled only when processed at the beginning of a line After the test print is finished the printer resets itself automatically Therefore data already defined...

Страница 54: ...ommands GS V m n Notes The offset for the print starting position is refered to the offset of the cutting position Offset for cutting position is always refered to the Optical Mark Default By factory...

Страница 55: ...ity If m 00 H the print density is set as the standard If 01 m 0A H the print density is set to be darker 0A is the darkest than the standard density The print density in one line is always the same e...

Страница 56: ...o two the maximum printing speed in speed level 1 becomes 90mm s When the print speed is set to maximum the energizing mode is automatically set to non divided print head energizing mode Default Speed...

Страница 57: ...ic and bar code printing Default nL 00 H nH 00 H Reference APPENDIX A GS T n Name Set print position to the beginning of print line Format ASCII GS T n Hex 1D 54 n Decimal 29 84 n Range n 00 H or n 01...

Страница 58: ...mmand is effective only when processed at the beginning of a line After cutting the ticket the printer always feeds the paper back to the printing position Notes for 1 The printer cuts paper at the cu...

Страница 59: ...table n Font 00 H Font A 12x24 01 H Font B 8x16 Notes HRI indicates Human Readable Interpretation HRI characters are printed at the position specified by GS H HRI characters are always printed at X Sc...

Страница 60: ...tal size exceeds printing area the printer only feeds the paper This command feeds as much paper as is required to print the bar code regardless of the line spacing specified by ESC 2 or ESC 3 This co...

Страница 61: ...nd processing and processes the following data as normal data 4 If the combination of and the following character does not apply any special character the printer stop command processing and processes...

Страница 62: ...i 01 H Double width 203 2 dpi 101 6 dpi 02 H Double height 101 6 dpi 203 2 dpi 03 H Quadruple 101 6 dpi 101 6 dpi dpi dots per 25 4 mm 1 xL xH select the number of data bytes xL xH x 256 in the horizo...

Страница 63: ...specifies the bar code width as follows Binary level Bar Code n Module Width mm for Multi level Bar Code Thin element width mm Thick element width mm 2 0 282 0 282 0 706 3 0 423 0 426 1 129 4 0 564 0...

Страница 64: ...umber of printable characters in one line is determined by the next formula The parameters of the formula are Mechanism 832 dots for LTP2442 576 dots for LTP2342 448 dots for LTP2242 LeftMargin 0 to 6...

Страница 65: ...ION MANUAL 65 81 ______________________________________________________ APPENDIX B CHARACTER CODE TABLES ______________________________________________________ PAGE 0 PC437 USA Standard Europe Interna...

Страница 66: ...table sending ESC t n command to the printer where n is the parameter page number By default page 0 is selected see point 4 CONTROL COMMANDS for more details NOTE Only the 128 255 upper character cod...

Страница 67: ...r returns to its normal position without any intervention by the user If the autocutter does not return to its normal position by itself turn the printer off Insert a Phillips screwdriver through the...

Страница 68: ..._______________________________________________________________ APPENDIX D EXTERNAL APPEARANCE ____________________________________________________________________ Fig D 1 TK23 60 80 external dimensio...

Страница 69: ...FENIX IMVICO TK23 OPERATION MANUAL 69 81 Fig D 2 TK23 60 80 isometric view External dimensions without paper roll aprox Unit mm...

Страница 70: ...tor Fixed division Mean 1 4 A Peak 1 7 A Two part energizing mode Mean 0 85 A Peak 0 1 A Standby Approx 0 1 A Fixed division Mean 1 8 A Peak 2 2 A Two part energizing mode Mean 1 05 A Peak 1 25 A Stan...

Страница 71: ...tage 24v DC Output current 2 5 A Power 60 Watts Max Safety requirements UL CSA TUV IEC950 CE FFC Mechanical dimensions 132 L x 69 W x 40 H mm TK23 XX XX XX Paper width Seiko mechanism 60 59 5 mm LTP22...

Страница 72: ...ULSA TK11 AVAILABLE ACCESORIES PARTNUMBER Description FAPOS 1 Power supply RS232 2 Standard RS232 cable for TK23 1 5m CENTRONIC 2 Standard Centronic cable for TK23 1 5m T60X110X25 Standard 110 mm diam...

Страница 73: ...giving the specified values Remove any foreign objects from the paper inlet If using the serial port check the port configuration The paper comes out but no characters are printed Make sure you are us...

Страница 74: ...ASCII characters 00H to 5FH Code set B ASCII characters 20H to 7FH Code set C 2 digit numeral characters using one character 100 numerals from 00 to 99 The following special characters are also availa...

Страница 75: ...Z 5A 90 VT 0B 11 3 33 51 5B 91 FF 0C 12 4 34 52 5C 92 CR 0D 13 5 35 53 5D 93 SO 0E 14 6 36 54 5E 94 SI 0F 15 7 37 55 5F 95 DLE 10 16 8 38 56 FNC1 7B 31 123 49 DC1 11 17 9 39 57 FNC2 7B 32 123 50 DC2...

Страница 76: ...52 82 Z 7A 122 2B 43 S 53 83 7B 7B 123 123 2C 44 T 54 84 7C 124 2D 45 U 55 85 7D 125 2E 46 V 56 86 7E 126 2F 47 W 57 87 DEL 7F 127 0 30 48 X 58 88 FNC1 7B 31 123 49 1 31 49 Y 59 89 FNC2 7B 32 123 50 2...

Страница 77: ...0 5A 90 11 0B 11 51 33 51 91 5B 91 12 0C 12 52 34 52 92 5C 92 13 0D 13 53 35 53 93 5D 93 14 0E 14 54 36 54 94 5E 94 15 0F 15 55 37 55 95 5F 95 16 10 16 56 38 56 96 60 96 17 11 17 57 39 57 97 61 97 18...

Страница 78: ...program is an easy way to explore the TK23 s main features To install the program run the SETUP EXE file and follow the instructions on the screen The program is intended for three purposes Printer C...

Страница 79: ...printer s sensors and notifies every significant error or printing status The program tests the printer s status once In some errors there may be a little time delay from the moment when the error is...

Страница 80: ...rmats of text by choosing the attributes of the desired text Sample Text up to 25 characters available Attributes to choose Character Font selection Prints no cut customized ticket Prints selected gra...

Страница 81: ...FENIX IMVICO TK23 OPERATION MANUAL 81 81 SPAIN c Pac fic 53 55 08027 BARCELONA Phone Num 34 93 353 92 22 Fax Num 34 93 353 97 21 E mail fenixim retemail es http www feniximvico com...

Отзывы: