Capture Printer output and convert to ASCII text file.
Posted on 2004-09-23
I need to develop a tool that automatically creates a Generic/Text only printer on FILE port when no such printer exist in the local m/c. Also when some files are choosed to print thro the Generic Printer, it has to generate a ASCII text file and have to store it in a pre-defined path set thro this application.
I successfully created a Generic printer on FILE port. I like to know the ways to supress this file name pop-up and I have to supply the file name internally thro the application. Here for each print thro the generic printer on FILE port systems asks the File name. I'm unable to suppress the file name prompt pop-up.
Could you pls guide me how to supress that pop-up and programatically assinging the FILE name, also give me some code samples url.
Thanks in advance,