55
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 6 Setting Up the Printer
When printing large batches of labels, it is useful to be able to stop
printing, for example, if an error is detected. You can stop printing
via any serial communication channel.
Two commands allow you to issue a
BREAK
command:
•
BREAK
specifies an individual break interrupt character for each
serial communication channel
•
BREAK ON/OFF
enables/disables break interrupt and deletes the
break character for the corresponding devices.
BREAK <device>,<break char.>
<device> = 1
"uart1:" serial communication channel
(default)
<device> = 4
"centronics:" parallel communication chan-
nel (IN channel only)
<break char.>
is the ASCII decimal value of the desired
break character.
(default on both channels: ASCII 03 dec.)
BREAK <device> ON | OFF
<device>
the same parameter as in the BREAK com-
mand.
Default:
Communication channels disabled
The parameters in
SETUP
mode determine how the printer works.
There are three ways to change the printer's setup:
• Setup strings
• Setup files
• Bar Code Wand
The various setup parameters are described in the EasyCoder 301
Installation and Operation manual.
Setup Strings
Setup strings allow you to change individual setup parameters di-
rectly from the host:
SETUP "<setup string>"
<setup string>
a string of data according to the special syn-
tax listed below and enclosed by double quo-
tation marks.
16. Break in Batch
Printing
17. Printer Setup