Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to automate printing to a file

Status
Not open for further replies.

Pica77

Programmer
Jan 18, 2002
3
0
0
US
Hello,
I have VB code that writes a page to a PostScript printer. I now need to save these pages to a file. I setup a printer as a "Save To File" printer and am able to save the *.PS file. The problem is that when I execute the program I always receive a "Save File To..." dialog box. The program is running in a loop and I am creating several thousands files. How can I automate the process so that the file directory and file name are supplied within the code rather than by a dialog box that pops up 3,000 times?
Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top