Zebra Technologies EPL2 Printer User Manual


 
Y Command - Serial Port Setup
Description Use this command to establish the serial port
communication parameters.
Syntax
Yp
1
,p
2
,p
3
,p
4
Parameters p
1
= Baud rate
p
1
Description
38 38,400 baud (38K)
19 19,200 baud
96 9,600 baud
48 4,800 baud
24 2,400 baud
12 1,200 baud
p
2
= Parity.
Values: O = Odd parity
E = Even parity
N = No parity
p
3
= # Data bits.
Values: 7 = Seven data bits
8 = Eight data bits
p
4
= # Stop bits.
Values: 1 = One stop bit
2 = Two stop bits.
After receiving this command, the printer will
automatically reset enabling the new rate.
To send commands and data to the printer, the host’s
serial port parameters must match the printer’s serial
port parameters. Verify the printer’s configuration set
-
tings with the AutoSense/Dump Mode Printout, see
the printer’s user’s manual for details.
The printer’s default serial port parameters are:
9600 baud, No Parity, 8 Data Bits, 1 Stop Bit
Change the printer’s serial port parameters with the
Y command after
communication has been estab
-
lished with the host. The host parameters must then
be changed to resume communication.
Example:
Y19,O,7,1¿ :sets 19,200 baud, odd parity,
:7 data bits and 1 stop bit.
3-108
980352-001 Rev.A