HP LaserJet 5si HP LaserJet 5Si user guide - Page 175

PCL Printer Commands Escape Sequences

Page 175 highlights

Table B-3 Frequently Used PCL Printer Commands Printer Command ? L F F F C R ?E ?&l0H ?&l#X ?&l#G ?&l#H ?&l#A ?&l#O ?&a#L ?&a#M ?&l#E ?&l#F ?&l#D ?&d#D ?&d@ ?&k#H Function Escape character Line feed Formfeed Carriage return Resets the Printer Ejects page Indicates number of copies Selects paper destination Selects paper source Sets paper size or envelope size Selects orientation Sets left margin Sets right margin Sets top margin Sets text length (bottom margin) Sets line spacing Begins underline Ends underline Sets horizontal motion index # Refers To (See Table B-1 or your software manual.) n/a n/a n/a n/a n/a 1 to 32,767 0 = Automatic selection 1 = Top Output Bin (face-down) 2 = Left Output Bin (face-up) 3 = Multi-Bin Mailbox #1 4 = Multi-Bin Mailbox #2 5 = Multi-Bin Mailbox #3 6 = Multi-Bin Mailbox #4 7 = Multi-Bin Mailbox #5 8 = Stapler Bin 0 = prints/ejects current page 1 = Tray 2 2 = Manual Feed - paper 3 = Manual Feed - envelope 4 = Tray 3 5 = 2000-Sheet Input Tray (Tray 4) 6 = Envelope Feeder 7 = Auto Select 8 = Tray 1 1= Executive 2 = Letter 3 = Legal 6 = 11 in x17 in 26 = A4 27 = A3 45 = JIS B5 46 = JIS B4 72 = JPOSTD 80 = Monarch 81 = Commercial 10 90 = DL 91 = International C5 100 = Commercial B5 101 = Maximum 0 = portrait 1 = landscape 2 = reverse portrait 3 = reverse landscape Column number Column number Number of lines Number of lines from top margin Lines per inch (1, 2 , 3, 4, 6, 8, 12, 16, 24, or 48) 0 = fixed n/a 3 = floating 1/120 in (.21 mm) increments (compresses print horizontally) B-4 PCL Printer Commands (Escape Sequences) Continued on the next page. EN

  • 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

Table B-3
Frequently Used PCL Printer Commands
Printer
Command
Function
# Refers To
?
Escape character
(See Table B-1 or your software manual.)
L
F
Line feed
n/a
F
F
Formfeed
n/a
C
R
Carriage return
n/a
?E
Resets the Printer
n/a
?&l0H
Ejects page
n/a
?&l#X
Indicates number of copies
1 to 32,767
?&l#G
Selects paper destination
0 = Automatic selection
1 = Top Output Bin (face-down)
2 = Left Output Bin (face-up)
3 = Multi-Bin Mailbox #1
4 = Multi-Bin Mailbox #2
5 = Multi-Bin Mailbox #3
6 = Multi-Bin Mailbox #4
7 = Multi-Bin Mailbox #5
8 = Stapler Bin
?&l#H
Selects paper source
0 = prints/ejects current page
1= Tray 2
2 = Manual Feed - paper
3 = Manual Feed - envelope
4= Tray 3
5 = 2000-Sheet
Input Tray (Tray 4)
6 = Envelope Feeder
7 = Auto Select
8= Tray 1
?&l
#A
Sets paper size or envelope size
1= Executive
2 = Letter
3 = Legal
6 = 11 in x17 in
26 = A4
27 = A3
45 = JIS B5
46 = JIS B4
72 = JPOSTD
80 = Monarch
81 = Commercial 10
90 = DL
91 = International C5
100 = Commercial B5
101 = Maximum
?&l
#O
Selects orientation
0 = portrait
1 = landscape
2 = reverse portrait
3 = reverse landscape
?&a#L
Sets left margin
Column number
?&a#M
Sets right margin
Column number
?&l
#E
Sets top margin
Number of lines
?&l#F
Sets text length (bottom margin)
Number of lines from top margin
?&l
#D
Sets line spacing
Lines per inch (1, 2 , 3, 4, 6, 8, 12, 16,
24, or 48)
?&d#D
Begins underline
0 = fixed
3 = floating
?&d@
Ends underline
n/a
?&k#H
Sets horizontal motion index
1/120 in (.21 mm) increments (compresses print horizontally)
Continued on the next page.
B-4
PCL Printer Commands (Escape Sequences)
EN