Lexmark XC9465 Printer Languages and Interfaces Technical Reference - Page 8
Command structure, Control codes, Commands
View all Lexmark XC9465 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 8 highlights
Printer Control Language (PCL) emulation 8 Command structure Control codes Code Dec Hex BS 8 08 HT 9 09 LF 10 0A FF 12 0C CR 13 0D SP 32 20 SI 15 0F SO 14 0E Function Backspace Horizontal Tab Line Feed Form Feed Carriage Return Space Primary Font Secondary Font Result Moves the cursor toward the left margin one horizontal space equal to the last printed character Moves the cursor to the next defined tab stop Advances the cursor to the same horizontal position on the following line as determined by either the Vertical Motion Index (VMI) or Set Line Spacing command Advances the cursor to the same horizontal position at the top margin of the next page Moves the cursor to the left margin Moves the cursor to the right one column Selects the primary font Selects the secondary font Commands PCL emulation commands are multibyte strings (also known as escape sequences) that begin with the Escape control code (ESC, ←, decimal 27, or hexadecimal 1B). The ESC control code notifies the printer to interpret the characters that follow as part of a command and are not control codes or data to be printed. Command structure Most PCL emulation commands have the following structure: ESC & a # C Spaces have been added to this example for readability. The command parameter variables are indicated by a number sign (#). Element ESC Description Decimal 27 or hex 1B. & Parameterized character from American National Standard Code for Information Interchange (ASCII) table (ranging from 33 to 47 decimal). a Group character from ASCII table (ranging from 96 to 126 decimal) that specifies a group type of control. # Decimal character string value within specified numeric ranges. May be preceded by a + or - sign and contain a decimal point.