Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
smde@adobeforums.com #1
trouble with saveAS
I am having a problem with a javascript function.
I can save as a Tiff with no problem -
but now I would like to have another option that allows my users to save data as a PDF file.
I can't seem to get it to work for a PDF file.
The save as TIFF syntax - works fine ..
CODE SNIPPET HERE !
<this.saveAsFile,"com.adobe.acrobat.tiff"); >
I have tried leaving out a conversion that doesn't work .
I have tried preflight conversions - they don't work - bcause the preflight dll is non-existent .
is there an easy solution that I am overlooking ?
smde@adobeforums.com Guest
-
Compression when SaveAs PDF to Tiff
My adobe versions are 8.1.2. The code works fine in 'debug' mode, however when running the compiled code, the converted image has a compression of... -
saveAs from JSObject in browser
I am currently attempting to use IAC to run the saveAs from the JSObject in Adobe 5.0 to save a copy of a .pdf. My code will successfully save a... -
SaveAs txt file with VB6
Using Acrobat 5 & VB6. Want to programmatically "SaveAs" a pdf to txt file. I can do it in Acrobat but can find no "SaveAs" method exposed... -
COM excel SaveAs - Web Page?
Hi, I am trying to allow my Intranet users to upload their Microsoft Office Documents and then have them viewed as .html files. So far,... -
Interop saveAs html automation
Hello ppl... 1) i've finally got my automation launched correctly.. but this time i wanna know how to close my winword.exe process which... -
PDL@adobeforums.com #2
Re: trouble with saveAS
Well, the syntax for saveAs in Acrobat JavaScript is actually
this.saveAs(path, conversionID)
So try that syntax, unless you have a folder-level function defining "saveAsFile", in which case we'd need to see that function to know what's going on.
PDL@adobeforums.com Guest
-
smde@adobeforums.com #3
Re: trouble with saveAS
I am actually already using htis command and it is working for the TIFF conversion - but in the case of saving as a PDF - I do not know what conversion to use -
smde@adobeforums.com Guest
-
smde@adobeforums.com #4
Re: trouble with saveAS
Typo in original post shoud read as :
<this.saveAs(File,"com.adobe.acrobat.tiff"); >
Sorry .
smde@adobeforums.com Guest
-
PDL@adobeforums.com #5
Re: trouble with saveAS
Just using
this.saveAs(file);
with no conversion ID works for me. The file you're trying to save as a PDF is already a PDF, right?
PDL@adobeforums.com Guest
-
smde@adobeforums.com #6
Re: trouble with saveAS
Yes - thanks - PDL -
apparently it is an overloaded function - and I was thinking that it always needed two arguments.
It works fine - thanks
Cheers
smde@adobeforums.com Guest



Reply With Quote

