×
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

CRD Ec*g2W command?

CRD Ec*g2W command?

CRD Ec*g2W command?

(OP)
Does anyone know how to use the Ec*g2W CRD (configure raster data) command in printing color raster graphics?

The printer I am using does not accept the CID Ec*v#W command and I am trying to figure out how you are supposed to send color raster graphics to this printer (Deskjet 5650).  I have read the HP PCL documents several times but I can not find a reference to how to use the CRD command.

Thanks PJfromDB

RE: CRD Ec*g2W command?

I think that this command (for DeskJet devices, rather than LaserJet ones) was described in an old manual called something like 'The PCL Implementor's Guide'.

I don't know where you could find a copy of this manual.

RE: CRD Ec*g2W command?

You might try setting up a printer with the same driver that prints to a file, print the color graphic to that printer, then study the output file.

RE: CRD Ec*g2W command?

(OP)
Buff1,

The problem with looking at the direct printer input is I don't know how to interpet it.  When I look at what is sent to the printer I see:

Ec *g20W 06 1F 00 02 02 58 02 58 09 00 01 01 02 58 02 58 0A 01 20 01

Any clues on how to interpret the binary string after the command?

RE: CRD Ec*g2W command?

The site you referenced before describes the command, but only for formats 2 and 7.

Your sample binary string indicates that it is defining format 6 data; how the remainder of the bytes are to be interpreted will almost certaionly be unique to this format.

One probable interpretation of some of the bytes is that the four occurrences of hex(0258) are likely to be defining some resolution values (of 600 in each case) - but resolutions of what, I've no idea.

And unless you can find some more documentation on this command, you're just taking stabs in the dark in attempting to interpret the other bytes.

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