169
EPL Commands
Y
12/16/13 EPL Programming Guide 14245L-003 Rev. A
Y

Serial Port Setup

Description Use this command to establish the serial port communication parameters. 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 settings with the
AutoSense/Dump Mode Printout, see the printer’s user 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
established with the host. The host parameters must then be changed to resume
communication.
Syntax Yp1,p2,p3,p4
Parameters This table identifies the parameters for this format:
Parameters Details
p1 = Baud rate
p2 = Parity Accepted Values:
O = Odd parity
E = Even parity
N = No parity
p3 = # Data bits Accepted Values:
7 = Seven data bits
8 = Eight data bits
p4 = # Stop bits Accepted Values:
1 = One stop bit
2 = Two stop bits
Example • This example sets 19,200 baud, odd parity, 7 data bits and 1 stop bit.

Y19,O,7,1

p1Description
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