Printer Driver Problem

Posted: 06-03-2005, 03:37 PM
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


Reply With Quote

Responses to "Printer Driver Problem"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver HP LaserJet 5l Xtra printer driver? bongofury Windows XP Device Drivers 4 06-05-2004 04:25 AM
Printer Driver install problem Bob Keller Windows XP Printers / Scanners / Fax 1 10-24-2003 01:43 AM
printer driver issues for dot matrix printer Corico Windows XP Printers / Scanners / Fax 0 10-09-2003 04:39 AM
Xerox Printer driver problem Cari MS-MVP Windows XP Printers / Scanners / Fax 0 10-01-2003 01:51 AM
possible printer driver problem Jen Windows XP Printers / Scanners / Fax 1 08-19-2003 06:59 PM