Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-13
2
Medium Priority
?
1,625 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Make the most of your online learning experience.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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

609 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