beautypg.com

Device control 4 (dc4) / cancel double-wide print, Cancel (can), Space (sp) – Compuprint 4247-Z03 Programmer Manual User Manual

Page 64: Delete character (del), Escape sequence controls

background image

Device Control 4 (DC4) / Cancel Double-Wide Print

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 72. Any
data received after Cancel is processed normally. Cancel does not change the current presentation
position.

Space (SP)

20

This control moves the print position one character space to the right.

Delete Character (DEL)

7F

This control removes the last text character on the print line and does not affect control codes.

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

1B

Escape

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 Print)

ESC DC1

1B 11

Device Control 1 (Select)

ESC DC2

1B 12

Device Control 2 (Cancel Condensed Print)

44

Programmer Manual

This manual is related to the following products: