Solved

PDF Printing from AcroRd32 - Silent Print.

Posted on 2007-11-26
2
4,166 Views
Last Modified: 2013-12-17
I am using the freely available AcroRd32 Active X object in a form to display some PDF files in my application.  There is a list of PDF files that may be selected on the left and the selected PDF is displayed on the right in the Active X control.  The user may choose to print a range of these PDF files but the code that I have written (which seemed to be straight forward) is not working correctly.  If I just use the Print function of the object, I get the Adobe Print Dialog box.  If I use the PrintAll function, the Adobe Reader window pops  up and the User has to close it.  Both of these are unacceptable.  

How can I print the PDF documents, one after the other, silently without any user interaction.  I want to print to the default printer using default settings at this point.

Furthermore, how can I apply a PrinterSettings object to the PDF print job, or is this possible?  Thanks in advance.
0
Comment
Question by:pprater1
2 Comments
 
LVL 3

Accepted Solution

by:
humergu earned 500 total points
Comment Utility
i didn't try or use any of the suggested programs/libraries...

pdfcreator is an opensource software which integrates as a windows printer. they provide an activex library:
http://www.pdfforge.org/products/fly2pdf

foxit pdfreader is a free pdf reader. they have some sdks for working with pdfs:
http://www.foxitsoftware.com/

but, as i said, i don't know if there is a window for user interactions.
with a quick look, the activex from pdfforge could be the right choice.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.

744 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now