PS (string) value
custom1
custom2
custom3
custom4
custom5
Media Color
Use this command to indicate the color of the media used to print a job. The strings are case sensitive with the first letter
capitalized and the rest lower-case. When using a Media Source command, issue a Media Type command set to
Unspecified.
PS
<</MediaColor (string) >> setpagedevice
where string is from the table below.
PCL5
<Esc>&n#Westring
where # is the length of string+1, and string from the table below
PCL6
ubyte_array uint16 ## ## string attr_ubyte MediaColor
Example: 0xc8 0xc1 0x20 0x00 <media-color>white</media-color> 0xf8 0x81 0x47
where ## ## is the length of the string in hex (lsb, msb), and string from the table below.
PS String Value
use-any
white
blue
yellow
green
pink
no-color
ivory
gray
buff
goldenrod
red
orange
other
custom1
custom2
custom3
custom4
custom5
CQ8700-8900
Customer Support
PCL5 examples
<Esc>&n8Wdcustom1
<Esc>&n8Wdcustom2
<Esc>&n8Wdcustom3
<Esc>&n8Wdcustom4
<Esc>&n8Wdcustom5
PCL5 examples
<Esc>&n8Wxuse-any
<Esc>&n6Wxwhite
<Esc>&n6Wxblue
<Esc>&n7Wxyellow
<Esc>&n6Wxgreen
<Esc>&n5Wxpink
<Esc>&n9Wxno-color
<Esc>&n6Wxivory
<Esc>&n5Wxgray
<Esc>&n5Wxbuff
<Esc>&n10Wxgoldenrod
<Esc>&n4Wxred
<Esc>&n7Wxorange
<Esc>&n6Wxother
<Esc>&n8Wxcustom1
<Esc>&n8Wxcustom2
<Esc>&n8Wxcustom3
<Esc>&n8Wxcustom4
<Esc>&n8Wxcustom5
PCL6 Hexadecimal and String
0x07 0x00 custom1
0x07 0x00 custom2
0x07 0x00 custom3
0x07 0x00 custom4
0x07 0x00 custom5
PCL6 Hexadecimal and String
0x22 0x00 <media-color>use-any</media-color>
0x20 0x00 <media-color>white</media-color>
0x20 0x00 <media-color>blue</media-color>
0x21 0x00 <media-color>yellow</media-color>
0x20 0x00 <media-color>green</media-color>
0x1F 0x00 <media-color>pink</media-color>
0x23 0x00 <media-color>no-color</media-color>
0x20 0x00 <media-color>ivory</media-color>
0x1F 0x00 <media-color>gray</media-color>
0x1F 0x00 <media-color>buff</media-color>
0x24 0x00 <media-color>goldenrod</media-color>
0x1E 0x00 <media-color>red</media-color>
0x21 0x00 <media-color>orange</media-color>
0x20 0x00 <media-color>other</media-color>
0x22 0x00 <media-color>custom1</media-color>
0x22 0x00 <media-color>custom2</media-color>
0x22 0x00 <media-color>custom3</media-color>
0x22 0x00 <media-color>custom4</media-color>
0x22 0x00 <media-color>custom5</media-color>
Page 13