User`s guide
About PCL Commands
Escape sequences are commands sent to the printer to tell the printer
what actions to perform. These commands are based on the Printer
Control Language (PCL) used by the HP LaserJet and LaserJet
series II. There are two kinds of commands in PCL:
Control
Characters
These are commands composed of single characters
with ASCII values of 32 or less.
Escape
Sequences
These are commands with multiple characters that
begin with an <esc> character (ASCII 27).
Both types of commands are included in this summary.
NOTE:
Be careful not to confuse the letter l and the numeral 1 in
the commands below.
Escape Sequence Syntax The generic version, or syntax, of an
escape sequence is
Syntax:
<esc><cc>[<gc>][<p1><c1>][...<pn><cn>][data]
<esc>
The <ESC> Character must have a decimal value of 27.
You need to find a way to enter the hexadecimal,
decimal, or octal value, depending on your system. (To
enter the escape code most require you to press the ALT
key while typing Ø27 on the numeric keypad.)
<cc>
The command code can fall between Ø and ~, in the
ASCII table. In this case, the command is a
two-character command only.
If the command code falls between ! and / in the ASCII
table, the command has parameters. These parameters
Chapter 11
11-4 HP LaserJet series II Emulation