Pass argument to acrobat

Hello,

I am printing Crystal Reports using VB6 to a .pdf file.  Getting the report to print is not a problem.  The problem I am having is that it prints several reports a day and each time it prints one a box comes up asking for a file name to save it as.  I would like to be able to pass the filename to adobe so it can run unattended.  Thanks in advance.

In other words, when a .rpt file is "printed" to a .pdf file, how do I pass the filename that I want it to be saved as?


adsttuAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Richie_SimonettiIT OperationsCommented:
0
 
Richie_SimonettiIT OperationsCommented:
Sorry, gorget about that link.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Richie_SimonettiIT OperationsCommented:
0
 
adsttuAuthor Commented:
I'm not exactly printing pdf files.  What I'm doing is printing Crystal Report (.rpt) files to a pdf file.  When you set up Acrobat you can set up a virtual printer that appears in the printer list but actually just creates a pdf file from other formats.  So, I'm actually converting a Crystal Report file to a pdf file.
0
 
Richie_SimonettiIT OperationsCommented:
http://www.brookhouse.co.uk/adobe/batch/
It appears like there is not a direct way to batch print files without a third party utility.
0
 
Richie_SimonettiIT OperationsCommented:
0
 
aranaCommented:
your virtual printer properties must have some default filename on it. this has not to do with crystal reports, or VB, it has to do with passsing a parameter to the printer driver, or setting a default printer driver filename or setting a default one.
0
 
adsttuAuthor Commented:
Thank you mlmcc, the document you refered me to solved the problem completely.  I looked a hundered times on Crystal's site and couldn't find it.  Sometimes it just takes a fresh pair of eyes I quess.

I appreciate all of the comments.

Thanks,
Aaron
0
All Courses

From novice to tech pro — start learning today.