HP d640 HP D640 High-Volume Printer - Enhanced Features Manual, C5620-90027 - Page 51

Example of PCL compression method 10

Page 51 highlights

Example of PCL compression method 10 Step 1 To fill an image, use the following commands to output the destination TIFF data. &f0S Push cursor (optional) *v0T Current pattern is black *r#F Raster graphics presentation mode 0 = print direction 3 = along width of page *t#R Raster graphics resolution in dots per inch (75, 100, 150, 200, 300, or 600) *r#T TIFF height in raster dots. Dot size is derived from the *r#R command. # = number of units *r#S TIFF width in raster units # = number of units *b10M Compression method 10 (entire TIFF data follows, TIFF header and all data) *r#A Start raster graphics # = mode *b#W Transfer TIFF data by block Important: # = the size of the TIFF file in bytes Fill in with TIFF data *rC Exit raster mode &f1S Pop cursor (optional, use with push cursor) Step 2 Set the source transparency mode. *v#N Step 3 Output the source raster data or text. *v#T Sets the current pattern (optional) Step 4 Reset the cursor and pattern. *v0T Sets the current pattern to Black (optional) &f1S Pop cursor (optional) Chapter 3: Technical Reference 47

  • 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

Chapter 3: Technical Reference
47
Example of PCL compression method 10
Step 1
To fill an image, use the following commands to output the
destination TIFF data.
<ESC>&f0S
Push cursor (optional)
<ESC>*v0T
Current pattern is black
<ESC>*r#F
Raster graphics presentation mode
0 = print direction
3 = along width of page
<ESC>*t#R
Raster graphics resolution in dots
per inch
(75, 100, 150, 200, 300, or 600)
<ESC>*r#T
TIFF height in raster dots. Dot size is
derived from the
<ESC>*r#R
command.
# = number of units
<ESC>*r#S
TIFF width in raster units
# = number of units
<ESC>*b10M
Compression method 10 (entire TIFF data
follows, TIFF header and all data)
<ESC>*r#A
Start raster graphics
# = mode
<ESC>*b#W
Transfer TIFF data by block
Important
: # = the size of the TIFF file in bytes
<copy TIFF data>
Fill in with TIFF data
<ESC>*rC
Exit raster mode
<ESC>&f1S
Pop cursor (optional, use with
push cursor)
Step 2
Set the source transparency mode.
<ESC>*v#N
Step 3
Output the source raster data or text.
<ESC>*v#T
Sets the current pattern (optional)
<include user raster_data or text>
Step 4
Reset the cursor and pattern.
<ESC>*v0T
Sets the current pattern to
Black (optional)
<ESC>&f1S
Pop cursor (optional)