background image

 

29 

Printer status commands 

ESC v 

Send printer status to host 

Format: 

ASCII : 

ESC  v 

 

Decimal : 

27  118 

 

Hexadecimal : 

1B  76 

Explanation: 

Send the printer current status to host, only valid for the printer with serial port 
(POS58IIIIS/AS).  
When printer received the command, it transfers one byte through TXD line of 
the interface. Definition of said byte is shown as below.  

 

GS a n 

Enable/disable ASB status sending 

F

ormat: 

ASCII : 

GS 

 

Decimal : 

29 

97 

 

Hexadecimal : 

1D  61 

Explanation: 

Enable/disable auto-status back (ASB) sending, valid for serial interface type 
models (POS58IIIIS/AS) only. 
 

Explanations 

Bit 

Function 

Value 

LED  

Auto-cutter not in home psoition  

not defined 

Paper out 

Upper cover not yet close 

not in use 

not defined 

Print-head overheated 

not defined 

------ 

------ 

------ 

flash 1 time 

------ 

flash 4 times 

flash 6 times 

----- 

------ 

flash fast & evenly 

------ 

 

30 

Definition of selected bytes 

Value 

Bit 

Status definition 

Fixe to 0 

 

 

Not defined 

 

 

Enable/disable ASB sending 

Disable 

Enable 

3, 4 

Not defined 

 

 

Enable/diable 

ERROR 

set 

Busy 

(RTS=“MARK”) 

Disable 

Enable 

6, 7 

Not defined 

 

 

Note 1: 

u

 

When ASB sending is enabled, printing will automatically send a 
status byte to host ignoring whether printer is ready, or printing, or 
any errors occurred, or stauts of RTS/CTS handshaking status. 

u

 

If enable error set busy, when printer detect any errors status will set 
BUSY (RTS=”Mark”) 

u

 

Default n = 00H, no ASB sending, Error not set Busy. 

u

 

ESC @ doesn’t change GS a settings. 

 

ESC u 

Return equipment status  

Format: 

ASCII : 

ESC  u 

 

Decimal : 

27   117   n  

 

Hexadecimal : 

1B  75 

 n 

Explanation:  
Send equipment status to host, only valid to the printer with serial port 
(POS58IIIIS/AS) 

Summary of Contents for POS58 III

Page 1: ...P POS58 Thermal Line Printer User s Manual The contents of this manual are subject to change without notice Warning This is a class A product it might cause interference with other electronic products...

Page 2: ...idity or dusty environment Do not place heavy objects on top of this products F Caution Paper roll Be sure to use paper rolls that meet the specifications Do not use paper rolls that have the paper gl...

Page 3: ...damaged Figure 1 1 Printer Figure 1 2 Power cord Figure 1 3 Power supply Appearance TP POS58 is a new type thermal line printer Figure 1 4 Printer Front Figure 1 5 Printer Rear Upper cover Paper out...

Page 4: ...gnal Mark indicates that the printer is busy and unable to receive data Space indicates that the printer is READY for receiving data 7 GND Signal Ground Note Source denotes the source that signal come...

Page 5: ...Out HIGH level signal indicates that the printer is BUSY and can not receive data 12 PE Out HIGH level signal indicates that paper running out 13 SEL Out Pull up to HIGH logical level by a resistor 1...

Page 6: ...h drawer connector otherwise the printer and the telephone may be damaged Plug the cash drawer cable into the cash drawer connector next to the power supply connector at the back of the printer as sho...

Page 7: ...roll Width 57 5 0 5mm Outside Diameter 50mm Max Inside Diameter 13mm Min Thickness max 65 m Auto cutter version 80 m Manual cutter version CAUTION The thermal paper roll used should have inner paper c...

Page 8: ...e thermal paper roll Clean the heatingunit of the print head with a cotton swab moistened with alcohol solution 3 After cleaning be sure the alcohol on the head is thoroughly desiccated Put the paper...

Page 9: ...nd then Self test begins automatically The Self test will check the condition of printer If the printer prints out the Self test receipt correctly it means the printer is working normally The Self tes...

Page 10: ...erly please contact the qualified servicing professional for assistance 5 The print out has missing column s Check whether dirt is stick to the printer head or not If so please refer to this manual fo...

Page 11: ...lel Interface auto cutter POS58IIIIS Serial Interface POS58IIIIAS Serial Interface auto cutter Printing Control Commands Summary Type Commands Descriptions LF Print Line feed Printing ESC J Print n do...

Page 12: ...imal 10 Hexadecimal 0A Explanation Print the data in the print buffer and feed one line Feed one line only if buffer is empty ESC J n Print and feed paper n dots lines Format ASCII ESC J n Decimal 27...

Page 13: ...ASCII ESC DC4 Decimal 27 20 Hexadecimal 1B 14 Explanation Cancel the double width character printing mode set by ESC S0 The double width printing can be cancelled by carriage return or DC4 commands b...

Page 14: ...1B 2A m n1 n2 d k Explanation Select bit map printing mode m for setting bit map graphics mode n1 n2 for setting number of dots d k for setting contents of dots m 0 1 32 33 n1 0 255 n2 0 3 d 0 255 k n...

Page 15: ...phic n1 0 48 n2 1 255 n1 x n2 9600 k n1 x n2 x 8 d is the bit map data The horizontal size of this graphic is n1 x 8 dots and vertical size is n2 x 8 dots The definition is valid till re define power...

Page 16: ...e pulse width for opening of drawer n2 2ms is the pulse width in low level for closing of drawer Start printing positon Cutting position Feeding 12 5mm Status of cash drawer see ESC u command Button c...

Page 17: ...in use not defined Print head overheated not defined 1 1 1 0 1 flash 1 time flash 4 times flash 6 times flash fast evenly Definition of selected bytes Value Bit Status definition 0 1 0 Fixe to 0 1 Not...

Page 18: ...fined not defined not in use not defined not defined not defined Low 0 High GS h n Set barcode height Format ASCII GS h n Decimal 29 104 n Hexadecimal 1D 6 n Explanation This command set the bar code...

Page 19: ...r will print the buffer data first and then print the barcode u After printed the barcode the next printing position is the beginning of next line When using CODE128 m 73 u Please see Appendix for det...

Page 20: ...ers are defined by 103 barcode characters and 3 Code Sets to represent u Code set A ASCII characters 00H 5FH u Code set B ASCII characters 20H 7FH u Code set C 1 characters denotes one 2 digits numera...

Page 21: ...35 K 4B 75 24 36 L 4C 76 25 37 M 4D 77 26 38 N 4E 78 27 39 O 4F 79 B Code Set B Transmit Data Transmit Data Transmit Data Character Hex Dec Character Hex Dec Character Hex Dec SP 20 32 H 48 72 p 70 1...

Page 22: ...0 50 32 50 90 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...

Reviews: