Commands
GS h Set Barcode Height
Description
Defines the height of the b ars(in do ts)for barcod es.The h eight is defined in n/203 i nch
increments. For example, specify 203 as the value for nto print a 1-inch high barcod e.
The barcode heigh t is always round ed up to th e next multip le of 8.
Expression
ASCII GS h n
Decimal 29104 n
Hex 1D68 n
Parameters
nthedesire dheight (in dot lines) of the barcode
GS k Print Barcode
Description
Prints a barcode at the current positio n in the current orientation. The np arameter
selects the symbology to b e printed. (See the table below.) The mparameter specifies
how many characters are to be encoded a sp arto ft he barcode. Ift he number of
characters to be encoded is variabl e,t he mp arameterscan b e set to zero. This will cause
the printer to read the next character sent as a delimiter character. Further characte rsw ill
then be encoded in to the barcode until a charact eris foun d that matches the start
character.
Expression
ASCII GS k n m d1…dm
Decimal 29107 n m d1…dm
Hex 1D6B n m d1…dm
Parameters
nSelects the barcode symbologyto be used
mSpecifies the number of characte rs to be encoded. Also specifies w hich
EAN/UPC symbologywill be used
d1…dm Thedata chara cters to be encoded.
Character Value BarcodeSymbology
n= 0 POSTNET
n= 1 reserved
35