Printing PDDoc with AFExecuteThisScript() doesn't work after an upgrade from SDK 5 to SDK8

Hello,
I have made an upgrade of my plug-in which was developed with the Acrobat 5 SDK. I upgrade it to Acrobat 8 SDK and my print function doesn't work anymore.
Actually I print my document using a javascript trusted function instead the function provided by the C++ library for internal reason.
Here below is the code used to print my document :
char szJavaPrint[6000];
sprintf(szJavaPrint,
"pp = this.getPrintParams(); \r\n"
// fill pp with parameters
"pp.interactive = pp.constants.interactionLevel.silent; \r\n"
"\r\n"
"this.trustedPrint(this, pp);"
PDDoc pdDoc = AVDocGetPDDoc(avDoc);
AFExecuteThisScript(pdDoc, szJavaPrint, NULL);
It was working with the Acrobat 5 SDK but the print seems to have no effect using the Acrobat 8 SDK. I know that there is a change between Acrobat 5 and 8 concerning the Character Set (currently I set the Character Set to "Not Set" in the Configuration Properties of the project) but I don't think that my problem comes from the Character Set.
All ideas to resolve this problem are welcome.
Kind regards,
Joe

See what happens if you remove the "setting of interactive to silent"...
There is a restriction on silent printing in Acrobat, but I would not have expected that to be passed into this method - but it could have been overlooked and be a bug.
Also, I don't recall a trustedPrint() method in Acrobat JS - check the documentation for the correct name of this function...

Similar Messages

  • Dreamweaver doesn't work after Yosemite upgrade.

    Dreamweaver doesn't work after Yosemite upgrade, it asks to install Java Runtime SE 6, I've tried that, I've also installed latest Java and it still won't boot, keeps asking for for Java Runtime SE 6

    You need http://support.apple.com/kb/DL1572
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Fit the window with mouse doesn't work after new update 10.9.2

    Hi, I could fit a windows using my mouse wheel or two finger(on trackpad), doesn't work after I set up new Mavericks update(10.9.2) I'm using Haswell rMBP. Can anyone help me please? Thanks a lot. (Also, minimize with mouse wheel doesn't work too.)

    Doesn't anyone having this issue?

  • TX2500Z touchscreen does not work after Windows7 upgrade from HP specific to S/N, etc on laptop.

    My TX2500Z touchscreen does not work after I upgraded to Windows 7. I cannot find any support or drivers, etc. to fix.  I bought Windows 7 directly from HP specific to my P/N and S/N on my TX2500Z.  Any help? Thanks.

    after 2,5 days (spending half a day within the apple shop as well with this problem) i have it all back on track.
    i did a lot of different things: trying to remove and reinstall iPhoto; did a SL installation over the old SL I had on my HD; backing up all the data of course before and reformatting my HD and installing a new clean SL version on it + a new clean version of iLife9 with all the updates and than I migrate with migrate assistant all the data and setting with time machine back onto it, but all this didn't work, because it also migrated the error/bug through time machine with it.
    so at the end i just installed a brand new, clean SL version on my hard drive, than I did the updates and put all my data, photos, docs, movies, mail, bookmarks, music, etc manual back into the system (drag and drop from my external HD, where i had an exact copy of my internal HD) and did all the settings again in all the different programs.
    the only thing i used migrant assistant with time machine for was for the programs. it seems to work now all fine and i even got more free space on my HD, because some of the old stuff i always carried with me but i never used, i didn't take over.
    basically everything is clean now. At least i hope and works fine. touch wood!

  • Why the wifi doesn't work after the upgrade to iOS 5?

    The problem is that after the upgrade to iOS 5 the wifi doesn't work. I mean, iPad is connected to the wifi but not to the internet and also the connection on the other device doesn't work. So I had to turn off the router and then turn it on.

    Try a hard reset first to see if that does any good.  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
    If no luck with that, you'll need to manually connect your iPod to your iTUnes library in recovery mode using the instructions in the Apple support document below. Doing so will allow you to bypass the passcode and restore the iPod.
    iOS: Unable to update or restore
    B-rock

  • Facetime and iMessage doesn't  work after I upgrade to iOS5.0

    The Facetime was working well with iOS 4.3.5  but after I upgrade to iOS 5, the Facetime can't work  on my ipodtouch 4G  It always failed
    Does anyone have this issue too?

    similar problem - after upgrading my itouch to ios5 it says my email is already in use and cannot setup imessage and facetime.  Had to reset the itouch and still didn't work.  any suggestions?

  • IPhone doesn't work after installing upgrade

    Upgraded iPhone and now it doesn't work. I have a black screen with the apple logo and white line - that's all. It doesn't respond to even the power button.

    Try resetting the App Store and Clearing Cookies.
    Reset       Learned from Old Toad
    App Store support. There is troubleshooting and a contact link.
    Support
    Time Machine
    Inherit a Backup
    Inherit a Backup (2)

  • E-mail notification doesn't work after software upgrade

    Based on the recommendation of a sales rep; I did the software upgrade yesterday and have had nothing but problems.  All the e-mail accounts didn't work.  So I spent an hour getting my e-mails setup and guess what?
    Even though I have it setup to check every 10 minutes; it doesn't work.  I have to manually go to each account and click on the 2 arrows to check.  I used to get a flashing blue light on my phone when I had a new e-mail; now I don't.
    What's going on???????????????

    Hi, I did all you mentioned but still same error messages
    Oct 25 14:16:42 xxx /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[16427]: Using primary internal av scanner code for ClamAV-clamd
    Oct 25 14:16:42 xxx /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[16427]: Deleting db files __db.001,__db.002,__db.003,__db.004,nanny.db,snmp.db in /Library/Server/Mail/Data/scanner/amavis/db
    Oct 25 14:16:42 xxx/Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[16427]: Creating db in /Library/Server/Mail/Data/scanner/amavis/db/; BerkeleyDB 0.54, libdb 4.7
    Oct 25 14:16:43 xxx /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[16427]: initializing Mail::SpamAssassin (0)
    Oct 25 14:16:43 xxx /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[16427]: SpamAssassin debug facilities: info
    Oct 25 14:16:43 xxx /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[16427]: (!!)TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?
    Suicide () TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?
    I removed all spam filters and mail works without, which is not so good but seems to be the only way at the moment.
    Any other idea or should I just reset the whole installation?
    Thanks for your feedback.

  • ITunes Not Working After Windows Upgrade from Vista to 7

    I recently upgraded a laptop from Vista to 7.  iTunes 7.x was installed before the upgrade.  As soon as Windows 7 was insatlled I upgraded to the lates version of iTunes(10.x).  After the upgrade I had some issue where I was getting an error about artwork and iTunes would not open.  I renamed the artwork folder to old and then I was able to get into iTunes.  The next problem that I am running in to is that any time I click on a task such as find music iTunes stops responding and crashes.  I've tried new config files, completely uninstalling and reinstalling, clean booting, etc. with no luck.  Anyone have any suggestions?

    I've been working on this issue for 2 days with no luck.  Still looking for a solution if anyone has one.  Thanks!

  • BB Curve 3G doesn't work after OS upgrading to OS6

    Hello, I have a BB Curve 3G with OS 5 and after installing the upgrade to OS 6, It does not work anymore. It restarts with the logo of the network operator and that is it. It blocks on the logo of the carrier. I tried to repair it by re connecting it to desktop software but it doesn't recognize it! Is there any solution?
    Thank in you advance

    Hi diaddin_h
    Welcome to BlackBerry Support Forums
    Which Device do you have ? I think your Update process was not successful. Which method you tried to update your device software ,is it by Desktop Software or Over the Air Update ? 
    Now As your device is not recognized so you have to use the Application Loader to force the detection of your device and load the OS back.But remember in this process you will loose all data within your device .I hope you have your device Backup or if you are using BlackBerry Protect you can restore it later on .Please follow this Knowledge Base  for further Instructions :
    KB10144  : How to force the detection of the BlackBerry smartphone using Application Loader
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Satellite L300 - webcam doesn't work after BIOS upgrade

    I recently upgraded BIOS to 2.2 and the webcam has stopped working. It disappeared and there is one unknown device in the device manager in the universal serial bus controller.
    I tried everything even with new clean fresh Vista OS but nothing like there is no webcam I installed the drivers but not recognized so I would like if I can to downgrade BIOS to 1.5 and to fix the webcam. If I can cos I need it. Is that possible?
    Tnx

    Hi
    I dont think its BIOS issue.
    First of all the unknown device (webcam) appears in the device manager and this means that an device has been recognized by system and BIOS.
    The only reason why its listed as unknown devices is: the driver is not installed properly.
    After BIOS update you have to set the BIOS back to default. Access BIOS pressing F2 and within the BIOS you can use the button F9 to set it to default and F10 to save the changes.
    After that you should boot up the unit and should go to device manager.
    Mark the unknown device and delete it from the list (if possible)
    Go to control panel -> software and check the software list for webcam software (from chicony). Uninstall this software if its part of the list.
    Now reboot the notebook.
    Clean the OS using CCleaner and install the correct webcam software for Vista. Note: please pay attention to 32bit or 64bit version.
    If the installation would fail, try the Toshiba recovery disk and set the notebook back to factory settings.
    By the way: BIOS downgrade is not possible because the old BIOS is not downloadable.

  • Password doesn't work after iOS upgrade

    I upgraded my iPad to the latest iOS version, and now my password to unlock it no longer works. Has anyone else had this problem? How do I unlock it now?

    BTW, correct password hint is there, just doesn't access computer.

  • Authentication doesn't work after SL upgrade

    Hi,
    This week I finally decided to upgrade my Mac Mini from Leopard to Snow Leopard, but it seems something went wrong. The authentication prompt that asks you to submit user account and password whenever you want to install stuff is not showing up anymore. Installation processes terminate without any notice and updates don't work with the message 'Failed to authenticate'. I've tried to edit my user preferences, but the Users pane is locked, so I can't do anything to change it.
    Could someone help out?
    Thanks,
    Martijn
    Utrecht, Netherlands

    Ah, thanks to the tags I came to this item. It seems to do the trick...
    Move along now, nothing to see here... :-)

  • OS X Screen Sharing doesn't work after Mavericks Upgrade

    I have upgraded my 3x machines to Mavericks and Screen Sharing no longer works.  I have tried this with and without firewalls on.  File Sharing works but Screen Sharing will say connecting for a LONG time and then say that it's not enabled and to go turn it on...
    help?
    - MacMini - late 2009
    - MacMini - mid 2011
    - MBA - mid 2012
    I have seen a couple people talk about this as well, but wasn't the same thing..

    I believe this is the easiest way to resolve any screensharing issues in MacOSX: Solution: Reset the computer list in Screen Sharing. To acomplish that install OnyX. By the way a great tool for your Mac maintenance.
    Go to Cleaning>Misc. and
    check My Computers list in Screen Sharing.
    Press Execute and wait until it finish.
    Restart your computer.
    I hope this helps.

  • Wifi doesn't work after Yosemite upgrade

    I upgraded to Yosemite.  Now Wifi connects and immediately disconnects.  Chatted with support and none of the proposed fixes work.

    See http://forums.macrumors.com/showthread.php?t=1802327

Maybe you are looking for

  • Plot multiple days of realtime data on a wavechart

    I have real time data from a weather station that I need to plot. I have made wavewcharts of the the data and it plots on 2 min interval (the sampling interval of the incoming port) then I would like to have plots with 7 days of data on them. past 7

  • Jsp email

    Like response.setContentType("application/vnd.ms-excel");      response.setHeader("Content-disposition","attachment;filename=\"excelfilename.xls\";"); (i use this scriptlet inside jsp) is used to save to excel is there a way to email the jsp form to

  • Output type for gr/gi slip

    Dear all, I have done GR for two line items in MIGO and i have ticked the printing for gr/gri slip in general tab of hearder. But if i go and check the MB90 for the print , system show only one line item GR/GI slip. What may be the case , i missed .

  • WP8.1 Playing audio in background from http widget

    Hi, I'm building an app for one of music platforms. I want to add to my app playing music function from that platform with SystemMediaTransportControls. The problem is that playing music can only be controlled by http widget. There is no direct strea

  • Oracle Lite & CF 2

    Hi Does Oracle Lite work with an C# CF2 PocketPC Application ? And what about licensing? Is it free or will it cost something ? Thanks for helpand informations!