Tech Support > Microsoft Windows > Drivers > Redirecting printing from a virtual printer driver please help.
Redirecting printing from a virtual printer driver please help.
Posted by Radu Cosoveanu on October 1st, 2005


Hello,

My name is Radu and I have a question for an idea please:

I am writing a virtual printer driver. A windows application sends data
at this printer driver. This driver collects some data (text) and it should
redirect the print job to another known printer. I am succeeded to take my
data, but now, I don’t now how to redirection the print job to another
printer. To rewrite all the functions ... it don't seems to be a good idea.
I understood that for this redirection I should use the SURFOBJ that
contains a bitmap. My problem is that: I don’t know how to translate the
SURFOBJECT into HBITMAP and in what function I should put it.
Could you help me please ?

Best regards,
Radu Cosoveanu


Posted by Radu Cosoveanu on October 5th, 2005


Hello,

UPDATE:
I try to save the picture using DrvNextBand function and to put all the
information on a bitmap and after that in a file.
Is it any other simple way to make this ?

Thank you in advance,
Radu


Similar Posts