HP Deskjet 320 Solutions Guide - Page 183

Control Codes

Page 183 highlights

Control Codes Code Name Backspace Horizontal Tab Line Feed Form Feed Carriage Return Shift Out Shift In Escape Space Table A-2. HP PCL Printer Control Codes Symbol Description Value (Dec) Causes the printer to move the current print position one character position to the left. 08 Causes the printer to move to the next predefined tab position. (Tabs are located every 09 eighth character position, beginning at the left margin.) Causes the printer to advance the paper one line at the current line spacing. 10 Causes the printer to advance the paper to the next top-of-form. Top-of-form is the 12 first line of printing on the next page. Causes the printer to move the current print position to the left margin. Does not cause 13 a paper advance. Causes the printer to select the currently designated secondary font for use. 14 Causes the printer to select the currently designated primary font for use. 15 Indicates to the printer that the characters immediately following are part of a printer 27 command. Causes the printer to move the current print position one character to the right. 32 Value (Hex) 08 09 Keystroke CTRL H CTRL I 0A CTRL J 0C CTRL L 0D CTRL M 0E CTRL N 0F CTRL O 1B CTRL [ 20 HP PCL Printer Commands and Control Codes A-5

  • 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

HP PCL Printer Commands and Control Codes
A-5
Control Codes
Table A-2.
HP PCL Printer Control Codes
Code Name
Symbol
Description
Value
(Dec)
Value
(Hex)
Keystroke
Backspace
<B
S
>
Causes the printer to move the current print position one character position to the left.
08
08
CTRL H
Horizontal Tab
<H
T
>
Causes the printer to move to the next predefined tab position. (Tabs are located every
eighth character position, beginning at the left margin.)
09
09
CTRL I
Line Feed
<L
F
>
Causes the printer to advance the paper one line at the current line spacing.
10
0A
CTRL J
Form Feed
<F
F
>
Causes the printer to advance the paper to the next top-of-form. Top-of-form is the
first line of printing on the next page.
12
0C
CTRL L
Carriage Return
<C
R
>
Causes the printer to move the current print position to the left margin. Does not cause
a paper advance.
13
0D
CTRL M
Shift Out
<S
O
>
Causes the printer to select the currently designated secondary font for use.
14
0E
CTRL N
Shift In
<S
I
>
Causes the printer to select the currently designated primary font for use.
15
0F
CTRL O
Escape
<E
C
>
Indicates to the printer that the characters immediately following are part of a printer
command.
27
1B
CTRL [
Space
<S
P
>
Causes the printer to move the current print position one character to the right.
32
20