C o m m – Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual
Page 130

5-10 Utility Descriptions
C O M M
The COMM communications program provides the ability to communicate
with a remote ROM-DOS system. COMM supports Xmodem file transfer,
autodialing, Zmodem, and terminal emulation and time zones.
Options
All command line options must be separated by a space.
Option Description
/B#
Sets the baud rate to # on startup. The available baud rates are
300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200.
/COM#
Sets the communications port to COM1 or COM2; both are
supported.
/8N1
Sets the serial port to 8 data bits, no parity, one stop bit.
/7E1
Sets the serial port to 7 data bits, even parity, one stop bit.
/8N2
Sets the serial port to 8 data bits, no parity, two stop bits.
/8O1
Sets the serial port to 8 data bits, odd parity, one stop bit.
/8E1
Sets the serial port to 8 data bits, even parity, one stop bit.
You can reverse the placement of the parity and data bits on the
command line. For example, /8N1 is equivalent to /N81.
Environment Variables
The environment variable COMM is supported, which may set certain
communications parameters. The switches are identical to the command
line options, for example:
SET COMM= /COM2 /B2400 /7E1
Causes COMM to start using COM2, at 2400 baud, with 7 data bits, even
parity, and 1 stop bit. If new options are specified on the command line,
they override the environment variable settings. Invalid options are
ignored.