Paper-type commands examples

The PCL 5 print driver escape sequence for paper type is "Esc&n#Wdpapertype", where "n#" is the number of characters in the paper type plus 1. For example, in the sequence "Esc&n6WdPlain", "Plain" has 5 letters plus 1, for a total of 6.

Table 6-2

Paper-type commands

 

 

 

 

 

 

Esc&

n#

Wd

Paper type

 

 

 

 

Esc&

6

Wd

Plain

 

 

 

 

Esc&

11

Wd

Preprinted

 

 

 

 

Esc&

11

Wd

Letterhead

 

 

 

 

Esc&

13

Wd

Transparency1

 

 

 

 

Esc&

11

Wd

Prepunched

 

 

 

 

Esc&

7

Wd

Labels

 

 

 

 

Esc&

5

Wd

Bond

 

 

 

 

Esc&

9

Wd

Recycled

 

 

 

 

Esc&

6

Wd

Color

 

 

 

 

Esc&

6

Wd

Light

 

 

 

 

Esc&

13

Wd

Interpaperte

 

 

 

 

Esc&

6

Wd

Heavy

 

 

 

 

Esc&

12

Wd

Extra Heavy

 

 

 

 

Esc&

11

Wd

Cardstock2

 

 

 

 

Esc&

6

Wd

Rough

 

 

 

 

Esc&

7

Wd

Glossy

 

 

 

 

Esc&

12

Wd

Tough Paper

 

 

 

 

Esc&

9

Wd

Envelope

1You must spell out the word "Transparency" in the string, although it is abbreviated as TRNSPRNCY on the control panel.

2The correct command for cardstock is "Esc&n11WdCard Stock", with a space between the "d" and the "S", and with an uppercase "S".

152 Chapter 6 Engineering details

ENWW

Page 168
Image 168
HP CP5520 Laser CP5520, CP5520 CP5525DN Laser CE708A#BGJ manual Paper-type commands examples