Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Dale #1
How to print to PDF without a print dialog box
I need to print to the "Adobe PDF" print driver and have the PDF file
created without user interaction. The purpose is to have a programming
language print a series of reports to PDF files automatically.
So I need a way to suppress the print dialog box that normally appears
when you print to the "Adobe PDF" print driver and also to specify a
destination name. Note that the destination name does not need to be
unique to each file; if I can have all PDFs that are generated go to the
same destination folder and filename that is fine.
We have Adobe Distiller 7.0, Adobe Acrobat 7.0 Professional and Adobe
Designer 7.0. The print driver is called "Adobe PDF".
I thought the joboptions file might handle this, but there is no option
for filename.
I thought the following registry keys could do this, but they seem to
control only the default destination folder, rather than allowing a
folder and filename.
HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Distiller\7.0\DefaultPDFOutput
HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\PrinterJobControl
I tried setting the following attributes within the programming
language. The print did then proceed without displaying the print
dialog box, but the resulting PDF files are unusable; Acrobat reports
them as corrupted when I try to open them.
- FileName (sets path and name for the file to be created by the printer)
- DocumentName (sets name to be displayed in the Printer status dialog
that lists the files being printed on the printer)
- PrinterName (sets the name of the Windows printer to print to)
Note that setting these three attributes does allow printing to succeed
with Amyuni PDF print driver. (We are going away from Amyuni due to
instability issues.)
Any hints would be appreciated.
Thanks.
Dale
Dale Guest
-
Print PDF in asp w/o print dialog
Hi, I have searched my forum for an answer. But I still want to confirm with reality. is it possible to print PDF w/o the print dialog to show... -
Funkiness in print dialog box
When I go to print a document, I hit command-P, and up jumps the print dialog box. I select the printer I want to use, and go from the "Copies &... -
Illustrator 10 Print Space settings in Print Dialog
Howdy all; I've got a peculiar situation that I haven't found an answer to yet. On my laptop PC (Windows XP Home) when I go to print a document... -
Bypass Print Dialog
Hi all, I'm building a ticketing system for a minor league baseball team and of course it will utilize a ticket printer. I was wondering if there... -
How can I open the print dialog
you could add a print-button - let it go "server side" to display what you want to print, and register some java to print the form... then direct... -
David #2
Re: How to print to PDF without a print dialog box
From: "Dale Fox" <com>
| I need to print to the "Adobe PDF" print driver and have the PDF file
| created without user interaction. The purpose is to have a programming
| language print a series of reports to PDF files automatically.
| So I need a way to suppress the print dialog box that normally appears
| when you print to the "Adobe PDF" print driver and also to specify a
| destination name. Note that the destination name does not need to be
| unique to each file; if I can have all PDFs that are generated go to the
| same destination folder and filename that is fine.
| We have Adobe Distiller 7.0, Adobe Acrobat 7.0 Professional and Adobe
| Designer 7.0. The print driver is called "Adobe PDF".
| I thought the joboptions file might handle this, but there is no option
| for filename.
| I thought the following registry keys could do this, but they seem to
| control only the default destination folder, rather than allowing a
| folder and filename.
| HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Distiller\7.0\DefaultPDFOutput
| HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\PrinterJobControl
| I tried setting the following attributes within the programming
| language. The print did then proceed without displaying the print
| dialog box, but the resulting PDF files are unusable; Acrobat reports
| them as corrupted when I try to open them.
| - FileName (sets path and name for the file to be created by the printer)
| - DocumentName (sets name to be displayed in the Printer status dialog
| that lists the files being printed on the printer)
| - PrinterName (sets the name of the Windows printer to print to)
| Note that setting these three attributes does allow printing to succeed
| with Amyuni PDF print driver. (We are going away from Amyuni due to
| instability issues.)
| Any hints would be appreciated.
| Thanks.
| Dale
Batch print PDF's via OLE automation, DDE command line parameters
http://support.adobe.com/devsup/devsup.nsf/docs/51412.htm
--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp
David Guest



Reply With Quote

