EasyManua.ls Logo

Zebra CPCL - Page 201

Zebra CPCL
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mobile Printer CPCLProgramming Manual P10-49
BHT MODE Commands
This command sets one of several modes of operation to
specify how record data fields delivered by the BHT
protocol are interpreted.
Format:
{command} {mode}
where:
{command}: BHT-MODE
{mode}: STRIP-ADD-CRLF
Each data field in a record has any
trailing spaces stripped and a CR/LF
(carriage return/line feed) pair added.
The data field (stripped of trailing
spaces and with an appended CR/LF
pair) is then passed to the printer for
processing. This is the default way to
handle data sent to the printer.
RAW
The RAW mode accepts all characters
that make up each data field. Using this
method, any trailing spaces in a data
field will be INCLUDED as data for the
printer to process.
COUNTED STRING
This mode is based on the first charac-
ter of a data field being interpreted as a
count of data bytes that follow. In the
‘counted string’ mode, the number of
bytes specified by the count will be
transferred into the printer. The count
byte's maximum value is limited to the
data field size minus 1.
STRIP-SPACES
This mode eliminates trailing spaces in
continued

Related product manuals