HP Color LaserJet Enterprise CM4540 HP Color LaserJet Enterprise CM4540 MFP - - Page 205

Media attributes and commands, Paper-source commands, Tray 3, and Tray 5.

Page 205 highlights

Media attributes and commands This section includes the following information about paper attributes: ● Paper-source commands ● Paper-type commands examples Paper-source commands The PCL 6 Print driver attribute for paper source is ubyte # MediaSource or ubyte_array "string" MediaSource. See the following table for values of #. For example, "ubyte 4 MediaSource" is the command for Tray 2. The PCL 5 print driver escape sequence for paper source is Esc&l#H (the "l" is a lowercase "L" rather than the numeral "1"). See the following table for values of #. For example, Esc&l1H is the command for Tray 2. NOTE: The HP Color LaserJet Enterprise CM4540 MFP Series products support Tray 1, Tray 2, and Tray 3, Tray 4, and Tray 5. Table 6-4 Paper-source commands Input source PCL 5 PCL 6 Esc&l#H ubyte # MediaSource Automatically select NA Printer auto select 7 Manual feed in tray 1 2 Tray 1 (100-sheet) 4 Tray 2 (250-sheet) 1 Tray 3 (500-sheet) 5 Tray 4 8 Tray 5 9 Tray 6 NA Tray 7 NA Tray 8 NA Tray 9 NA NA 1 2 3 4 5 7 None None None None None PCL 6 ubyte_array "string" MediaSource NA AUTOSELECT MANUALFEED TRAY1 TRAY2 TRAY3 TRAY4 TRAY5 TRAY6 TRAY7 TRAY8 TRAY9 PostScript /MediaPosition # or null/ManualFeed true or false NA null false 3 true 3 false 0 false 1 false 4 false 38 false 39 false 40 false 41 false 42 false ENWW Media attributes and commands 187

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216

Media attributes and commands
This section includes the following information about paper attributes:
Paper-source commands
Paper-type commands examples
Paper-source commands
The PCL 6 Print driver attribute for paper source is
ubyte # MediaSource
or
ubyte_array "string"
MediaSource
. See the following table for values of #. For example, "
ubyte 4 MediaSource
" is the
command for Tray 2.
The PCL 5 print driver escape sequence for paper source is
Esc&l#H
(the "l" is a lowercase "L" rather
than the numeral "1"). See the following table for values of #. For example,
Esc&l1H
is the command
for Tray 2.
NOTE:
The HP Color LaserJet Enterprise CM4540 MFP Series products support Tray 1, Tray 2, and
Tray 3, Tray 4, and Tray 5.
Table 6-4
Paper-source commands
Input source
PCL 5
Esc&l#H
PCL 6
ubyte # MediaSource
PCL 6
ubyte_array "string"
MediaSource
PostScript
/MediaPosition # or
null/ManualFeed
true or false
Automatically select
NA
NA
NA
NA
Printer auto select
7
1
AUTOSELECT
null false
Manual feed in tray 1
2
2
MANUALFEED
3 true
Tray 1 (100-sheet)
4
3
TRAY1
3 false
Tray 2 (250-sheet)
1
4
TRAY2
0 false
Tray 3 (500-sheet)
5
5
TRAY3
1 false
Tray 4
8
7
TRAY4
4 false
Tray 5
9
None
TRAY5
38 false
Tray 6
NA
None
TRAY6
39 false
Tray 7
NA
None
TRAY7
40 false
Tray 8
NA
None
TRAY8
41 false
Tray 9
NA
None
TRAY9
42 false
ENWW
Media attributes and commands
187