The most effective solution I have found is to write a COM-enabled plug-in and call it to print to a specific printer.
You need to have Acrobat (not Reader) unless you have the budget to buy a Reader key for your plug-in.

Souza, Rodney wrote:
PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Hi,
Funny thing is that I am working on the same problem. I looked into setprint
of winspool.drv and writing a COM object I can call to set the default
printer. I didnt' see anything in the PDF SDK to set an active printer. You
could always use another application like Word to set the default printer
and then close the word app when done.
If you find a good solution let me know.

R

-----Original Message-----
From: Feng Yang [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 18, 2003 4:23 PM
To: [EMAIL PROTECTED]
Subject: [PDFdev] Pick Printer from Acrobat



PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Hello,

I want to send certain pages from Acrobat to one particular printer, and
some other pages from Acrobat to another printer. How can I get this
done by code? The following are two possible ways might get this done:

First, try to change the default printer for operating system.

Second, pick the activeprinter throught the Acrobat program.

The questions I have are:

I have to get the code done from Excel VBA.

Is there any way I can access the Registry, and change the value through
Excel VBA? I know I can do it from Visual Basic. But Excel VBA???? 

>From Acrobat, is there anyway to pick the activeprinter by code?

If you have better solution, please!!!!1 Thank you.

Feng

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

  

--
Alastair J. Gregory
IPMS, Inc.
45945 Center Oak Plaza
Suite 140
Sterling, Virginia 20166
(703) 421-5500
[EMAIL PROTECTED]

Reply via email to