double-strike,
underline, character size, or white/black reverse printing).
• If the downloaded bit-image to be printed exceeds the printable area, the
excess data is not printed.
• Please use the software tool that we provide to download the bit-image.
4.5 Bar Code Printing Commands
4.5.1 GS k
[Name]: Print bar code
[Format]: ASCII GS k n [d] NUL
Hexadecimal 1D 6B n [d] 00
Decimal 29 107 n [d] 0
[Description]: n : select a bar code system that is about to print; n=2 means
EAN-13
,
n=3 means EAN-8
,
please notice the character numbers of every
bar code. EAN-13 and EAN-8 can automatically produce checkcharacter.
[d]: The bar code characters that about to print.
NUL: It is used to end this command.
4.5.2 GS H n
[Name]: Select/cancel printing HRI character
[Format]: ASCII GS H n
Hexadecimal 1D 48 n
Decimal 29 72 n
[Description]: n=0, don’t print HRI characters, default n=0.
n=1, print HRI characters under bar code.
4.5.3 GS h
[Name]: Set bar code height
[Format]: ASCII GS h n
Hexadecimal 1D 68 n
Decimal 29 104 n
[Description]: Set the height of bar code that about to print. n=0~255.When
n=0, it is 256, default n=60.
4.5.4 GS w
[Name]: Set bar code horizontal size
[Format]: ASCII GS w n