32 Users / Programming Guide

Beeper Off CR-LF Ack

If the scanner receives an unknown or improperly formatted code, or
if the required parameters are missing or out-of-range, it sends a
NAK (15H) Code.
Serial Commands to Use with Caution
Some of the commands in this manual should not be used as serial
commands because of the consequences they produce. All PSC scan-
ners use the same hardware components to implement both serial
communication and wand emulation. This means that all serial com-
munication functions are disabled during wand emulation, and vice
versa. Because of this, issuing any of the commands in Table 5 causes
the scanner to enter its Wand Emulation mode, thereby disabling
serial communication.
Furthermore, because the scanner acts upon a command and then
sends ACK or NAK, neither or these codes will be transmitted in
response to any of the above commands. In Table 5 only the com-
mand letters are listed; the complete command is prefixed with STX
ESC, and suffixed with ETX. Because it is not possible to set (via serial
command) two Wand Emulation parameters (emulation speed and
polarity, for example), scanners to be used in Wand Emulation envi-
ronments must be programmed by scanning labels from this manual.

Command Function

STX ESC PC ETX Enable I 2 of 5 with check digit
STX ESC PD12 ETX Set I 2 of 5 minimum length to 12
STX ESC PE14 ETX Set I 2 of 5 maximum length to 12
STX ESC KB31323334 ETX Set Preamble to 1234
STX ESC LB61626364 Set Postamble to abcd
CB Wand Emulation, Code 39 Output
CC Wand Emulation, Same Code Output