Lexmark MC2325 Printer Languages and Interfaces Technical Reference - Page 35

Uncoded data, Run-length encoded data, p300x300Y, t100R, b8W 'FF FF FF FF FF FF FF FF'x

Page 35 highlights

Printer Control Language (PCL) emulation 35 • 2-Tagged Image File Format (TIFF) Byte • 3-Delta row • 5-Adaptive compression • 9-Replacement delta row • 999-Zlib • 1002-Group 4 • 1003-Group 3 one‑dimensional • 1004-Group 3 two-dimensional K=2 • 1005-Group 3 two-dimensional K=4 • 1006-TIFF word (16 bit) • 1007-TIFF double‑word (32 bit) • 1008-Adaptive compression (includes TIFF word and TIFF double‑word) Uncoded data Uncoded data is not compressed. Only those bytes needed to form the image are sent. Each bit represents a single dot. In the first byte, bit 7 corresponds to the first dot in the raster row, bit 5 to the third dot, and so forth. Example: ESC*p300x300Y |Move the cursor to 1 x 1 in. (1 in. from top margin and 1 in. from left edge of logical page) ESC*t100R |Set resolution to 100-dots per inch ESC*r0F |Rotate image to match current orientation ESC*b0M |Set compression mode to uncoded ESC*r1A |Start raster graphics at current position ESC*b8W 'FF FF FF FF FF FF FF FF'x |Raster data uncompressed ESC*b8W '80 00 00 00 00 00 00 01'x ESC*b8W '80 00 00 00 00 00 00 01'x ... |Repeat to provide 64 total scan lines ESC*b8W '80 00 00 00 00 00 00 01'x ESC*b8W 'FF FF FF FF FF FF FF FF'x ESC*rB |End graphics Run-length encoded data Run-length encoded data is interpreted in pairs of bytes. The following are the characteristics of the first byte: • Acts as a counter, or control byte. • Indicates how many times to repeat the data in the second byte. • Can be from 0 (no repetition) to 255. • The second byte is the data byte.

  • 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

2—Tagged Image File Format (TIFF) Byte
3—Delta row
5—Adaptive compression
9—Replacement delta row
999—Zlib
1002—Group 4
1003—Group 3 one
dimensional
1004—Group 3 two-dimensional K=2
1005—Group 3 two-dimensional K=4
1006—TIFF word (16 bit)
1007—TIFF double
word (32 bit)
1008—Adaptive compression (includes TIFF word and TIFF double
word)
Uncoded data
Uncoded data is not compressed. Only those bytes needed to form the image are sent. Each bit represents a
single dot. In the first byte, bit 7 corresponds to the first dot in the raster row, bit 5 to the third dot, and so forth.
Example:
ESC
*p300x300Y
|Move the cursor to 1 x 1 in. (1 in. from top margin and 1 in. from left
edge of logical page)
ESC
*t100R
|Set resolution to 100-dots per inch
ESC
*r0F
|Rotate image to match current orientation
ESC
*b0M
|Set compression mode to uncoded
ESC
*r1A
|Start raster graphics at current position
ESC
*b8W 'FF FF FF FF FF FF FF FF'x
|Raster data uncompressed
ESC
*b8W '80 00 00 00 00 00 00 01'x
ESC
*b8W '80 00 00 00 00 00 00 01'x
...
|Repeat to provide 64 total scan lines
ESC
*b8W '80 00 00 00 00 00 00 01'x
ESC
*b8W 'FF FF FF FF FF FF FF FF'x
ESC
*rB
|End graphics
Run-length encoded data
Run-length encoded data is interpreted in pairs of bytes.
The following are the characteristics of the first byte:
Acts as a counter, or control byte.
Indicates how many times to repeat the data in the second byte.
Can be from 0 (no repetition) to 255.
The second byte is the data byte.
Printer Control Language (PCL) emulation
35