Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphics Compresion Mode 2 in PCL-3

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi.
I need information, about of raster graphics compression mode 2, in pcl-3 command mode. I have one image very longer.

thanx.
 
Graphics Mode 2
This mode is concerned with both repeating bytes and conventional non-repeating bytes. The data bytes occur in groups of variable length. The first byte of a group indicates whether a repeated byte or a series of unrepeated bytes follow. If the first byte has a value from [00] to [7F] then it indicates a number of unrepeated bytes follow. A value of [00] represents one unrepeated byte, and a value of [7F] represents 128 unrepeated bytes. If the first byte has a value from [80] to [FF] then it indicates a repetition of the following byte. A value of [FF] represents one repetition (two occurrences), and a value of [80] represents 128 repetitions. If you wanted to print a pattern represented by the following thirteen data bytes in mode 0: [FF][FF][FF][FF][00][18][00][FF][FF][FF][FF] you could compress this data in mode 2 to just eight bytes: [FC][FF][02][00][18][00][FC][FF].

Bye...
Uwe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top