PCL
2-62
Example:
ESC
(s16.66H
•
Decimal:
27 40 115 49 54 46 54 54 72
•
Hex:
1B 28 73 31 36 2E 36 36 48
Use the plus symbol (+) or the minus symbol (–) to select a position relative to the
current cursor position. For example:
ESC
&a6C
Move to horizontal cursor position, column six
ESC
&a+6C
Move six columns to the right of the current position
ESC
&a-6C
Move six columns to the left of the current position
Linking Commands
You can combine PCL emulation commands by linking them if the first 3 bytes of the
commands are identical. The combined, short form sends the first 3 bytes only once
in the string. To combine commands:
•
Use the first 3 bytes (characters) of the command only once at the start of the
command string.
•
Make the last letter of each command in the string lowercase.
•
Capitalize the last letter of the string.
For example, notice that the first 3 bytes of these two commands are the same:
ESC
(s10H
Select 10 characters per inch
ESC
(s4099T
Select Courier typeface
To combine these two commands, use this form:
ESC
(s10h4099T
which is 3 bytes shorter than the long form:
ESC
(s10H
ESC
(s4099T
You can combine more than two commands; for example, you can add Select Stroke
Weight Bold (
ESC
(s3B
) to the previous two commands:
ESC
(s10h3b4099T
or in the long form:
ESC
(s10H
ESC
(s3B
ESC
(s4099T