` Printed Icetips Article

Icetips Article



Par2: Printing to PDF without the Save As dialog
1998-11-26 -- Peter Hiemenz
 
The following describes the posibility to suppress PDF Writer's Save As 
Dialog Box

Peter Hiemenz

----------------------------------------------------------------------

_How to Bypass PDF Writer's Save As Dialog Box _
_http://www.adobe.com/supportservice/custsupport/SOLUTIONS/66ca.htm_ 
26.11.98 Support Databases
By default, Adobe Acrobat PDFWriter displays the Save As dialog box 
each time you create a PDF file, so you can specify the name and 
location of the PDF file. You can disable this dialog box, however, by 
editing PDFWriter's preferences in either the Win.ini file (Windows 95) 
or the __pdf.ini file (Windows NT) so that PDFWriter automatically 
names PDF files and saves them to a specified location. You can also 
disable the Document Info dialog box that appears by default.
Please note that you can specify only one default name and location 
when you edit the preferences file --- all PDF files you create will be 
saved with the same name and to the same location. After you create 
each PDF file, either rename it or move it to a different location. 
Otherwise, each new PDF file you create will replace an older file.
NOTE: In Windows NT, this process works only with PDFWriter 3.02 or 
earlier. PDFWriter 3.03 for Windows NT does not let you make permanent 
changes to the __pdf.ini file located in the 
Windows\System32\Spool\Drivers\W32x86\2 folder. (The __pdf.ini located 
in the Windows\System32\Spool\Drivers\W32x86 folder can be permanently 
modified, but PDFWriter doesn't refer to that __pdf.ini file.) For 
PDFWriter 3.03, you must use the Save As dialog box to specify a file 
name and location for each PDF file.
To edit PDFWriter's preferences file: 1. In Windows 95, make a backup 
copy of the Win.ini file, located in the Windows folder. In Windows NT, 
make a backup copy of the __pdf.ini file, located in the same folder as 
the PDF Writer printer driver (this is usually the 
Windows\System32\Spool\Drivers\W32x86\2 folder).
NOTE: If you have more than one Win.ini file or __pdf.ini file on your 
system, make the changes to each file. Adobe recommends that you have 
only one of either file on your system.
2. Open the original Win.ini or __pdf.ini file in a text-editing 
application that can save in text-only format (e.g., WordPad). Locate 
the [Acrobat PDFWriter] section of the file, where you'll add lines of 
text as instructed in steps 3-5. If there isn't an [Acrobat PDFWriter] 
section, create one immediately after the [Ports] section. 3. To 
automate the naming of PDF files and disable the Save As dialog box, 
type the following line and then press Enter:
PDFFilename=[name].pdf
where [name] is the name you want to use for your PDF files.
4. If you want to save PDF files to a specified location, type the path 
to that location and then
How to Bypass PDF Writer's Save As Dialog Box Seite 2 von 3
http://www.adobe.com/supportservice/custsupport/SOLUTIONS/66ca.htm 
26.11.98 press Enter. For example:
C:\Pdffiles\[name].pdf
5. To disable the Document Info dialog box, type the following line and 
then press Enter:
bDocInfo=0
6. Save the file in text-only format. 7. Restart Windows.
For more information about PDFWriter's settings, see the document 
"Acrobat PDF Writer Control Interface Specification," included in the 
Acrobat Plug-ins Software Development Kit and available from Adobe's 
Web site at http://beta1.adobe.com/ada/acrosdk/DOCS/PDW_API.PDF.
Did this document answer your question?



Printed May 14, 2024, 11:13 am
This article has been viewed/printed 35121 times.