×
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

printing RGB colors in PCL

printing RGB colors in PCL

printing RGB colors in PCL

(OP)
What commands do I use for to set an RGB color on a deskjet ?

I want to set it to a very light gray for shading but
other colors will be useful in the future.

I can do the basic colors
Ec*r-4U Ec*v10S
for example to print in a green


RE: printing RGB colors in PCL

Well, assuming you want full color, you have to create a three plane image. It's usually easier to work with CMY when dealing with inks. It would go like...

<esc>*b###V.........................Cyan data
<esc>*b###V.........................Magenta data
<esc>*b###W.........................Yellow data

Note the W in the third row. The V command does not advance the cursor to a new row. The W command does, so it only appears on the last row, thus overlay the color components on top of each other and then advance the row after all three components have been printed.

In BW we advance the row every time with the W command as you would expect.

I would have a look on HP's website for info.

You are responsible for dithering the image. Now if you get a PCL5 color printer, the printer can do the dithering for you.

Jim Asman

RE: printing RGB colors in PCL

(OP)
Thanks Jim. Well it's a deskjet so it uses PCL 3 enhanced
I think rather than PCL 4 or 5. I've tried to use
Ec*c##h##v20g2P
to shade and it ignores it. I can use chr$(176) or 177 or
178 but can't really get it light enough for what I want.

Is the 'DATA' what you are printing ? like text/chr$()/etc ?
If so, I would assume it's repeated each time.

What's the limit of numbers for the CMY palette
(i.e. for C, M, and Y individually)

Thanks for your fase response.

RE: printing RGB colors in PCL

(OP)
oops - i meant fast response

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