HP Deskjet 320 Solutions Guide - Page 182

HP PCL Printer Commands and Control Codes, Raster Graphics Commands

Page 182 highlights

Table A-1. HP PCL Printer Command Summary (Continued) Command Topic Secondary Font1 Designators Printer Feature Default character set Default primary chr. set Current primary chr. set Default secondary font Printer Command Decimal Equivalent Ec)0@ Ec)1@ Ec)2@ Ec)3@ Raster Graphics Commands 027 041 048 064 027 041 049 064 027 041 050 064 027 041 051 064 Set Graphics Print Mode Graphics default Print graphics bidirectionally Print graphics left to right Print graphics right to left Conditionally print graphics bidirectionally Ec*p0N Ec*p1N Ec*p2N Ec*p3N Ec*p4N 027 042 112 048 078 027 042 112 049 078 027 042 112 050 078 027 042 112 051 078 027 042 112 052 078 Start Raster Graphics At leftmost position Current cursor position End Raster Graphics End graphics Set Raster Graphics 75 dots per inch Resolution 100 dots per inch 150 dots per inch 300 dots per inch Set Raster Graphics Width Temporary X offset2 Number of pixels Horizontal offset for raster row Set Raster Graphics Compression off Compression Method Method 1 Method 2 Method 3 Method 9 Seed row source Transfer Raster Graphics Transfer graphics data by row Transfer graphics data by plane2 Relative Vertical Pixel Movement Number of dots Ec*r0A Ec*r1A Ec*rbC Ec*t75R Ec*t100R Ec*t150R Ec*t300R Ec*r#S Ec*b#X Ec*b0M Ec*b1M Ec*b2M Ec*b3M Ec*b9M Ec*b#S Ec*b#W[data] Ec*b#V[data] Ec*b#Y 027 042 114 048 065 027 042 114 049 065 027 042 114 098 067 027 042 116 055 053 082 027 042 116 049 048 048 082 027 042 116 049 053 048 082 027 042 116 051 048 048 082 027 042 114 #...# 083 027 042 098 #...# 088 027 042 098 048 077 027 042 098 049 077 027 042 098 050 077 027 042 098 051 077 027 042 098 057 077 027 042 098 #...# 083 027 042 098 #...# 087 data 027 042 098 #...# 086 data 027 042 098 #...# 089 Set Graphics Quality Draft Letter quality Set Number of Raster 3 planes, CMY palette Planes Per Row3 Single plane palette Ec*r1Q Ec*r2Q Ec*r-3U Ec*r1U 027 042 114 049 081 027 042 114 050 081 027 042 114 045 051 085 027 042 114 049 085 3 planes, RGB palette Ec*r3U 027 042 114 051 085 Misc. Raster Raster graphics shingling Graphics Commands Raster graphics depletion2 Ec*o#Q Ec*o#D 027 042 111 #...# 081 027 042 111 #...# 068 Hex Equivalent 1B 29 30 40 1B 29 31 40 1B 29 32 40 1B 29 33 40 1B 2A 70 30 4E 1B 2A 70 31 4E 1B 2A 70 32 4E 1B 2A 70 33 4E 1B 2A 70 34 4E 1B 2A 72 30 41 1B 2A 72 31 41 1B 2A 72 62 43 1B 2A 74 37 35 52 1B 2A 74 31 30 30 52 1B 2A 74 31 35 30 52 1B 2A 74 33 30 30 52 1B 2A 72 #...# 53 1B 2A 62 #...# 58 1B 2A 62 30 4D 1B 2A 62 31 4D 1B 2A 62 32 4D 1B 2A 62 33 4D 1B 2A 62 39 4D 1B 2A 62 #...# 53 1B 2A 62 #...# 57 data 1B 2A 62 #...# 56 data 1B 2A 62 #...# 59 1B 2A 72 31 51 1B 2A 72 32 51 1B 2A 72 2D 33 37 1B 2A 72 31 37 1B 2A 72 33 37 1B 2A 6F #...# 51 1B 2A 6F #...# 44 # Indicates the numeric value field. 1. This is a testing command; it is not recommended for use. 2. This is an obsolete command. Hewlett-Packard suggests that it not be used in code developed for HP DeskJet 300 Series printers. 3. This command is only used by the HP DeskJet 310 and 320 printers. A-4 HP PCL Printer Commands and Control Codes

  • 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

A-4
HP PCL Printer Commands and Control Codes
Secondary Font
1
Designators
Default character set
E
c
)0@
027 041 048 064
1B 29 30 40
Default primary chr. set
E
c
)1@
027 041 049 064
1B 29 31 40
Current primary chr. set
E
c
)2@
027 041 050 064
1B 29 32 40
Default secondary font
E
c
)3@
027 041 051 064
1B 29 33 40
Raster Graphics Commands
Set Graphics
Print Mode
Graphics default
E
c
*p0N
027 042 112 048 078
1B 2A 70 30 4E
Print graphics bidirectionally
E
c
*p1N
027 042 112 049 078
1B 2A 70 31 4E
Print graphics left to right
E
c
*p2N
027 042 112 050 078
1B 2A 70 32 4E
Print graphics right to left
E
c
*p3N
027 042 112 051 078
1B 2A 70 33 4E
Conditionally print graphics
bidirectionally
E
c
*p4N
027 042 112 052 078
1B 2A 70 34 4E
Start Raster Graphics
At leftmost position
E
c
*r0A
027 042 114 048 065
1B 2A 72 30 41
Current cursor position
E
c
*r1A
027 042 114 049 065
1B 2A 72 31 41
End Raster Graphics
End graphics
E
c
*rbC
027 042 114 098 067
1B 2A 72 62 43
Set Raster Graphics
Resolution
75 dots per inch
E
c
*t75R
027 042 116 055 053 082
1B 2A 74 37 35 52
100 dots per inch
E
c
*t100R
027 042 116 049 048 048 082
1B 2A 74 31 30 30 52
150 dots per inch
E
c
*t150R
027 042 116 049 053 048 082
1B 2A 74 31 35 30 52
300 dots per inch
E
c
*t300R
027 042 116 051 048 048 082
1B 2A 74 33 30 30 52
Set Raster
Graphics Width
Number of pixels
E
c
*r#S
027 042 114 #...# 083
1B 2A 72 #...# 53
Temporary X offset
2
Horizontal offset for raster row
E
c
*b#X
027 042 098 #...# 088
1B 2A 62 #...# 58
Set Raster Graphics
Compression Method
Compression off
E
c
*b0M
027 042 098 048 077
1B 2A 62 30 4D
Method 1
E
c
*b1M
027 042 098 049 077
1B 2A 62 31 4D
Method 2
E
c
*b2M
027 042 098 050 077
1B 2A 62 32 4D
Method 3
E
c
*b3M
027 042 098 051 077
1B 2A 62 33 4D
Method 9
E
c
*b9M
027 042 098 057 077
1B 2A 62 39 4D
Seed row source
E
c
*b#S
027 042 098 #...# 083
1B 2A 62 #...# 53
Transfer Raster
Graphics
Transfer graphics data by row
E
c
*b#W[data]
027 042 098 #...# 087 data
1B 2A 62 #...# 57 data
Transfer graphics data by plane
2
E
c
*b#V[data]
027 042 098 #...# 086 data
1B 2A 62 #...# 56 data
Relative Vertical
Pixel Movement
Number of dots
E
c
*b#Y
027 042 098 #...# 089
1B 2A 62 #...# 59
Set Graphics Quality
Draft
E
c
*r1Q
027 042 114 049 081
1B 2A 72 31 51
Letter quality
E
c
*r2Q
027 042 114 050 081
1B 2A 72 32 51
Set Number of Raster
Planes Per Row
3
3 planes, CMY palette
Ec*r-3U
027 042 114 045 051 085
1B 2A 72 2D 33 37
Single plane palette
Ec*r1U
027 042 114 049 085
1B 2A 72 31 37
3 planes, RGB palette
Ec*r3U
027 042 114 051 085
1B 2A 72 33 37
Misc. Raster
Graphics Commands
Raster graphics shingling
E
c
*o#Q
027 042 111 #...# 081
1B 2A 6F #...# 51
Raster graphics depletion
2
E
c
*o#D
027 042 111 #...# 068
1B 2A 6F #...# 44
# Indicates the numeric value field.
1.
This is a testing command; it is not recommended for use.
2.
This is an obsolete command. Hewlett-Packard suggests that it not be used in code developed for HP DeskJet 300 Series printers.
3.
This command is only used by the
HP DeskJet 310 and 320
printers.
Table A-1.
HP PCL Printer Command Summary (Continued)
Command Topic
Printer Feature
Printer Command
Decimal Equivalent
Hex Equivalent