• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Printing PDF Files from Delphi

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.
1 Solution
I had the same question some time ago, take a look to it
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.
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now