
Revision C 16/01/96
Chapter 2 "PCL" - 7
Escape sequences
Escape sequences, also known as PCL (Printer Control Language) commands, tell the printer which operations to
perform. An escape sequence consists of the Esc character followed by a string of characters which define the
operation to be performed. Some escape sequences require parameter values. These are included in the sequence as
numeric characters. The final letter of an escape sequence must be uppercase: all others must be lowercase.
You can send the printer instructions by embedding escape sequences in programs or in word processed
documents.
In this manual escape sequences are shown as they would be entered, except that the character # in a sequence
indicates that a number should be included at that point in the sequence. If no number is included the printer
interprets that parameter’s value as 0.
When downloading fonts or sending raster scan images to the printer the final uppercase character of the sequence
is followed by the relevant data.
Two escape sequences can be combined into one if the first three characters of each sequence (including the Esc
character itself) are the same. Hence, Esc*c45G and Esc*c2P may be combined to give Esc*c45g2P. The
uppercase ‘G’ which terminated the first sequence becomes a lowercase character in the combined sequence.
combined escape sequences are executed left to right, so be careful to place commands in the order in which you
want them to be executed.
Esc*c45G
Esc*c2P
Esc*c45g2P
Summary of Contents for HL- SERIES
Page 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Page 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Page 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Page 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Page 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Page 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Page 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Page 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Page 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Page 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Page 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Page 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Page 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...