EasyManua.ls Logo

Zebra CPCL - Page 202

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...
P10-50 Mobile Printer CPCLProgramming Manual
each data field of a record. Note that
unlike the STRIP-ADD-CRLF mode, no
CR/LF pair is added to the data after
stripping the trailing spaces.
continued
BHT MODE Command Examples
In the following examples a record is defined to be made up of 3
data fields. Fields 1, 2 and 3 are 10, 8 and 20 bytes long, respectively.
The "^" character indicates a space character. Other combinations
of fields and field lengths can be used as long as they conform with
the BHT protocol's data file record field formats.
Example 1: Strip Spaces and Add CR/LF:
Input: ADDCRLF.BAT
! DF autoexec.bat
! UTILITIES
SRF-ACCESS
BHT-MODE STRIP-ADD-CRLF
END-SRF-ACCESS
PRINT
Output:
Data Record:
|----10----|---8----|--------20----------
|
Comtec^^^^ ^Info^^^ ^Systems^^^^^^^^^^^^
Data Sent to printer:
|Comtec<CR><LF>^Info<CR><LF>^Systems<CR><LF>|

Related product manuals