EasyCoder PL-Series Printer Programmer's Reference Manual
getvar result
Returns the printer's parity. See setvar choices for possible values.
Example
Description
Syntax
Result
setvar choices
n (none), e (even), or o (odd). Default = n
Example
Description
Syntax
Result
comm.baud
Type: getvar; setvar
This parameter refers to the printer's baud rate.
Note: Once you change the printer's port parameters, you must configure
the host terminal to match the new printer settings before the host can
communicate with the printer again.
getvar result
Returns the printer's baud rate setting.
Example
Description
Syntax
Result
setvar choices
9600, 19200, 38400, 57600, 115200. Default = 19200
Example
Description
Syntax
Result
comm.stop_bits
Type: getvar; setvar
This parameter refers to the printer's stop bits setting.
Note: Once you change the printer's port parameters, you must configure
the host terminal to match the new printer settings before the host can
communicate with the printer again.
getvar result
Returns the printer's stop bits setting.
Example
Description
Syntax
Result
setvar choices
1, 2. Default = 1
Description
Example
Syntax
Result
Chapter 13— Configuration/Control Commands
Get printer's parity setting.
! U1 getvar "comm.parity"
"n"
Set printer's parity to none (no parity).
! U1 setvar "comm.parity" "n"
Printer changes its parity to none.
Get printer's baud rate.
! U1 getvar "comm.baud"
"19200"
Set printer's baud rate to 19200 BPS.
! U1 setvar "comm.baud" "19200"
Printer changes its baud rate to 19200 BPS.
Get printer's stop bits.
! U1 getvar "comm.stop_bits"
"1"
Set printer's stop bits to 1.
! U1 setvar "comm.stop_bits" "1"
Printer configures the port for 1 stop bit.
125
Need help?
Do you have a question about the EasyCoder PL3 and is the answer not in the manual?