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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CRD Ec*g2W command?

Status
Not open for further replies.

PJfromDB

Programmer
Oct 16, 2008
3
US
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
 
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.
 
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.
 
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?
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top