Table A-1.

HP PCL 5 Commands (continued)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUNCTION

PARAMETER

COMMAND

 

DECIMAL VALUE

 

HEXADECIMAL VALUE

 

 

COLOR COMMANDS

 

 

 

 

 

 

 

 

Assign Color Index

Index Number

?*v#I

(i)

027 042 118 #...# 073

(105)

1B

2A

76

#...# 49

(69)

Color Component One

1st Component

?*v#A

(a)

027 042 118 #...# 065

(97)

1B

2A

76

#...# 41

(61)

Color Component Two

2nd Component

?*v#B

(b)

027 042 118 #...# 066

(98)

1B

2A

76

#...# 42

(62)

Color Component Three

3rd Component

?*v#C

(c)

027 042 118 #...# 067

(99)

1B

2A

76

#...# 43

(63)

Color Lookup Tables

# of Bytes

?*l#W[Data]

 

027 042 108 #...# 087

 

1B

2A

6C #...# 57

 

Configure Image Data

# of Bytes

?*v#W[Data]

 

027 042 118 #...# 087

 

1B

2A

76 #...# 57

 

Download Dither Matrix

# of Bytes

?*v#I

(i)

027 042 118 #...# 073

(105)

1B

2A

76

#...# 49

(69)

Foreground Color

Index Number

?*v#S

(s)

027 042 118 #...# 083

(115)

1B

2A

76

#...# 53

(73)

Gamma Correction

Gamma Number

?*t#I

(i)

027 042 116 #...# 073

(105)

1B

2A

74

#...# 49

(69)

Monochrome Print Mode

Mixed Rendering

?&b0M

(m)

027 038 062 048 077

(109)

1B

26 98 30 4D

(6D)

 

 

Gray Equivalent

?&b1M

(m)

027 038 062 049 077

(109)

1B

26 98 31 4D

(6D)

Palette Control ID

Palette ID #

?&p#I

(i)

027 038 112 #...# 073

(105)

1B

26 70 #...# 49

(69)

Palette Control

 

Delete All Palettes in store

?&p0C

(c)

027 038 112 048 067

(99)

1B

26 70 30 43

(63)

 

 

Delete All Palettes in stack

?&p1C

(c)

027 038 112 049 067

(99)

1B

26 70 31 43

(63)

 

 

Delete Palette (last ID)

?&p2C

(c)

027 038 112 050 067

(99)

1B

26 70 32 43

(63)

 

 

Copy Palette

?&p6C

(c)

027 038 112 054 067

(99)

1B

26 70 36 43

(63)

Push/Pop Palette

 

Push Palette

?*p0P

(p)

027 042 112 048 080

(112)

1B

2A 70 30

50

(70)

 

 

Pop Palette

?*p1P

(p)

027 042 112 049 080

(112)

1B

2A 70 31

50

(70)

Render Algorithm

Continuous tone detail

?*t0J

(j)

027 042 116 048 074

(106)

1B

2A

74 30

4A

(6A)

 

 

Snap to primaries

?*t1J

(j)

027 042 116 049 074

(106)

1B

2A

74 31

4A

(6A)

 

 

Snap black/white, colors to black

?*t2J

(j)

027 042 116 050 074

(106)

1B

2A

74 32

4A

(6A)

 

 

Device best dither

?*t3J

(j)

027 042 116 051 074

(106)

1B

2A

74 33

4A

(6A)

 

 

Error diffusion

?*t4J

(j)

027 042 116 052 074

(106)

1B

2A

74 34

4A

(6A)

 

 

Monochrome device best dither

?*t5J

(j)

027 042 116 053 074

(106)

1B

2A

74 35

4A

(6A)

 

 

Monochrome error diffusion

?*t6J

(j)

027 042 116 054 074

(106)

1B

2A

74 36

4A

(6A)

 

 

Cluster ordered dither

?*t7J

(j)

027 042 116 055 074

(106)

1B

2A

74 37

4A

(6A)

 

 

Monochrome cluster ordered

?*t8J

(j)

027 042 116 056 074

(106)

1B

2A

74 38

4A

(6A)

 

 

User-defined dither

?*t9J

(j)

027 042 116 057 074

(106)

1B

2A

74 30

4A

(6A)

 

 

Monochrome user-defined dither

?*t10J

(j)

027 042 116 049 048 074

(106)

1B

2A

74 31

30 4A

(6A)

 

 

Ordered dither

?*t11J

(j)

027 042 116 049 049 074

(106)

1B

2A

74 31

31 4A

(6A)

 

 

Monochrome ordered dither

?*t12J

(j)

027 042 116 049 050 074

(106)

1B

2A

74 31

32 4A

(6A)

 

 

Noise ordered dither

?*t13J

(j)

027 042 116 049 051 074

(106)

1B

2A

74 31

33 4A

(6A)

 

 

Monochrome noise ordered dither

?*t14J

(j)

027 042 116 049 052 074

(106)

1B

2A

74 31

34 4A

(6A)

 

 

Continuous tone smooth

?*t15J

(j)

027 042 116 049 053 074

(106)

1B

2A

74 31

35 4A

(6A)

 

 

Mono. continuous tone detail

?*t16J

(j)

027 042 116 049 054 074

(106)

1B

2A

74 31

36 4A

(6A)

 

 

Mono. continuous tone smooth

?*t17J

(j)

027 042 116 049 055 074

(106)

1B

2A

74 31

37 4A

(6A)

 

 

Continuous tone basic

?*t18J

(j)

027 042 116 049 056 074

(106)

1B

2A

74 31

38 4A

(6A)

 

 

Mono. continuous tone basic

?*t19J

(j)

027 042 116 049 057 074

(106)

1B

2A

74 31

39 4A

(6A)

Select Palette

 

Palette ID #

?&p#S

(s)

027 038 112 #...# 083

(115)

1B

26 70 #...# 53

(73)

Set Viewing Illumination

# of Bytes

?*i#W[Data]

 

027 042 105 #...# 087

 

1B

2A

69 #...# 57

 

Simple Color

 

3-Plane Device CMY Palette

?*r–3U

(u)

027 042 114 045 051 085

(117)

1B

2A

72 2D 33 55

(75)

 

 

1-Plane K Palette

?*r1U

(u)

027 042 114 049 085

(117)

1B

2A

72 31

55

(75)

 

 

3-Plane Device RGB Palette

?*r3U

(u)

027 042 114 051 085

(117)

1B

2A

72 33

55

(75)

A-18 Printer Commands