beautypg.com

Printek PrintMaster 850 Series User Manual

Page 52

background image

IBM Proprinter Emulation

46

Control Codes and Escape Sequences
Grouped by Function

Communications

Cancel Line

CAN

Cancels all printable text in the current print line. Does not affect any control codes or escape sequences.

Control code:

CAN

Hexadecimal:

18

End of Text

ETX

If “ETX/ACK” is set to “On” in the interface setup menu, then receipt of an ETX causes the printer to
transmit an ACK to the host computer.

Since the ETX may be a legal value within an escape sequence, it is the user's responsibility to ensure that an
ETX used for data handshake is not sent within an escape sequence. The user must also ensure that the
maximum block size or the number of blocks sent at one time does not exceed the input buffer size of the
printer.

ETX/ACK handshake is available only with serial I/O.

If character set 2 is selected, ETX will be treated as a printable character instead of an I/O handshake
control code.

Control code:

ETX

Hexadecimal:

03

Deselect Printer

ESC Q n

Deselects the printer. Use of this command is discouraged, because the printer will remain offline until an
operator presses the ONLINE button on the control panel.

For a Proprinter II or Proprinter III, n should be 3. For a Proprinter XL or Proprinter III XL, n should be
22. It does not really matter, because n will be ignored.

Example: The following escape sequence will force the printer offline.

Escape Sequence:

ESC

Q

22

Hexadecimal:

1B

51

16

This manual is related to the following products: