Re: Send data to Spooler

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



your mechanism of writing to the printer looks fine to me.

--
Vipin Aravind
http://www.explorewindows.com/Blogs


"Sushma" <sushma.yella@xxxxxxxxx> wrote in message
news:1153912707.564605.41350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello All,

I am writing a component which gets the data through USB interface. I
want to send this data to print spooler component. I m using Windows
API functions like OpenPrinter(...), WritePrinter(...) etc to
communicate with spooler.

I have just began implementing this API. So, I would like to know if
this approach is a feasible one to communicate with spooler directly.
Do i need to develop any other component or plug-in to talk to spooler.

Any help would be of use.

Thank You,

Regards,
Sushma.



.



Relevant Pages

  • Re: MFC with c engine
    ... well starting a service takes a single StartService api call, ... have to start/check the dependencies,etc and there is ... some code involved in writing them and maintaining them:) ... example is system("net start spooler") when I want to start the spooler. ...
    (microsoft.public.vc.mfc)
  • Re: Send data to Spooler
    ... I am writing a component which gets the data through USB interface. ... want to send this data to print spooler component. ... API functions like OpenPrinter, WritePrinteretc to ... this approach is a feasible one to communicate with spooler directly. ...
    (microsoft.public.development.device.drivers)
  • Send data to Spooler
    ... want to send this data to print spooler component. ... I m using Windows ... I have just began implementing this API. ... this approach is a feasible one to communicate with spooler directly. ...
    (microsoft.public.development.device.drivers)
  • Re: Printer Status??
    ... The spooler will communicate with the printer and notify the user of any ... "Antonio" wrote in message ...
    (microsoft.public.vc.mfc)