UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Assigning Path and File Name?    
 
   
Mink
post Jan 31 2005, 01:57 PM
Post #1

UtterAccess Veteran
Posts: 430



Using the information at The Access Web I was able to finally get the report to print out as pdf without having to install anything that doesn't already exist on all the computers in our network. However when using the code I am prompted with a box to select the destination and name the file. Is there a way to set that in the code so that I can bypass this box? And also can I supress Adobe previewing the file after printing it?

The emailing of the file is supposed to be seamless. I wish to save the file to a temporary directory, then mail it. After mailing it I will kill the directory and the file.

All help is appreciated!
Mink
Go to the top of the page
 
+
Mink
post Feb 1 2005, 08:05 AM
Post #2

UtterAccess Veteran
Posts: 430



Can anyone help with this?
Go to the top of the page
 
+
Mink
post Feb 1 2005, 08:53 AM
Post #3

UtterAccess Veteran
Posts: 430



QUOTE
In your Winini file, add a section like this, if it doesn't already exist:
[Acrobat PDFWriter]
PDFFilename=C:\(path)\pdftemp.doc
bDocInfo=0

If this section does not exist, create it. Put it right after the [Ports] section. The file name line will get your path and pdffilename; the bDocInfo line sets a switch so that you won't get the dialogbox when you print to pdf.


That apparently is what my problem is. I cannot alter the win.ini file on my system, I do not have that kind of permission. And though I can ask my techies, there are very many computers on my network that would have to be changed. Is there a way to change this programatically?
Go to the top of the page
 
+
MaryN
post Feb 10 2005, 06:16 PM
Post #4

New Member
Posts: 1



Mink, did you ever find a solution to your problem? I'm in exactly the same boat right.

Mary
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 25th May 2013 - 12:45 AM