Hi!
Is it possible to send a file to a printer and the receive the output in the application?
What I want to do is; us the Word API to print a document through a printer and then receive the output for further processing.
Cheers! :)
Printable View
Hi!
Is it possible to send a file to a printer and the receive the output in the application?
What I want to do is; us the Word API to print a document through a printer and then receive the output for further processing.
Cheers! :)
You can recieve notification when a print job is added tot he queue (FindFirstPrinterChangeNotification etc..) and interrogate the spool file directly if this is what you mean?
Maby FindFirstPrinterChangeNotificationLong is a solution? Found this page Monitoring a print queue from Visual Basic .
Have anyone used this for catching print jobs?
Why I want to print the file is because I need the file in the EMF format, but maby there is a better way for doing this?
You could create a new printer from the control panel and in the properties sheet set the location = "C:\temp\" and then click on the "Print processor" and set the data type to "EMF"
Thus it will save the printouts from this "printer" as EMF files...
Yes, this is what I have been trying to do. But I havent been able to get my application to fetch the created EMF file.