Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2009, 02:10 PM
DaveB DaveB is offline
Novice
VbScript to Print a .pdf
 
Join Date: Feb 2009
Posts: 1
DaveB is on a distinguished road
Default VbScript to Print a .pdf


I'm trying to print a .pdf file using the .printout method. I've been able to call the .pdf printer using this method and it will allow me to select the directory and filename so long as I set the print to file attribute to false. It appears to work when I specify a filename and set the print to file attribute to true. However, it looks to have a default directory location which I haven't been able to locate. Is there a way to specify the desired directory path prior to calling this method?
Reply With Quote
  #2  
Old 02-20-2009, 03:04 PM
caholmes caholmes is offline VbScript to Print a .pdf Windows Vista VbScript to Print a .pdf Office 2007
Advanced Beginner
 
Join Date: Dec 2008
Location: Sydney, Australia
Posts: 54
caholmes is on a distinguished road
Default

Try ChDir to change the default folder location
Reply With Quote
  #3  
Old 03-07-2009, 12:36 PM
thhui thhui is offline VbScript to Print a .pdf Windows 2K VbScript to Print a .pdf Office XP
Novice
 
Join Date: Mar 2009
Posts: 6
thhui is on a distinguished road
Default

You should figure out what the path is .

I give you hints:-
You open the excel file and then save it in pdf file.
Then use the windows explorer to search your whole harddisks the today *.pdf file.
Finally, you would know what the location is.

Otherwise, just change the setting of the pdf printer to prompt you the location during printing.
Reply With Quote
Reply

Tags
print a .pdf, print using vbscript



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print what you really want Rkramkowski Project 2 06-20-2023 03:49 AM
Can I Print Without 'Tracked' Changes? abrogard Word 2 01-25-2009 07:13 PM
How to print a booklet kafka Word 4 01-15-2009 12:41 PM
can't print edge tonybozz Word 1 03-23-2008 03:58 PM
print setup alkey Excel 1 02-09-2007 06:47 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft