Parenthesis is not part of the command unless specified otherwise:

For example Esc K n CR

Escape Sequence:

ESC

K

1

CR

Hexadecimal:

1B

4B

31

0D

Decimal:

27

75

49

13

Note that CR means Carriage Return control character.

The following pages describe Datamax-O’Neil Command Language (ExPCL) components in more details. The commands have been grouped based on major functions.

Communications

This section describes various methods of controlling the flow of data to and from the printer. The set of control characters described below are used by the printer and the host while a communicating process is in place. Note that some handshaking methods are only supported by the RS-232C Serial interface and are not supported for the USB, IrDA, Bluetooth, or Wi-Fi interfaces.

End of Transmission

EOT

The printer sends an EOT character each time the printer’s input buffer becomes empty (indicating that the printer is idle).

Control Code:

EOT

Hexadecimal:

04

Decimal:

4

Note that this control character can be enabled and disabled using the command ESC P n. See detailed description of the command in Section: “Printer Control: Data Processing”.

Transmitter On

XON

When selected XON/XOFF as flow control method of serial communication, this character is transmitted by the printer to indicate that the printer is on line and ready to receive data. After receiving this character the host computer will start sending data to the printer.

Control Code:

XON

Hexadecimal:

11

Decimal:

17

Transmitter Off

XOFF

When selected XON/XOFF as flow control method of serial communication, this character is transmitted by the printer to indicate that the printer’s buffer is nearly full and that the host computer should stop sending data. The communication process is reestablished after the printer transmits XON character to the host.

Control Code:

XOFF

Hexadecimal:

13

Decimal:

19

2

Page 8
Image 8
Datamax 7A300007 Rev. 2 manual Communications, Eot, Xon, Xoff