×
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

How to print a simple coloured bitmap with PCL3???

How to print a simple coloured bitmap with PCL3???

How to print a simple coloured bitmap with PCL3???

(OP)
Hi,

I have a problem with printing a coloured grafik using PCL3 for inkjets.

I am writing the software for a microcontroller that is directly (this means there is no operation system) sending data to the printer in order to print them out...It works quite well. The microcontroller holds something like a
bitmap in its memory where each bit represents one pixel....hence the printer just prints black/white....

Now the printer shall also be able to print (a simple) coloured picture, but I do not really know, how to do this...I do not know about the main principle...

So, let's assume that I have a normal 3Byte RGB bitmap in the memory and I want to print that out - what do I have to do that the printer recognises that now 3Bytes represent 1 pixel??

I found the following PCL commands...I think it is PCL3...

Start Raster Grafic                      Esc * r 0 A   
Set number of raster planes per row      Esc * r 3 U   (for RGB Palette)
Transfer Number of bytes                 Esc * b # W [data]
Transfer graphics data by plane          Esc * b # V [data]

I do not know in which way those commands have to be sent to the printer...Am I right, that I have to choose a the palette with the command "Esc * r 3 U"..?  Do the commands "Esc * b # W [data]" and "Esc * b # V
[data]" exclude each other or do they have to be combined in any way??

I hope anybody will help me a little bit and I thank you for your effort.
Marco.

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