Solved

Pass argument to acrobat

Posted on 2002-04-17
9
166 Views
Last Modified: 2010-05-18
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?


0
Comment
Question by:adsttu
9 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6948289
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6948291
Sorry, gorget about that link.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6948305
0
 

Author Comment

by:adsttu
ID: 6948325
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6948327
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
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6948344
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 200 total points
ID: 6948586
0
 
LVL 10

Expert Comment

by:arana
ID: 6948749
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
 

Author Comment

by:adsttu
ID: 6948869
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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 66
Updates not working for MS Windows 7 12 124
Access 2013 combo box not working 3 25
Copy a row 12 53
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now