×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Graphics Compresion Mode 2 in PCL-3

Graphics Compresion Mode 2 in PCL-3

Graphics Compresion Mode 2 in PCL-3

(OP)
Hi.
I need information, about of raster graphics compression mode 2, in pcl-3 command mode. I have one image very longer.

thanx.

RE: Graphics Compresion Mode 2 in PCL-3

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close