Zebra CPCL Specifications Page 191

  • Download
  • Add to my manuals
  • Print
  • Page
    / 497
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 190
Mobile Printing Systems
CPCL Programming Manual
Section 10
Advanced
Utilities
pg. 10-42
continued
The SET CONNECTOR menu options:
1. The TRANSMIT SPEED (if the printer uses the default) is set to 9600 BPS
2. The PARITY BIT is set to NONE
3. The DATA BIT is set to 8 BITS
4. The STOP BIT is set to 1 BIT
5. The Serial Number is set to ON
6. The Horizontal Parity is set to ON
• The COM PORT is set to IFC (on the BHT-5000 set COM DEFAULT to CONNECTOR)
Loading a .DAT le into the BHT
Zebra mobile printers will only print files with the .DAT extension sent from the BHT. The following
example file CIS.DAT contains a label file that can be loaded from a PC into the BHT via a serial cable
using the TU3.EXE utility provided by DENSO. The file can then be sent to a Zebra mobile printer to
produce a label. Files with a .DAT extension contain records composed of one or more record fields.
For CIS.DAT, each record will be specified as having only one field with a width of 40 bytes. The 40
byte width was chosen because no single line in the example CIS.DAT file exceeds 40 bytes. The
resulting records transferred to the BHT will each contain a single field 40 bytes wide. The BHT and
BHT-IR protocol will add space characters as needed to any field containing less than 40 bytes. Thus
the CIS.DAT file contains 24 lines that will be interpreted as 24 records containing a single field of 40
bytes.
Note that while the example uses the TU3.EXE utility to download the file from a PC, these files could
also be created under control of an application program executing directly on the BHT.
The command line that will transfer this file into the BHT is: TU3 +MPC +B9600 CIS.DAT +F40
The BHT will now contain the file CIS.DAT.
Sending The Example Label File to the Printer
Zebra mobile printers with the BHT application will print files with the .DAT extension. As noted
before, the default action of the printer when a record is received is to strip all trailing spaces from all
record fields, then append a carriage return/line feed pair to the data. Using this default, the trailing
spaces in every field of the example CIS.DAT file will be stripped, and a CR/LF pair will be added.
Page view 190
1 2 ... 186 187 188 189 190 191 192 193 194 195 196 ... 496 497

Comments to this Manuals

No comments