Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2004

Tip: Looking for answers? Try searching our database.

Print as Adobe PDF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Hammond - 12 Nov 2004 17:19 GMT
I want to send a file to print as a PDF document.   This
works fine except when the dialog pops up to name the
file.   I can't seem to fill in the box.   I've tried a
sendkeys command using the results of an input box with
no luck.

Any ideas?

TIA,

Paul Hammond
Richmond, VA
Steve Rindsberg - 13 Nov 2004 16:38 GMT
> I want to send a file to print as a PDF document.   This
> works fine except when the dialog pops up to name the
> file.   I can't seem to fill in the box.   I've tried a
> sendkeys command using the results of an input box with
> no luck.

1) Assuming you're using Adobe PDF (or the earlier Acrobat Distiller) driver,
you can set it up not to ask for a file name;  it automatically creates a new
name for the PDF based on comments the source app puts in the PS output.  

Give it a try.  It's nice and simple but not always acceptable for several
reasons.  

2) You can print to a PS driver and send the results To File then
programmatically invoke Distiller to convert the PS file to a PDF.  This was
fairly simple to do and documented by Adobe and others for versions through
Acrobat 5.  Adobe broke it with Acrobat 6 and doesn't document the changes;  
they want you to sign up for their developer program to get documentation.  

3) Print to PS and use GhostScript instead of Distiller.

Signature

--
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com

================================================
Paul Hammond - 16 Nov 2004 22:44 GMT
You wrote:

1) Assuming you're using Adobe PDF (or the earlier
Acrobat Distiller) driver, you can set it up not to ask
for a file name;  it automatically creates a new name for
the PDF based on comments the source app puts in the PS
output.  

***************

You assumed correctly and this worked sufficiently.  I
can fiddle with the file name and location.   Thanks for
your excellent post(s).

Paul
Steve Rindsberg - 17 Nov 2004 01:55 GMT
> You wrote:
>
[quoted text clipped - 9 lines]
> can fiddle with the file name and location.   Thanks for
> your excellent post(s).

Glad to hear it, Paul ... thanks.

Signature

--
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com

================================================
Steve Rindsberg - 13 Nov 2004 18:03 GMT
> I want to send a file to print as a PDF document.   This
> works fine except when the dialog pops up to name the
> file.   I can't seem to fill in the box.   I've tried a
> sendkeys command using the results of an input box with
> no luck.

Ooops.  One more:

4) You might be able to use Distiller's Watched Folders feature to
automatically distill PS files that you programmatically print to a watched
directory.  This used to be fairly easy to set up;  in Acrobat 6, the watched
folders feature seems to have become a lot crankier than it used to be.  

Signature

--
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com

================================================

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.