#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
Try ChDir to change the default folder location
|
#3
|
|||
|
|||
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. |
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 |