[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Pass argument to acrobat

Posted on 2002-04-17
9
Medium Priority
?
174 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 101

Accepted Solution

by:
mlmcc earned 800 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

649 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