User`s guide

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
1
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 printers.
Table A-1. HP PCL Printer Command Summary (Continued)
Command Topic Printer Feature Printer Command Decimal Equivalent Hex Equivalent