ProgrammerManual PTX‐S828
AppendixIConfigurationMenuLockout 408 260071‐001A
Bar Codes handled in MTPL Commands
(Native Bar Code Mode)
The S828 integrates in the firmware a sub-set handling of the MTPL emulation Bar Codes commands.
The complete and detailed information for these commands can be found on specific MTPL Programmer
Manual available on web.
Bar Code Description
Before the data, which contain the Barcode information, are transmitted to the printer, the Barcode header
must be sent. Otherwise the standard parameter values are used (see section "Header Format"). In the
header, the printing parameters, the Barcode size and the Barcode Type are de-fined. This header only
needs to be transferred once, unless settings are to be changed or the printer has been turned off.
Header Format Format: SUB [F] a [n] [;xyz] [;p] EM
[ ] Specification is optional
x, y unregarded at EAN/UPC-Barcode!
For Code 128 and EAN 128 (Type S+T) only the X parameter is valid. This is automatically used for the Y
parameter. The Z parameter is not evaluated.
Meaning of the characters:
SUB (hex.1A, dec.26) Start header
F Print feature
SP (hex. 20, dec. 32): HRI OFF, Normal Print, Double Pass, Unidirectional (def.)
! (hex. 22, dec. 34): HRI ON, Normal Print, Double Pass, Unidirectional
a ASCII a = "A"..."S" Barcode Types (def. “A”, see later on)
n ASCII n = "0"..."90" Barcode height in n/6 inch. At n="0" the Barcode height equals to 1/12 inch. (def. 1)
; ASCII Separation character
x ASCII x = "0"..."3" Width of the narrow bar (def.0 )
y ASCII y = "0"..."3" Width of the narrow space (def.0 )
z ASCII z = "0"..."3" Ratio of wide to narrow (def.0 )
p ASCII p = "0"…"9" Barcode orientation (def. 0, horizontal)
EM (hex.19, dec.25) End of header
Barcode Types
A = 2/5 matrix (default) B = 2/5 industrial C = 2/5 interleaved
D = Code 11 E = Code BCD matrix F = Code 39
G = Codabar H = EAN 8 with HRI I = EAN 8 without HRI
J = 2/5 matrix (default) K = EAN 13 with HRI L = EAN 13 without HRI
M = MSI/modified Plessey N = UPC A with HRI O = UPC A without HRI
P = UPC E with HRI Q = UPC E without HRI S = Code 128
T = EAN 128/GSI-128
Post Office Barcode Types
US Postnet Barcode = ESC [ 1 SP p
Planet Barcode = ESC [ 2 SP p <data> EM
KIX Barcode = ESC [ 2 SP k
Royal Mail Customer Barcode = ESC [ 1 SP k
USPS Intelligent Mail Barcode (IMB) = ESC [ 9 SP k