?
Solved

with acroPDF is it possible to select the printer to be used to print?

Posted on 2011-09-13
2
Medium Priority
?
1,594 Views
Last Modified: 2012-06-26
I'm trying this code:
AcroPDFLib.AcroPDF PrtPDF = new AcroPDFLib.AcroPDF();
            PrtPDF.src= FileToPrint;
            PrtPDF.LoadFile(FileToPrint);
            PrtPDF.printAll();

in orderto print PDF files.
My qustion is: is it possible to select the printer before printing the document?
thanks
0
Comment
Question by:bobdylan75
[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
2 Comments
 
LVL 21

Accepted Solution

by:
developmentguru earned 2000 total points
ID: 36533816
I checked out their developer documentation.  Since acroPDF "operates as a printer" you can use Win32 API functions to set anything you could set on a normal printer such as printing to a file, or setting job properties.  Since you cannot tell a printer to print to another printer I think you will need to print to a file and then schedule that file as a print job.  I regularly program in Delphi where this would not be difficult to do.  Since you only put it in the Miscellaneous Programming zone.  I hope this helps to clarify things for you.
0
 

Author Closing Comment

by:bobdylan75
ID: 36534230
Thanks,
I will follow your tips..
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes
Suggested Courses

743 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