Device control 4 (dc4) / select, Cancel (can), Escape (esc) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 27: Space, Escape sequence controls, Cancel (can) escape (esc) space
This control is treated as a NUL.
Device Control 4 (DC4) / Select
14
This control cancels double-wide printing if double wide was selected with the Shift Out control. The
characters-per-inch setting returns to the previous value.
Cancel (CAN)
18
This control purges all buffered data. All data received after the most recent buffer terminating control is
discarded. For a list of buffer terminating controls, see “Buffer Terminating Conditions” on page 38. Any
data received after Cancel is processed normally. Cancel does not change the current print position.
Escape (ESC)
1B
This control is a prefix used in combination with supplementary control bytes to provide an extended set of
control functions.
Space
20
This control moves the print position one character space to the right.
Escape Sequence Controls
Escape sequence controls have an ESC followed by one or more control parameters. Supported escape
sequence controls are:
Control
Hex
Name
ESC NUL
1B 00
Null (no operation)
ESC BEL
1B 07
Bell
ESC BS
1B 08
Backspace
ESC HT
1B 09
Horizontal Tab
ESC LF
1B 0A
Line Feed
ESC VT
1B 0B
Vertical Tab
ESC FF
1B 0C
Form Feed
ESC CR
1B 0D
Carriage Return
ESC SO
1B 0E
Shift Out (Double-Wide Print)
ESC SI
1B 0F
Shift In (Condensed Printer)
ESC DC1
1B 11
Device Control 1 (Select)
ESC DC2
1B 12
Device Control 2 (Select 10 CPI)
Chapter 1. Personal Printer Data Stream (PPDS)
7