Solved

Pass argument to acrobat

Posted on 2002-04-17
9
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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
 
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 11

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 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