Printer Driver Problem

  • Thread starter Thread starter Nitin
  • Start date Start date
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
 
Nitin,
You probably want to post this in the
microsoft.public.development.device.drivers group.
 
Back
Top