Combining escape sequences in pcl printer command, Combining escape sequences in pcl printer, Command syntax – HP Color LaserJet 4500 Printer series User Manual
Page 178
Advertising
178
PCL Commands
EN
Combining Escape Sequences in PCL Printer
Command Syntax
Escape sequences can be combined into one escape-sequence
string. There are three important rules to follow when combining
code:
●
The first two characters after the <esc> character must be the
same.
●
When combining sequences, change the uppercase (termination)
character in each individual escape sequence to lowercase.
●
The final character of the escape sequence must be in
uppercase.
The following escape sequence would be sent to the printer to select
legal paper, landscape orientation, and eight lines per inch:
<esc>&
l
3A<esc>&
l
1O<esc>&
l
8D
The following escape sequence sends the same printer commands
by combining them into a shorter sequence:
<esc>&
l
3a1o8D
Advertising