Command Parameters - Lexmark C520 Technical Reference

Lexmark c520: user guide
Hide thumbs Also See for C520:
Table of Contents

Advertisement

Table 2-14: Description of Command Structure (Continued)
Element
a
#
C

Command Parameters

A command parameter sets the value for a command. This value stays constant until
either a different value resets the command or a command resets the printer to the
default values. For example, after the printer receives a command that selects a right
margin beginning at column 63, the right margin of each printed page begins at
column 63. That margin stays constant until a right margin command with a different
value resets it or until the printer is reset.
Parameters for each command are listed in the command tables beginning on
page 2-52. Use the Symbol Set Tables to determine the decimal or hexadecimal value
for each parameter. To determine a decimal or hex value, first locate the value of the
parameter you require in the Symbol Set Table. The decimal value is the value shown
in the bottom of the cell or box with that parameter. To find a hex value, go straight up
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,
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
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
Description
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
Termination character from ASCII table (ranging from 64 to 94 decimal)
ESC
Decimal:
27 40 115 49 54 46 54 54 72
Hex:
1B 28 73 31 36 2E 36 36 48
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
2-50
(← ) is coded 1B in Hex and 27 in decimal. (Any one
PCL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents