Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Acrobat 7


Topic: RE: Does Acrobat 7 let you set a default directory?
Conf: (P-PDF) Acrobat 7, Msg: 153300
From: mbaalman
Date: 8/12/2006 02:03 AM

I have not found a way to pass in a path via code... BUT yes is can be done. It is located in the "Adobe PDF" Properties then click on the "Printing Preferences..." button.

If you have the case on want to have multiple different paths the you can simple create different registry file and then just import which ever one you need.

To create the said registry file:
=======================
Note: create a REG file for the default setting, and one
for each other setting you desire (ie different paths)
1. First set you Adobe PDF printer Properties
2. Open the Registry Editor (Start, Run, Regedit)
3. Go to HKEY_CURRENT_USER\Printers\DevModePerUser"
you will see on the right side and Adobe PDF entry.
4. Export the setting for your Adobe PDF printer
(File, Export, and give it a nice descriptive name)

To Load a REG file (ie different Adobe PDF printer settings):
============================================
Option 1 - With out any coding:
------------------------------
Simply double click on the *.reg file

Option 2 - from code (ie VBA):
-----------------------------
From in you code add the following line, where sRegFile is the
path and filename you which ever *.reg file you want to use.

Shell "regedit.exe /s /c " & Chr(34) & sRegFile & Chr(34), vbHide


* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- OR - OR - OR - OR - OR - OR - OR - OR - OR - OR - OR -
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
You could create multiple Adobe PDF printer objects, with each one of them have a unique name and their own settings and then you simply print to which ever printer you choose. This method requires more setup work up front. Then in you code you can simply print to the correct printer.


- Hope this helps. mb


PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: 2009 IRS income tax forms available for download

With less than a month to go until Americans will be scrambling to file their 2009 tax paperwork. Luckily, printable PDF versions of forms such as the 1040 can be downloaded for free from the IRS website.

March 18, 2010
Search Planet PDF
more searching options...







Download PDF Creator

PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools QuickPDF: The Unrivaled PDF Developer Toolkit

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

No upcoming events

PDF Store Categories