HP C3916A HP LaserJet 5, 5M, and 5N Printer - User's Guide - Page 164

Setup Strings

Page 164 highlights

Table B-2 Common Symbol Sets Values Code Symbol Set 8U HP Roman-8 Symbol Set 10U IBM Layout (PC-8) (code page 437) Default Symbol Set 12U IBM Layout for Europe (PC-850) (code page 850) 8M Math-8 Code Symbol Set 19U Windows 3.1 Latin 1 9E Windows 3.1 Latin 2 (commonly used in Eastern Europe) 5T Windows 3.1 Latin 5 (commonly used in Turkey) 579L Wingdings Font Point size (or pitch) is another variable. In the following example, "12U" has been filled in for the PC-850 symbol set and "12v" for the point size. This printer command would select a 12 point Univers Medium font. ?(12U?(s1p12v0s0b4148T Setup Strings Some software applications, like older versions of Lotus 1-2-3 for DOS, require setup strings with PCL printer commands. In the following example, the Lotus escape charter (\027) is shown. This setup string would be used to change the orientation to landscape, select the PC-8 symbol set with line draw characters, select the small Line Printer font, and change the line spacing to 8 lines-per-inch. \027&l1O\027(10U\027(s0p16.67h8.5v0s0b0T\027&l8D Several frequently used PCL printer commands are shown below: Function Command Decimal Value Job Control Commands Reset ?E 027 069 Number of Copies (1-999) ?&l#X 027 038 108 # 088 2 sided/1 sided printing ?&l#S 027 038 108 # 083 Page Control Commands Page Length and Size Paper Source ?&l#H 027 038 108 # 072 Paper size ?&l#A 027 038 108 # 065 Orientation ?&l#O 027 038 108 # 079 Paper Source: 1=Tray 2, 2=manual feed Tray 1, 4=Tray 1, 5=optional Tray 3. Paper Size: 1=executive, 2=letter, 3=legal, 25=A5, 26=A4, 81=Com10, 80=monarch, 91=C5, 90=DL, 100=B5. Orientation: 0 =portrait, 1=landscape. B-4 Common PCL Printer Commands 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
  • 204
  • 205
  • 206
  • 207
  • 208

Point size (or pitch) is another variable.
In the following example,
ā€œ12Uā€ has been filled in for the PC-850 symbol set and ā€œ12vā€ for the
point size.
This printer command would select a 12 point Univers
Medium font.
?(12U?(s1p12v0s0b4148T
Setup Strings
Some software applications, like older versions of Lotus 1-2-3 for DOS,
require setup strings with PCL printer commands.
In the following
example, the Lotus escape charter (\027) is shown.
This setup string
would be used to change the orientation to landscape, select the PC-8
symbol set with line draw characters, select the small Line Printer font,
and change the line spacing to 8 lines-per-inch.
\027&l1O\027(10U\027(s0p16.67h8.5v0s0b0T\027&l8D
Several frequently used PCL printer commands are shown below:
Function
Command
Decimal Value
Job Control Commands
Reset
?E
027 069
Number of Copies (1-999)
?&l#X
027 038 108 # 088
2 sided/1 sided printing
?&l#S
027 038 108 # 083
Page Control Commands
Page Length and Size
Paper Source
?&l#H
027 038 108 # 072
Paper size
?&l#A
027 038 108 # 065
Orientation
?&l#O
027 038 108 # 079
Paper Source: 1=Tray 2, 2=manual feed Tray 1, 4=Tray 1, 5=optional Tray 3.
Paper Size: 1=executive, 2=letter, 3=legal, 25=A5, 26=A4, 81=Com10, 80=monarch, 91=C5, 90=DL,
100=B5.
Orientation: 0 =portrait, 1=landscape.
Code
Symbol Set
Code
Symbol Set
8U
HP Roman-8 Symbol Set
19U
Windows 3.1 Latin 1
10U
IBM Layout (PC-8) (code page 437) Default
Symbol Set
9E
Windows 3.1 Latin 2 (commonly used in Eastern
Europe)
12U
IBM Layout for Europe (PC-850) (code page
850)
5T
Windows 3.1 Latin 5 (commonly used in Turkey)
8M
Math-8
579L
Wingdings Font
Table B-2
Common Symbol Sets Values
B-4
Common PCL Printer Commands
EN