Printing PDF Files from Delphi

Posted on 2003-03-18
Medium Priority
Last Modified: 2012-05-04
Hi folks,

I'm back again with another question.  This time I would like to know if it is possible to print lets say 20 copies of a PDF file without having to Load up Acrobat Reader, load and print the File, and then close Acrobat reader again 20 times in a row.

I already tried using the ShellExecute but that takes way too long, since sometimes users will need to print 100 up to 500 copies of a document.  So Opening the Reader, loading the file, printing, closing the reader is kinda out of the Question.

I also tried using the ActiveX thing, but only had that one working when I placed it on a form at designtime.  Since this will be a background process, I tried using a Datamodule, but you can't drop the ActiveX on a DataModule.  I also tried to create it at Run-Time, but that didn't seem to be giving any results neither.

Anyone knows how I could solve this ?

Thanks a lot in advance.
Question by:Stefaan
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

Accepted Solution

PSERK earned 300 total points
ID: 8158418
I had the same question some time ago, take a look to it

Expert Comment

ID: 9316729
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 10

Expert Comment

ID: 10613171
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
       to accept PSERK's answer
Please leave any comments here within the next four (4) days.

EE Cleanup Volunteer

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

762 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