Solved

PDF Printing from AcroRd32 - Silent Print.

Posted on 2007-11-26
2
4,168 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
ID: 20399571
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

815 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

8 Experts available now in Live!

Get 1:1 Help Now