GS k Print barcode
POS58Ⅲsupport ESC/POS compatible printing commands.
The format of each printing commands are illustrated below:
Printing Command Function
Format: ASCII : the sequence in standard ASCII characters
Decimal : the sequence in decimal numbers
Hexadecimal : the sequence in hexadecimal numbers
Explanation: description of the command.
Example: some examples are listed to illustrate the command for better
understanding.
Printing Commands
LF Print and feed paper
Format : ASCII : LF
Decimal : 10
Hexadecimal : 0A
Explanation:
Print the data in the print buffer and feed one line. Feed one line only if buffer
is empty.
20
ESC J n Print and feed paper ‘n’ dots lines
Format: ASCII : ESC J n
Decimal : 27 74 n
Hexadecimal : 1B 4A n
Explanation:
Print data in buffer and feed ‘n’ dots lines (n/203 inch). n = 0 ~ 255.
This command is valid for current line only and will not change the space
settings set by ESC 2, ESC 3.
Example:
Line space setting commands
ESC 2 Set line spacing to 1/6”
Format: ASCII : ESC 2
Decimal : 27 50
Hexadecimal : 1B 32
Explanation:
Set the line spacing to 1/6” which is equal to 32 dot lines.
ESC 3 n Set line spacing to ‘n’ dot lines
Format: ASCII : ESC 3 n
Decimal : 27 51 n
Hexadecimal : 1B 33 n
Explanation:
Set the line spacing to n dot-lines. n = 0 ~ 255, default n = 30. One dot-lines is
1/203 inch for POS58 II, this command set the dot-line spacing to n/203