Lexmark T430 Technical Reference - Page 82
Linking Commands
View all Lexmark T430 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 82 highlights
2-70 PCL the grid from the desired parameter and read the value in the top heading. This is the first character of the hex value. Next, go straight across the grid to the left of the parameter and read the value in the left column heading. This is the second character of the hex value. For example, ESC (←) is coded 1B in Hex and 27 in decimal. (Any one of the three values ←, 1B, or 27 might be used in your application. Read your documentation to determine which to use.) The example on the following page sets the pitch of the primary font to 16.66 characters per inch. 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 ESC&a+6C ESC&a-6C Move to horizontal cursor position, column six Move six columns to the right of the current position 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(s10HESC(s4099T