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
Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 109
recursion example 16 139
in SAS how to create a record for each combination of the two duplicates? 16 104
Android development question 2 52
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.

809 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