background image

 

21 

Example: 

 
 

 

 

Character Setting Commands 

ESC ! n 

Set character printing mode 

Format: 

ASCII  :  ESC   !  n 

 

Decimal  : 

27  33  n 

 

Hexadecimal  : 

1B  21  n 

Explanation: 

Set the character printing mode. Each bit  of parameter  n  is defined as 

follows:

 

 

 

    

Default value =0, i.e. normal character size. 

 

ESC S0 

Set double width character printing 

Format: 

ASCII  :  ESC  S0 

 

Decimal  :  27  14 

 

Hexadecimal  :  1B  0E 

Explanation: 

Set the double width character printing in the same print line. 
This command can be cancelled by carriage return or DC4 commands. 

 

22 

 

ESC DC4 

Cancel double width character printing 

Format: 

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 but not the character enlargement set by ESC !.

 

 

ESC % n 

Select user-defined characters  

Format: 

ASCII :   ESC  % 

 

Decimal : 

27 

37 

 

Hexadecimal : 

1B  25 

Explanation: 

Enable/disable user-defined characters. Default n=0. 

When n = 1, user-defined character set is selected. 
When n = 0, normal character set is selected. 
Default n=0. 
 

ESC & s n m 

Define user-defined characters  

Format: 

ASCII : 

ESC  & 

s  n  m  [a[p]s x a]m-n+1 

 

Decimal : 

27 

38 

s  n  m  [a[p]s x a] m-n+1 

 

Hexadecimal : 

1B  26 

s  n  m  [a[p]s x a]m-n+1 

Explanation: 

ESC & is used to define user-defined characters.  s = 3, 32 = n< m = 126,   0 = 
a = 12, 0 = p = 255. 

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: