Setting PDFCompatibility not working when saving a file from the API
Hi,
I am trying to save a PDF file using version 1.3 compatibility using the CS3 API. I am flexible to which Action I use. Right now I am trying to use kAISaveDocumentAsAction.
According to AIPDFFormatAction.h, I can set kAIPDFCompatibilityKey to kAIPDFCompatibility13. However, that same header file indicates that these keys should be used with the kAIExportDocumentAction, not the kAISaveDocumentAsAction.
Not surprisingly, the SaveAs Action works, but saves a PDF in version 1.5 (probably not checking the kAIPDFCompatibilityKey).
I have tried using the kAIExportDocumentAction instead... However, in CS3, the Export action does not support PDF as an output type. Maybe in earlier versions this was different.
Can anyone help? Below is the current code I am using that produces a PDF, but not a version 1.3 PDF.
AIActionParamValueRef valueParameterBlock = NULL;
ActionDialogStatus dialogStatus = kDialogNone;
int result = 0;
result = sAIActionManager->AINewActionParamValue(&valueParameterBlock);
if (valueParameterBlock) {
result = sAIActionManager->AIActionSetString(valueParameterBlock, kAISaveDocumentAsNameKey, outputfilename_final);
result = sAIActionManager->AIActionSetString(valueParameterBlock, kAISaveDocumentAsFormatKey, kAIPDFFileFormat);
result = sAIActionManager->AIActionSetInteger(valueParameterBlock, kAIPDFCompatibilityKey, kAIPDFCompatibility13);
result = sAIActionManager->PlayActionEvent(kAISaveDocumentAsAction, kDialogOff, valueParameterBlock);
result = sAIActionManager->AIDeleteActionParamValue(valueParameterBlock);
Hi,
You can try to right-click and '''Reset''' the '''browser.download.lastDir''' key in [http://kb.mozillazine.org/About:config about:config].
[http://kb.mozillazine.org/About:config_entries about:config Entries]
Similar Messages
-
When saving certain files get the error "Error saving file..."
When saving certain files get the error "Error saving file..." Seems to have trouble saving the temp files. tried dumping my workspace and prefs. No change. Other files work fine.
Try deleting the iPod Photo Cache folder. For its locations see:
iTunes: Understanding the iPod Photo Cache folder -
my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help
Hey nocillado,
Thanks for using Apple Support Communities.
It sounds like you have 2 things you want to address. These articles can help you use iCloud with your existing Apple ID.
Get help activating your iPhone
http://support.apple.com/kb/ts3424
Using your Apple ID for Apple services
http://support.apple.com/kb/ht4895
Using the same Apple ID for Store purchases and iCloud (recommended)
Have a nice day,
Mario -
Thunderbolt ethernet not working when computer wake up from sleep.
thunderbolt ethernet not working when computer wake up from sleep.
it will not happen in Mountain loin.I had this problem on SL and on Lion as well, and it occures for WiFi and Ethernet connections.
In fact the internet connection was not broken as I could ping the destination usin the IP (not DNS name).
In this case the problem was related to mDNSResponder task which handles all dns queries.
It was the most frequent problem in my day to day work with SL and now Lion. It was never fixed by any patch from Apple. I tried almost all voodoo including fresh install, all possible config changes - no solution.
The only version with no problems related to network was 10.5.8. All the other versions had issues of different kind (WiFi instability (lost signal), DNS problems (for wireless and wired connection) sometimes associated with machine sleep and wake up and sometimes with no reason.
QUESTION: Is your problem independent of the access point / router you connect to.
I must say networking was (and still is) the weakest part, besides the other OS X weaknesses I experienced during 4 years of OS X usage.
No problems in the same network with Linux or Windows beeing ran natively on my iMac So hardware is OK.
Software is of poor quality. Not much more to say in this matter.
I found a very interesting article dated 1996 about programming which I think is still valid.
Link to the article: http://www.fastcompany.com/magazine/06/writestuff.html
Below the fragment (with some connection to Apple)
Software is everything. It also s***s.
"It's like pre-Sumerian civilization," says Brad Cox, who wrote the software for Steve Jobs NeXT computer and is a professor at George Mason University. "The way we build software is in the hunter-gatherer stage." -
I have Cisco TelePresence SX10 and content sharing is not working when I am dialing through the bridge, I can share the content if I drag and drop from RMX, but if schedule the call in Resource manager or manually dial in from device the content is not going to other hand, I have tried to turn off encryption as well but still same issue. can you please help me out with this. I am from Lion co and purchased sx 10 recently.
regards
HemangCan you please provide us with a little more information on your systems and configuration / topology, such as, what call control are you using (Cisco VCS, CUCM, other?). what type of "Bridge" are you using (is this a Cisco MCU, or Cisco TelePresence Server, or other device?), what versions of the software are on each of the devices, etc. The more information we have about your environment will help us assist you better. But saying that, if all your core equipment isn't Cisco, you may have more luck in the forums for the manufacturer of such equipment (ie Polycom's Support Community).
Wayne
Please remember to rate responses and to mark your question as answered if appropriate. -
Why aren't all view options available when saving a file from Adobe InDesign CC 2014 on OS X Yosemite?
ASk in the ID forum and explain better what you actually mean.
Mylenium -
My HP Pavilion dv6-2153ee recovery is not working when i choose it from boot menu selection
my HP Pavilion dv6-2153ee recovery is not working when i choose it from boot menu selection . it's run but then the windows run without running recovery. help me please?
Hello Tajamal,
Welcome to the HP Forums!
I understand the webcam isn't working since upgrading to Windows 8.1. I would have to suggest returning to Windows 8 since there are no 8.1 drivers, as indicated here: HP Pavilion dv6-7043cl Entertainment Notebook PC Drivers
Please let me know if you have any other questions.
Have a wonderful day!
Mario
I worked on behalf of HP. -
my sistem preferences are not working, when I try to change the photo of the desk It stop working, what can i do? I'm dieing cause I'm afraid
Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears?
-
i've noticed a touch ID only works with my iPhone six is not plugged into the wall was soon as I plug it in it doesn't work anymore doesn't even register fingerprint.
Charger60 wrote:
i
Touch ID in my iPhone six does not work when it's plugged into the wall is anybody else having this problem?
No. You are the only one. The way I know is that I don't have the problem, therefore no one else can have it.
Seriously, no matter what problem you have, with a half billion iPhones in use, someone else will have the same or similar problem. So knowing that doesn't help solve it in the slightest. As it's new and still in warranty I would take it to an Apple store. Make a genius bar appointment first so you won't have a long wait. -
My iphone is not working when i plug off from charger.
My iphone is not working when i plug off from charger. Evenmore when it is on the charger and it still not working, it asks to connect to i-tunes but i can't and i can see only emergency calls. What should i do?
If it only works when connected to a charger, that would indicate a battery issue.
As for the other issue... do as it suggests and connect to iTunes then restore. There is no logical, intelligent expectation that anything on the device can be accessed as long as the "Connect to iTunes" screen is displaying. -
When selecting a menu item I used to click the left mouse button and hold it down, move the pointer to the desired menu item and release the mouse button. Everything works fine in the mine menu, but there's a problem when adding new adjustment layer from the layer panel: when I release the button nothing happens, I have to press the button again. In previous PS version it worked fine. How can I fix this?
I don't think that is user fixable, meaning you'll have to wait till adobe fixes it with an update.
Photoshop cc 2014
windows does not work
mac does work
Did you already post over here:
[Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel -
Current CS6/Cloud user but have not been able to process my NEF files from the new Nikon D4s camera. Any idea on when and if a patch or new plug-in supporting this camera will be available?
Support for the Nikon D4S has been added to the forthcoming Camera Raw 8.4 which is currently in a late stage beta (formally called Release Candidate).
https://blogs.adobe.com/lightroomjournal/2014/02/camera-raw-8-4-rc-and-dng-converter-8-4-r c-now-available.html
You can download it now and take it for a spin. Does not work on Mac OS X 10.6.x, Windows XP or Vista.
CC: http://labs.adobe.com/technologies/cameraraw8-4-cc/
CS6: http://labs.adobe.com/technologies/cameraraw8-4/ -
Vision Builder 2010 Active time not working when calling Vision inspection from testand 2010
I have an issue where I am timing a flashing light using the active time variable, when I run the inspection from the inspection view everything works, however when I run it from the configuration view or by calling it through teststand 2010 with the Vision Vi's the Active Time never changes from 0.00000.
I do not need precides timings so I am NOT worried about the +/- 20ms from the windows system clock.Hi Ryan,
Can you read any of the other variables using the Get Inspection statistics VI? Is it only the Active Timer that doesn't change?
Cole R.
National Instruments
Applications Engineer -
"Bad data format" when reading txt file from the presentation server
Hello,
I have a piece of code which reads a txt file from the presentation server to an internal table like below:
DATA : lv_filename type string.
lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
EXPORTING
FILENAME = lv_filename
CHANGING
DATA_TAB = lt_tsd. " lt_tab has the exact same fields as the Test.txt's. Test.txt has only one line, tab delimited.
When running this code, exception BAD_DATA_FORMAT is issued.
Is it because of the file encoding or delimiter or other reason?
Thanks,
YangHello,
If its tab delimited then use the has_field_seperator parameter and check
DATA : lv_filename type string.
lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
EXPORTING
FILENAME = lv_filename
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = u2018Xu2019
CHANGING
DATA_TAB = lt_tsd.
Vikranth -
Bug Report: "View PDF After Saving" Does Not Work When Saving as Photoshop PDF
The saved PDF file is not opening in Acrobat after saving a file as a Photoshop PDF. I noticed it happening a few times in earlier beta testing, but today it happened again.
I have Adobe Acrobat Pro 10.1.2 installed on MacPro with Lion OS 10.7.3. Photoshop public beta m415. System info can be provided if needed.
The file I was trying to save was about 8 MB. Once it failed to open after save, I tried varied PDF settings and save locations. Also tried several different files. All were saved properly as PDF files, but would not continue to open in Acrobat as previous versions have done. The files open properly when you click on the file names in saved location.
3153152
3153152I'm happy I could help and feel a bit proud to have found a real bug. The simplest work around is just clicking on the file list once it's done...that's certainly not a problem.
Larry
=====================================
Larry Guyer
A la Carte Digital Studios
Archetype Digital Imaging Alliance
P.O. Box 4365
Foster City, CA 94404-0365
650-348-2525 office
323-372-1669 fax
650-444-7100 cell
www.alacartedigital.com
www.archetypeimaging.com
Maybe you are looking for
-
Stock in transit for a particular date
Hi all, How to find the stock in transit for a particular date. In MB5T date option is not available. Is there any other way or i need to gofor Z development. Kindly help me in this regard. Regards KK
-
Need to Check whether the program is Active or not
Is there any statement where i can check whether the report program is Active or not. Using below statement i am copying the entire Code in internal table it_source.Before copying in the source code in the internal table it_source.I need to check
-
Can't get rid of account icon photo in mail header area
How can I get rid of the thumbnail photo icon in the mail header area when I send an e-mail in Mail? It is one of the supplied icons that is in system preferences for "accounts", to distinguish my account from my wife's on our iMac G5 (10.4.10). I re
-
Why is the youtube app missing from iOS 6
I recently upgraded to iOS 6 on my iPad & iPhone 4S. I noticed that the YouTube app is missing. Pls advise on why this is happening?
-
EMac/iMac tiger installation dvd
Can the Tiger DVD installation discs of an iMac or eMac be able to be installed on a G4 Powermac running Panther, please? Thanks in advance G4 Silver Mac OS X (10.3) Dual OS9 & OSX