Command Reference Epic 950 OEM Integration Manual
95-05245 Rev G Page 131
GS k – Print Bar Code
Description
Prints a bar code at the current position in the current orientation. The n parameter
selects the symbology to be printed. The m parameter specifies how many characters
are to be encoded as part of the bar code, except in cases where n=2, where m
represents the EAN/UPC symbology to be used.
Expression
ASCII [GS] k <n> <m> d1…dm
Hexadecimal 1DH 6BH <n> <m> d1…dm
Decimal <29> <107> <n> <m> d1…dm
Parameters n = Selects the bar code symbology to be used, based
on the table below.
m = Specifies the number of characters to be encoded.
Also specifies which EAN/UPC symbology will be used,
in cases where n=2, based on the table below.
d1..dm = The data characters to be encoded
Character Value Bar Code Selected
n = 0 reserved
n = 1 reserved
n = 2 EAN/UPC Auto
m = 6 UPC-E
m = 7 EAN-8
m = 11 UPC-A
m = 12 EA N-13
n = 3 reserved
n = 4 Code 3 of 9
n = 5 reserved
n = 6 Codabar
n = 7 Interleaved 2 of 5
n = 8 Code 128-A
n = 9 Code 128-B
n = 10 Code 128-C
n = 11 Code 128-Auto
n = 12 Code93
n = 13 reserved
n = 14 reserved
n = 15 reserved