EasyManua.ls Logo

Zebra CPCL - IR or Cable Interface Selection; BHT-BAUD Command; Setting the Mode for IR Data Transmission

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-40 Mobile Printer CPCLProgramming Manual
continued
IR or Cable Interface Selection
The printers are normally self configuring for IR or cable
data transmission. Plugging in the communications cable
will disable the IR interface; removing the cable will make
it active. This default method of interface selection can
be overridden by means of a BHT-PROTOCOL command
in an autoexec. bat file. (Refer to the examples at the end
of this section on setting the mode for IR or cable data
transmissions.) BHT-PROTOCOL CABLE enables BHT
or BHT-IR protocol via cable. If the BHT-PROTOCOL
CABLE command is
not
present, data is sent “raw” over
the serial cable; if it is detected BHT-PROTOCOL BHT
sends data in the BHT mode; BHT-PROTOCOL BHTIR
sends data in the BHT-IR mode. Performing a two-key
reset of the printer will return it to its normal, automatic
selection mode. (Refer to pg. P1-2 in this manual for the
reset procedure.)
BHT-BAUD Command
The printers support 9600 and 19200 BPS baud rates.
The default baud rate for communication with Zebra
mobile printers is 9600 BPS. Configuring a BHT baud
rate will set both the IR and the cable transmit speeds to
that rate. You must insure that both the printer and the
BHT are set to the same baud rate. This can also be
changed in an AUTOEXEC.BAT file with the BHT-BAUD
<baud-rate> command. (Refer to the BHT-BAUD com-
mand example at the end of this section. )
Setting the Mode for IR Data Transmission
Autoexec.bat files can configure the printer for IR data
transmission modes. The following notes apply:
Unless specified otherwise with a BHT-PROTOCOL
CABLE command, communication over a serial cable

Related product manuals