background image

TH82 Series Reference Manual 

 

16/16

6 CHAPTER 

COMMANDS 

6.1 COMMAND TABLE 

COMMAND 

COMMAND NAME 

TH-82

TH-200

EXECUTING 

SETTING 

STANDARD 

MODE 

PAGE 

MODE 

HT Horizontal 

tab 

   

○ ○

FF 

Print in page mode and return to standard mode 

   

- ○

CR Carriage return 

○**

   

○ ○

LF 

Print and line feed 

   

○ ○

DLE  NUL 

Clear 

   

○ ○

DLE  ENQ   Real-time request to printer 

   

○ ○

DLE    DC4 

Real-time pulse output 

   

○ ○

DLE  EOT 

Real-time status transmission 

   

○ ○

CAN Cancel 

print 

data 

   

- ○

ESC  FF 

Print data in page mode 

   

- ○

ESC    SP 

Set the right space amount of the character

○**

○ ○  ○

ESC  ! 

Select print mode 

○ ○  ○

ESC  $ 

Set absolute print position 

○**

   

○ ○

ESC  % 

Specify/cancel download character set 

○ ○  ○

ESC  & 

Define download characters 

○ ○  ○

ESC  * 

Specify the bit-image mode 

   

○ ○

ESC

 

Turn underline mode on/off 

○ ○  ○

ESC  2 

Specify 1/6-inch line spacing 

○ ○  ○

ESC  3 

Set line spacing 

○**

○ ○  ○

ESC  4 

Set logo pattern data 

○ ○  ○

ESC  = 

Set peripheral device 

○ ○  ○

ESC

 

? Cancel 

download 

characters 

○ ○  ○

ESC  @ 

Initialize printer 

○ 

○ 

ESC  D 

Set horizontal tab positions 

○ ○  ○

ESC  E 

Turn emphasized mode on/off 

○ ○  ○

ESC    G 

Turn double-strike mode on/off 

○ ○  ○

ESC  J 

Print and feed paper 

○**

   

○ ○

ESC  L 

Select page mode 

  

(Line) 

-

ESC    M 

Select character font 

○ ○  ○

ESC    R 

Select an international character set 

○ ○  ○

ESC  S 

Select standard mode 

  

ESC    T 

Select print direction in page mode 

○ 

(Set) 

ESC    V 

Turn 90° clockwise rotation mode on/off 

○ ○ (Set)

ESC    W 

Set printing area in page mode 

○**

○ 

(Set) 

ESC  

 

Set relative print position 

○**

   

○ ○

ESC  a 

Select justification 

○ 

(Line) (Set)

ESC  c 3 

Select effective paper sensors 

○ ○  ○

ESC    c 4 

Select paper sensor to stop printing 

○ ○  ○

ESC  c 5 

Enable/disable panel switches 

○ ○  ○

ESC    d 

Print and feed n lines 

   

○ ○

ESC  i 

Full cut 

   

(Line) 

ESC  k 

Select characters (ANK) 

○ ○  ○

ESC 

 

m Partial 

cut 

 

 

(Line) 

ESC  o 

Print logo pattern 

 

 

○ 

-

ESC  p 

Generate pulse 

   

○ ○

ESC    t 

Select character code table 

○ ○  ○

Содержание TH82

Страница 1: ...TH82 Series Reference Manual 1 1 TH82 THERMAL PRINTER REFERENCE MANUAL Version 1 0 MAR 2004 CLOVER Electronics Co Ltd...

Страница 2: ...NE LED 7 2 3 3 ERROR LED 7 3 CHAPTER 3 MAINTERNANCE TROUBLESHOOTING 8 3 1 INSTALLING OR REPLACING PAPER ROLL 8 3 2 ADJUSTING THE PAPER NEAR END SENSOR 8 3 3 PAPER JAM 9 3 4 TROUBLESHOOTING 9 4 CHAPTER...

Страница 3: ...e interference by one or more of the following measures reorient the receiving antenna relocate the computer with respect to the receiver move the computer away from the receiver plug the computer int...

Страница 4: ...uto cutter TH 82KN Note Chinese model merchandising was not fixed under the influence of Chinese domestic law as of Jan 2004 For further information please contact us SAFETY DEFINITIONS In order to av...

Страница 5: ...UTTER COVER POWER SWITCH Before connecting any of the cables please turn off the HOSTdevice 1 3 ATTACHING INTERFACE CABLE TO THE PRINTER You need an appropriate interface cable Refer to section 5 3 1...

Страница 6: ...rinter make sure that the power supply is unplugged from the poweroutlet and connect the powercord into the adapter 1 Make sure that the adapter plug is unplugged from the power outlet 2 Plug the DC c...

Страница 7: ...E Press the ONLINE button to put the printer online or offline The green light indicates the printer is online Pressing the online button during printing will pause printing until the online button is...

Страница 8: ...printer cover as shown Tear off the excess paper on the cutter edge 3 2 ADJUSTING THE PAPER NEAR END SENSOR A sensor detects when the paper roll is running out Due to variation in the width of paper...

Страница 9: ...Contents Causes point to check Solutions Is the Power Switch turned ON Turn the Power Switch ON Is the connector on the power adapter properly connected Connect the Connector firmly Does the Printer r...

Страница 10: ...SERVICE Check print capability by running the Self Test If printing fails see Can t Print Is the Connector of Interface firmly connected with screws Seat the Connector firmly and tighten the screws Pr...

Страница 11: ...ure that the total of all products plugged into the wall outlet does not exceed 15 amperes Do not push objects of any kind into this product through cabinet slots as they may touch dangerous voltage p...

Страница 12: ...bytes Command ESC POS compliant ESC POS compliant Paper Width Diameter 80mm W x 80mm Dia Max 80mm W x 80mm Dia Max Thermal head life 100 Million Pulses 100km or more 100 Million Pulses 100 km or more...

Страница 13: ...side 12 mm 0 47 Outside 18 mm 0 71 NOTE The end of the paper roll must be free to come off the spool when finished It must not be adhesively attached or attached in another semi permanent manner 5 3 I...

Страница 14: ...nput signal by using the DLE EOT GS a or GS r commands PIN I O DESCIPTION 1 Frame ground 2 Output Drawer kick out drive signal 1 3 Input Drawer open close signal 4 Output 24 V 5 Output Drawer kick out...

Страница 15: ...ENCLOSED GOODS INNER CASE 4pcs DISPLAY CARE MARK MODELNAME stamped in 2 parts both sides SERIAL NO stickers attached 4pcs SEALING TAPE OPP clear color H shaped taping INNER CASE Weight 2 4kg 305 mm 2...

Страница 16: ...acing ESC 3 Set line spacing ESC 4 Set logo pattern data ESC Set peripheral device ESC Cancel download characters ESC Initialize printer ESC D Set horizontal tab positions ESC E Turn emphasized mode o...

Страница 17: ...size GS Set absolute vertical print position in page mode GS Define download bit image GS A Execute test printing GS Print download bit image GS Start end macro definition GS B Turn white black rever...

Страница 18: ...urn to standard mode FORMAT 0C H FUNCTION Prints the data in the printable area collectively and return to the standard mode DETAILES The data is deleted after being printed The printing area is reset...

Страница 19: ...th ESC selected peripheral device This command is effective only when an automatic cutter error occurs This command is executed when the data is received This command is executed even when the printer...

Страница 20: ...cter strings with this command This command must not be used within the data sequence of another command that consists of two or more bytes DLE EOT Real time status transmission FORMAT 10 H 04 H n 1D...

Страница 21: ...1 n 3 Error status VALUE BIT Function 0 1 0 Not used Fixed to off 1 Not used Fixed to off 2 Motor slip No error Error 3 Autocutter No error Error 4 Not used Fixed to off 5 Unrecoverble error No error...

Страница 22: ...Kanji characters The right space amount in double wide mode is twice the set volume This command can set value indepently in each mode of standard and page modes DEFAULT n 1 ESC Select print mode FOR...

Страница 23: ...aracters FORMAT 1B H 26 H s c1 c2 x1 d1 dn xk d1 dn RANGE s 2 3 The number of bytes in the vertical direction 2 font B 3 fontA 20H c1 FEH The beginning character for the definition 20H c2 FEH The fina...

Страница 24: ...8 dot double density 8 67DPI 200DPI n1 n2 x 256 32 24 dot single density 24 200DPI 100DPI n1 n2x256 x3 33 24 dot double density 24 200DPI 200DPI n1 n2x256 x3 n1 n2x256 dot D1 D2 D3 MSB LSB 8 dot bit i...

Страница 25: ...but note that the last received command is effective When underline mode is turned off by using ESC after turned on by ESC underline mode by ESC is turned off DEFAULT n 0 ESC 2 Specify 1 6 inch line s...

Страница 26: ...enabled ESC Cancel download characters FORMAT 1B H 3F H n RANGE 32 n 126 FUNCTION Cancels download characters CAUTION n is the character code which cancels the defined pattern After the download char...

Страница 27: ...ne The horizontal tab position does not change even if the character width is altered after setting the horizontal tab position Set d in ascending order ESC D 00h cancels all horizontal tab positions...

Страница 28: ...d sets the position where data is buffered to the position specified by ESC T within the printing area defined by ESC W This command switches the setting for the following commands which have each val...

Страница 29: ...W are initialized This command switches the setting for the following commands which have each value independently in standard mode and page mode to those for standard mode Set right side character s...

Страница 30: ...nits x or y of the following commands differ depending on the starting position of the printing area If the starting position is the upper left or lower right data is buffered in the direction perpend...

Страница 31: ...ntal starting position printing area width exceeds the printable area the printing area width is set to horizontal printable area horizontal starting position If vertical starting position printing ar...

Страница 32: ...d When the printable area moves from current position to the right specify positive direction and to the left specify negative direction When pitch N moves to the left 65536 N n1 n2x256 ESC a Select j...

Страница 33: ...mmand is effective only with a parallel interface and is ignored with a serial interface It is possible to select multiple sensors to output signals If multiple sensors are effective the paper end sig...

Страница 34: ...ndefined This function is valid only on near end sensor model DEFAULT n 0 ESC c 5 Enable disable panel switches FORMAT 1B H 63 H 35 H n RANGE 0 n 255 n is valid only in the lowest bit FUNCTION n 0 B T...

Страница 35: ...ESC m Partial cut one point left cut FORMAT 1B H 69 H RANGE FUNCTION Sets Partial cut CAUTION Paper must be fed 3 mm after printing to prevent paper jam ESC o Print logo pattern FORMAT 1B H 6F H n1 n...

Страница 36: ...CAUTION The pulse ON time is n1 x 2 msec and OFF time is n2 x 2 msec If n2 n1 the pulse OFF time is n1 x 2msec Do not activate the drawer continuously ESC t Select character code table FORMAT 1B H 74...

Страница 37: ...TH82 Series Reference Manual 37 37...

Страница 38: ...lug 1 Closed Bit 0 1 plug 1 Open Bit 1 0 plug 2 Closed Bit 1 1 plug 2 Open ESC Turn upside down printing mode on off FORMAT 1B H 7B H n RANGE 0 n FFH FUNCTION Turns upside down printing mode on or off...

Страница 39: ...lues of the argument m the stored starting address a1 a2 a3 a4 and the number of the stored data nL nH are out of the range or if the stored starting address a1 a2 a3 a4 the number of the stored data...

Страница 40: ...e contents of Header Data NUL are as follows Header Hexadecimal 5FH Data Data of NV user memory nL nHx256 bytes NUL Hexadecimal 00H When DTR DSR control is selected the printer transmits all data cont...

Страница 41: ...k reverse printing rotated character except upside down printing If the printing area set by GS L and GS W is less than one vertical line in NV bit image the following procession is executed only on t...

Страница 42: ...inter processes any of xL xH yL yH out of the defined range in the first group of NVbit images The printer stops processing this command and starts writing in to non volatile memory when it processes...

Страница 43: ...r clears the receive buffer and initializes the mode to the mode that was effective at power on At this time DIP switch setting are read again During processing this command the printer may be BUSY wh...

Страница 44: ...not underline the space set by Horizontal tab HT and 90 clockwise rotated characters ESC V The thickness of the underline is specified by FS regardless of the character size When some characters with...

Страница 45: ...byte Kanji character is off by default The second byte 00H 20H 21H 7EH 7FH A1H FEH FFH 00H 1FH The control code which the first byte is effective is processed as the control code and the following dat...

Страница 46: ...ng but the previously specified underline thickness is stored The default underline thickness is 1 dot The specified underline thickness does not change regardless of the character size This command i...

Страница 47: ...a2 is the character codes for the defined characters a1 specifies the first byte and a2 the second byte data1 data72 32 is the defined data 1 specifies corresponding bit to print a dot and 0 not to p...

Страница 48: ...Japanese model The first byte 21 H 7E H The second byte 21 H 7E H In the SHIFTJIS code system the available codes are as follows The first byte 81 H 9F H and E0 H EF H The second byte 40 H 7E H and 80...

Страница 49: ...ters on the line are aligned at the baseline When the size of the character is enlarged to the horizontal direction it is enlarged to the right based on the left side of the character The setting of t...

Страница 50: ...imes DETAILES This command is effective for all characters alphanumeric and Kanji except for HRI characters If height or width is out of the defined range this command is ignored In standard mode the...

Страница 51: ...n In this case the vertical motion unit y is used When the starting position is set to the upper right or lower left this command sets the absolute print position to the horizontal direction In this c...

Страница 52: ...ter the test print is finished the printer resets the hardware automatically Thus the previously defined data such as the download characters download bit image and macro becomes undefined and the rec...

Страница 53: ...is turned off When n 1 B white black reverse mode if turned on DETAILES Only the lowest bit of n is valid This command is effective for built in characters and download characters This command is als...

Страница 54: ...ID Depends on the model 2 50 Type ID See below table 3 51 ROM version ID Depends on the ROM version Type ID as follows Value Bit Function 0 1 0 Two byte character code Not supported Supported 1 Autocu...

Страница 55: ...flag operation The setting of this command does not affect printing in page mode The maximum left margin is the same area with the printable area in the horizontal direction If the setting exceeds th...

Страница 56: ...the upper left or lower right by ESC T data is buffered in the perpendicular direction to the paper feed direction Commands using x ESC SP ESC ESC W ESC FS S Commands using y ESC 3 ESC J ESC W GS GS G...

Страница 57: ...setting the left margin the current left margin remains unchanged The horizontal motion unit x by GS P is used for calculating the printing area width The calculated result is truncated to the minimum...

Страница 58: ...t relative vertical printing position in page mode FORMAT 1D H 5C H nL nH RANGE 0 nL 255 0 nH 255 FUNCTION Sets relative vertical print starting position from the current position in page mode The dis...

Страница 59: ...the LED indicators blink and the printer waits for the manual feed button After the button is pressed the printer executes the macro once The printer repeats this operation n1 times CAUTION The macro...

Страница 60: ...he current status If all the status are disabled theASB function is disabled The following four status bytes are transmitted without confirming if the HOST is ready to receive data The four status byt...

Страница 61: ...used Fixed to 0 5 Not used Fixed to 0 6 Not used Fixed to 0 7 Not used Fixed to 0 Bit 0 and 1 are valid only on near end sensor model d Fourth byte paper sensor information Value Bit Status 0 1 0 Not...

Страница 62: ...s not processed when each of character width or character height is the normal size DEFAULT n 0 GS f Select font for HRI characters FORMAT 1D H 66 H n RANGE 0 n 1H 30 n 31H FUNCTION Selects a font for...

Страница 63: ...H 3 JAN8 EAN8 7 k 8 30H d 39H 4 Code39 1 k English capital numerical symbols 5 Interleaved 2 of 5 ITF 1 k 30h d 39h 6 Codabar 1 k Numerical numbers ABCD This command ends with NULcode m Bar code syste...

Страница 64: ...near end sensor model b n 2 drawer kick out connector status Value Bit Status 0 1 0 Drawer kick out connector pin 3 Low High 1 Not defined 2 Not defined 3 Not defined 4 Not used Fixed to 0 5 Not defin...

Страница 65: ...d by GS L GS W is less than the minimum width the printing area is extended to the minimum width only on the line in question The minimum width is 1 dot in normal mode m 1 49 and double height mode m...

Страница 66: ...TH82 Series Reference Manual 66 66 GS w Select bar code width FORMAT 1D H 77 H n RANGE 2 n 4 FUNCTION Sets the horizontal size of the bar code to dot n DEFAULT n 3 This command is invalid...

Страница 67: ...Data Length Off 8bits On 7bits 8 Busy Off Bufferful On Bufferful Offline 9 Reversed Off Fixed to Off Fixed to Off 10 Carriage Return Off Valid On Invalid Before changing DIPswitch setting 1 Make sure...

Страница 68: ...enu 4 Selection of the file and transmission Select the file to be transmitted ie TH82xxxx hex using the DRIVE LIST BOX DIRECTORY LIST BOX and FILE LIST BOX The selected file name is displayed below t...

Отзывы: