HM-E200 Programming Manual
①GS k m d1 d2 … dk NUL ②GS k m n d1 d2 … dn
[Name] Print bar code
[Format] ① ASCII GS k m d1 d2 … dk NUL
Hex 1D 6B m d1 d2 … dk 00
Decimal 29 107 m d1 d2 … dk 0
② ASCII GS k m n d1 d2 … dn
Hex 1D 6B m n d1 d2 … dn
Decimal 29 107 m n d1 d2 … dn
[Range] ①0 ≤ m ≤ 10;②65 ≤ m ≤ 75
[Description] m:bar code type
n:bar code length
If there are illegal characters in the data, the printer will not print the bar code
The bar code width that exceeds the print area cannot be specified.
This command feeds as much paper as is required to print the bar code, regardless of the
line spacing specified by line space setting commands.
GS r n
[Name] Transmit status
[Format] ASCII GS r n
Hex 1D 72 n
Decimal 29 114 n
[Range] n = 1, 49
[Description]
• This command is only available on serial port printer.
• Since this command is executed after the data is processed in the receive
buffer, there may be a time lag between data reception and status tansmission.
• transmit 1 byte of status data specified by n as follows:
Paper sensor status( n = 1,49 ):
Paper roll sensor: paper end
Paper roll sensor: paper
adequate
Paper roll end sensor: paper present
Paper roll end sensor: paper bot present