background image

 

33 

 

 

ASCII : 

GS 

m  n  d1…dn 

 

Decimal : 

29  107  m  n  d1…dn 

 

Hexadecimal : 

1D  6B 

m  n  d1…dn 

Explanation: 

For 

, 0 

 m 

 6 (k & d are depends on the barcode system selected) 

For 

, 65 

 m 

 73 (n & d are depends on the barcode system selected) 

Selects the bar code system and print the barcode. 

m select the barcode system as follows: 

No. of data 

Barcode 

GS w 2 

GS w 3 

Valid data 

Format 

 

CODE39 

 k 

 10 

 k 

 6 

48 

 d 

 57,  

65 

 d 

 90, 32, 36, 

37, 43, 45, 46, 47 

Format 

 

73 

CODE128 

 n 

 16 

 n 

 10  0 

 d 

 127 

u

 

n denotes the number of data (or characters) of the barcode.  The printer 

will process and print it in barcode format from next data(or bytes). 

u

 

If invalid data is met, printer will stop proceeding the print barcode 

command and treat the data followed as normal data/commands. 

u

 

This command follows the barcode setting regardsless of the line spacing 

parameters set by command ESC 2 or ESC 3  

u

 

If there is data in the print buffer before the print barcode command, 

printer 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 details about CODE128 barcode and its code sets. 

 

34 

u

 

Before using this printer for printing CODE128 barcode, please pay 

attention of t he followings about the data: 

1.

 

The first data of the barcode data stream must be the start character 

for define which code sets (Code A, B or C) is use. 

2.

 

Use “{“ and a character to represent some special control code or 

character.  For represent “{“ is “{{“.   

Data 

Special 

control 

code 

ASCII 

Hex 

Dec 

Functions 

SHIFT 

{S 

7B,53 

123,83 

Change code set 

CODE A 

{A 

7B,41 

123,65 

Select code set A 

CODE B 

{B 

7B,42 

123,66 

Select code set B

 

CODE C 

{C 

7B,43 

123,67 

Select code set C 

FNC1 

{1 

7B,31 

123,49 

Function 1 

FNC2 

{2 

7B,32 

123,50 

Function 2 

FNC3 

{3 

7B,33 

123,51 

Function 3 

FNC4 

{4 

7B,34 

123,52 

Function 4 

“{”

 

{{ 

7B,7B 

123,123 

Character “{“ 

<<Example>>  Print “No. 123456” as the barcode data 

In this example, printer should use Code set B to print “No.” first and then 

Code set C for the number. 

 

 

GS k 73 10 123 66 78 11 46 123 67 12 34 56 

 

 
 

 

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: