Printer Driver Problem

N

Nitin

Hi All,
I am writing a printer driver for a printer that takes the image data in RGB
planes. I need to break-up the image data and to send it to printer, the
block of Red, Green and Blue data. I tried by using the below "colormode"
section in the GPD but i could not get success-
*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color
*Option: Color
{
*rcNameID: =COLOR_DISPLAY
*DevNumOfPlanes: 3
*DevBPP: 1
*DrvBPP: 8
*IPCallbackID: 1
*ColorPlaneOrder: LIST(RED,GREEN,BLUE)
*Command: CmdSendRedData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendGreenData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"X" }
*Command: CmdSendBlueData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
}
}

Am i doing anything wrong, or do i need to provide some additional GPD
settings other than the above.

Also i am not able to save the data using "Print to file" option.

Please help.

Thanks in advance,
Nitin
 
F

Floyd Burger

Nitin,
You probably want to post this in the
microsoft.public.development.device.drivers group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top