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>&l3A<esc>&l1O<esc>&l8D

The following escape sequence sends the same printer commands by combining them into a shorter sequence:

<esc>&l3a1o8D

226 PCL commands

EN