2-68

PCL

 

 

 

 

 

 

Table 2-31: Alphanumeric ID

Command / Parameters

Function / Result

 

ESC&n#W [operation] [string]

Alphanumeric ID

 

# = number of data bytes that make up the

Selects the media type using a character string. The string ID is case

operation and string

sensitive and may be up to 511 bytes long.

Operation

 

The string ID specifies the media type requested.

operation = 100 or 1 byte = 0x64 or 'd'ascii

Media Type

Alphanumeric String

For example:

Plain Paper

Plain

100

Media Select

Bond

Bond

String

 

Transparency

Transparency

 

Card Stock

Card Stock

string = See Alphanumeric String list at

Labels

Labels

right

 

Letterhead

Letterhead

 

 

Pre-printed

Preprinted

 

 

Colored Paper

Color

 

 

Envelope

Envelope

 

 

Custom Type 1

Custom Type 1 or User Type 1

 

 

Custom Type 2

Custom Type 2 or User Type 2

 

 

Custom Type 3

Custom Type 3 or User Type 3

 

 

Custom Type 4

Custom Type 4 or User Type 4

 

 

Custom Type 5

Custom Type 5 or User Type 5

 

 

Custom Type 6

Custom Type 6 or User Type 6

 

 

For example, the following shows the command and parameters used

 

 

to select bond paper: ESC&n5WdBond

 

 

To select letterhead paper: ESC&n11WdLetterhead

Table 2-32: Cursor Positioning

 

 

 

 

 

Command / Parameters

Function / Result

 

ESC&a#C

 

Horizontal Cursor Position (in Columns)

# = number of Columns1

Moves the cursor to a new position along the horizontal axis.

 

 

Note: The column width is determined by the space character width of

 

 

the active font or the Horizontal Motion Index (HMI), if set.

 

 

 

ESC&a#H

 

Horizontal Cursor Position (in Decipoints)

# = number of Decipoints1

Moves the cursor to a new position along the horizontal axis.

(1 Decipoint = 1/720 inch)

 

 

 

 

 

ESC*p#X

 

Horizontal Cursor Position (in PCL Units)

# = number of PCL Units1

Moves the cursor to a new position along the horizontal axis.

 

 

Note: PCL units are set by the Unit-of-Measure Command.

 

 

1 Parameter preceded by + or – sign denotes a relative cursor move from the current cursor position. Parameter without a

sign denotes an absolute cursor move from the top left margin.

 

 

 

 

 

Page 80
Image 80
Lexmark Printer manual Alphanumeric ID, Cursor Positioning