Solved

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

Posted on 2011-09-13
2
1,563 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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Simple Linear Regression
Progress

690 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