PS String Value
PCL5 Cmd
PCL6 Hexadecimal and String
custom1 <Esc>&n8Wdcustom1 0x07 0x00 custom1
custom2 <Esc>&n8Wdcustom2 0x07 0x00 custom2
custom3 <Esc>&n8Wdcustom3 0x07 0x00 custom3
custom4 <Esc>&n8Wdcustom4 0x07 0x00 custom4
custom5 <Esc>&n8Wdcustom5 0x07 0x00 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 Cmd
<</MediaColor (
string
) >> setpagedevice
PCL5 Cmd
<Esc>&n
#
We
string
where # is the length of 1; and
string
from the table below
PCL XL/6
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 the
string
from the table
below.
PS String Value
PCL5 Cmd
PCL XL/6 Hexadecimal and String
use-any <Esc>&n8Wxuse-any
0x22
0x00
<media-color>use-any</media-color>
white
<Esc>&n6Wxwhite
0x20 0x00 <media-color>white</media-color>
blue
<Esc>&n6Wxblue
0x20 0x00 <media-color>blue</media-color>
yellow
<Esc>&n7Wxyellow
0x21 0x00 <media-color>yellow</media-color>
green
<Esc>&n6Wxgreen
0x20 0x00 <media-color>green</media-color>
pink
<Esc>&n5Wxpink
0x1F 0x00 <media-color>pink</media-color>
no-color <Esc>&n9Wxno-color
0x23
0x00
<media-color>no-color</media-color>
ivory
<Esc>&n6Wxivory
0x20 0x00 <media-color>ivory</media-color>
gray
<Esc>&n5Wxgray
0x1F 0x00 <media-color>gray</media-color>
buff
<Esc>&n5Wxbuff
0x1F 0x00 <media-color>buff</media-color>
goldenrod <Esc>&n10Wxgoldenrod
0x24
0x00
<media-color>goldenrod</media-color>
red
<Esc>&n4Wxred
0x1E 0x00 <media-color>red</media-color>
orange
<Esc>&n7Wxorange
0x21 0x00 <media-color>orange</media-color>
other
<Esc>&n6Wxother
0x20 0x00 <media-color>other</media-color>
custom1 <Esc>&n8Wxcustom1
0x22
0x00
<media-color>custom1</media-color>
custom2 <Esc>&n8Wxcustom2
0x22
0x00
<media-color>custom2</media-color>
custom3 <Esc>&n8Wxcustom3
0x22
0x00
<media-color>custom3</media-color>
custom4 <Esc>&n8Wxcustom4
0x22
0x00
<media-color>custom4</media-color>
custom5 <Esc>&n8Wxcustom5
0x22
0x00
<media-color>custom5</media-color>
dc10cc0470
Customer Support
Page 13