11-54 Soft Font Creation
EN
Class 1 - Bitmap Data
Class 1 or bitmap (raster) character data is a string of bytes
containing the dot-per-bit image of the character, no data
compression. If a bit is set to one, the corresponding dot is printed.
The data is grouped in dot rows. A row describes a one-dot-high strip
of the character from left to right, in the direction of the printer’s raster
scan (see the Portrait Bitmap Character Data Example, at the end of
this chapter). Zeroed bits must be added to the end of each row to
make it contain an integral number of bytes. The dot rows are
organized from top to bottom of the character. For example, the first
dot row of data corresponds to the top dot row of the character.
The number of bytes of the character data should be exactly
Character Width (in bytes) times Character Height. If more
data is received, it is discarded; if less data is received, the character
consists of only the data downloaded.
Class 2 - Compressed Bitmap Data
For a compressed bitmap character, the data is composed of a string
of bytes using a run-length encoding with line repetition compressed
format (see Figure 11-2). The first byte indicates the number of times
the first raster row is repeated after its initial occurrence. It is
assumed that the first pixel in a row is white, hence the second byte
indicates how many white pixels start the row. The third byte indicates
how many black pixels, the fourth byte indicates the number of white
pixels again, etc. If the first pixel in a row is black, the white pixel
indicator (the second byte) is 0. If there are more than 255 pixels in a
row of the same type, there is a byte containing 255, followed by a 0
byte, followed by a byte containing the count of remaining pixels of
the current type.
The width of each row is determined by the character width (in dots)
as specified in the character descriptor for the character. The pixel
count (number of 1’s and 0’s bits) for each row in the character cell
must equal the character width. For example, in Figure 11-5, the cell
width is 20, thus each row (excluding the repetition count byte) adds
up to 20.
Once the row has been filled, the row is duplicated as indicated in its
first byte, then a new row is started.
Summary of Contents for LaserJet 4100
Page 1: ...Part I Click here to access Part II on hp com ...
Page 2: ......
Page 26: ...Contents 14 EN ...
Page 44: ...2 10 The Page EN ...
Page 54: ...3 10 The Print Environment EN ...
Page 70: ...4 16 PCL Job Control Commands EN ...
Page 80: ...5 10 Page Control Commands EN Figure 5 3 Changing Print Direction on a Page ...
Page 82: ...5 12 Page Control Commands EN Figure 5 4 Text Area Within the Page ...
Page 110: ...6 16 Cursor Positioning EN ...
Page 120: ...7 10 Fonts EN Figure 7 11 Bitmap Character Figure 7 12 Scalable Character ...
Page 122: ...7 12 Fonts EN ...
Page 152: ...8 30 PCL Font Selection EN ...
Page 166: ...9 14 Font Management EN ...
Page 182: ...10 16 User Defined Symbol Sets EN ...
Page 237: ...EN Character Descriptor Formats 11 55 Figure 11 5 Class 2 Character Data ...
Page 240: ...11 58 Soft Font Creation EN Figure 11 6 Portrait Character Example ...
Page 241: ...EN Character Descriptor Formats 11 59 Figure 11 7 Landscape Character Example ...
Page 270: ...13 4 The PCL Print Model EN Figure 13 3 Effect of Transparency Modes on Images ...
Page 276: ...13 10 The PCL Print Model EN Figure 13 4 Shading Patterns ...
Page 277: ...EN Pattern ID Area Fill ID Command 13 11 Figure 13 5 Cross Hatch Patterns ...
Page 290: ...13 24 The PCL Print Model EN ...
Page 297: ...EN Pattern ID Area Fill ID Command 14 7 Figure 14 1 Shading Patterns ...
Page 298: ...14 8 PCL Rectangular Area Fill Graphics EN Figure 14 2 Cross hatch Patterns ...
Page 341: ...EN Raster Graphics Example 15 33 Figure 15 11Example of Raster Graphic Image Data ...
Page 342: ...15 34 Raster Graphics EN ...
Page 370: ...16 28 Status Readback EN ...