Récupérer page active du PlugIn Acrobat Reader en JS

Bonjour,
je suis actuellement en train de développer une application en PHP/JS pour mon boulot. Et elle va devoir travailler avec des fichiers PDF.
J'ai trouvé cette source sur internet (voir ce lien) qui permet de piloter le plug-in Acrobat Reader en JS.
Je voulais savoir maintenant si vous pouviez m'aider pour récupérer le numéro de la page qui est actuellement active ?
Vous pourrez retrouver dans l'exemple le pdf qui permet de faire les automations OLE, mais je n'ai pas réussi à comprendre la logique du bidule.
En gros il me faudrait récupérer un objet PDPage mais je ne sais pas du tout comment faire !
En vous remerciant par avance.

Pour tout ce qui est des scripts en js, je vous recommande l'excellent site abracadabrapdf qui devrait savoir répondre à vos questions les plus pointues.

Similar Messages

  • How do I open a pdf on a web page in Safari without Acrobat Reader?

    At the moment I have removed Acrobat Reader 10.3.1 because it conflicts with Safari. Preview is a perfectly fine pdf reader (and with lots of very nice features) but I don't see how I can make Preview open a pdf from a web page until it has been downloaded to file. And I have found at least one site that will not download to file before opening.

    Right-click in the PDF when it's displayed in Safari and select Open with Preview from the popup menu. Depending on how the PDF is embedded in the web page, this may not be possible.

  • Single page view mode in Acrobat Reader on android

    Is there a way for a pdf to dictate the view mode used in Acrobat Reader on a smart phone? By default I believe  it is set to continuous however I would like it to automatically change to single page when my pdf is opened.

    Mark -
    You are correct.
    In Acrobat Reader on my PC, I'm highlighting text and then adding a sticky-note comment to it.
    So, if I just insert a sticky note comment without highlighting the associated text in the document, I can see the sticky note when I view the document on my android device - - just tested this and it works!
    OK - I can live with that, but it would be good if the combination of highlighting AND sticky notes were visible when viewin the document in Android - the highlightimg feature makes it clearer to what piece of text the sticky bote relates to. Hope it can be incorporated in a furure release.
    Thanks for clarifying the situation for me.

  • Synchronising screens of Pages and Acrobat Reader (Parallel scrolling)

    Is there a way to synchronise scrolling between two applications (Pages on one side, Acrobat reader on the other) so that with one mouse I scroll down the both simultaneously ?
    I'm reading a PDF and reading in the same time the same text on Pages.
    Thx
    D.
    PS : my apologies for my englih - French guy talking here.

    All your problems seem to stem from the PDFs that you are making from Bridge.  What you are describing should be perfectly possible, but the fact that Bridge doesn't want to make a PDF with more than 400 photos and it all goes downhill from there makes me suspect Bridge.
    Here's a plugin that may help?  Looks pretty cheap for what it does.
    Apart from that I'd try to clean up the PDFs that Bridge is producing if Indesign doesn't like them.  One way would be to print to a new PDF, after you've combined them as necessary.
    As to the last pronlem you mention, where it forces you to place on page 226, have you tried creating a blank page 227 first, before you try placing?

  • Acrobat Reader X stores PDFs in Temp-folder even when HTTP-headers say no-cache no-store

    After updating from Acrobat Reader 9 to 10 we have noticed that PDFs viewed in the browser are left behind in the Temp-folder even after the browser has been closed.
    Http-headers in the response from the server
    Cache-Controls: no-cache,no-store,max-age=0,post-check=0,pre-check=0
    Content-Type: application/pdf
    Content-Disposition: inline; filename="xxxxxxxx.pdf"
    Expires: 0
    Pragma: no-cache
    Folder: [User-folder]\AppData\Local\Temp
    Filename-format: PDFxxx.tmp
    Browsers: Firefox 3.6, Opera 11, Safari 5
    Plugin: Acrobat Reader 10
    Simply add a .pdf extension to the file and open again in Acrobat Reader. Since the server has set headers indicating that this PDF should not be stored locally, it is a severe security hole leaving traces of this PDF on the filesystem.
    Is this a problem Adobe is aware of? When can we expect this to be fixed?
    Regards,
    Gustav

    Hi Michael,
    Thank you for you quick response!
    In Acrobat 9, I cannot find the PDFs in the Temp-folder after the browser has been closed.
    In Acrobat 10, PDFs are left behind in the Temp-folder even after browser close.
    To me, this looks like a bug in Acrobat 10. Would you not agree?
    Regards,
    Gustav

  • Acrobat reader plugin displays last page in IExplorer

    For some reason, when I open a PDF using IExplorer, the acrobat reader displays the last page of the PDF document (instead of the first page). Not sure why this is happening, because it works ok when I use other browsers (like firefox, chrome and opera). Is this a plugin error?
    The PDF version is 1.2 (it seems not all the PDF documents behave this way). I tried to change the document version using a third party java library and Adobe professional, but it didn't work.

    IF that were entirely true, then the whole purpose of this thread is moot (automating printing server side). It is possible to load the file via URLs using the following html code:
    "<"body>
    "<"OBJECT id="pdf"
    type="application/pdf"
    width=800
    height=600 >
    "<"param name="src" value="http://localhost/pdfs/vorder_nc.pdf"/>
    "<"/OBJECT>
    "<"script language="JavaScript">
    function waitLoad()
    setTimeout("printFile()",2000);
    function printFile()
    var objPdf = document.getElementById('pdf');
    objPdf.PrintAllFit(1);
    "<"/script>
    "<"/body>
    So, if I used php or some other scripting language on the server to fill in the name of the pdf, I can load it via a URL, wait a couple of seconds for it to load, and then print it without user interaction. I wish that the LoadFile method would load a URL so that when it returns, I know it is loaded and I don't have to put faith in a timer that may not be enough for a large file.
    This is the situation I'm in. This way works but I don't like the timer. I'd rather have the plugin let me know when it's loaded. Is there another method that can help me do what I want?
    Thank again.

  • Bonjour j'ai réinstaller windows 8.1, je n'arrive pas à récupérer mes anciens marque page etc qui étaient pourtant synchronisé

    J'utilise depuis plus d'un an firefox sur différents appareil smartphone, tablette android, un pc et un pc portable, mon portable s'est planté grave, j'ai réinstallé windows 8.1 et firefox (je crois que c'est la nouvelle version) je me suis connecté à sync avec mes coordonnées, mais je n'arrive pas à retrouver mes marque page etc sur le serveur (comment dois-je faire)?
    Je ne trouve nulle part une façon de récupérer les données du serveur

    hello anddvl, firefox 29 has introduced a new sync system which isn't compatible with accounts set up in prior versions.
    in this case you'd probably have to use a workaround and first download the prior firefox 28 version and disable automatic updating for the moment (in options > advanced > update): [[Install an older version of Firefox]]
    then try to link your restored windows 8.1 pc to the old sync account by using a pairing code generated by one of your other devices, which are still connected to the old account.
    after you have successfully restored your data this way you can upgrade to firefox 29 and probably also switch to the new sync system on all of your devices: [[How to update to the new Firefox Sync]]

  • Bjr, Problème IPHOTO : j'ai voulu supprimer une page d'un livre et c'est tout le livre qui a été supprimé. Il n'apparait plus. Comment le récupérer ?

    Bjr, Problème IPHOTO : j'ai voulu supprimer une page d'un livre et c'est tout le livre qui a été supprimé. Il n'apparait plus. Comment le récupérer ?
    MacBook Pro Mac OS X 10.5.8 (9L31a)

    Google translation
    Bjr, iPhoto Problem: I wanted to delete a page from a book and this is the book that has been deleted. It no longer appears. How to get it?
    MacBook Pro Mac OS X 10.5.8 (9L31a)
    The only solution is to restore your backup from before you deleted the book - there is no other way to restore a book
    LN

  • Comment récupérer la licence définitive

    Bonsoir,
    J'ai un abonnement à Creative Cloud et j'ai donc installé la version d'évaluation qui va arriver à échéance.
    Je voudrais enregistrer la licence définitive qui est en date d'anniversaire le 12 avril 2016 mais je ne vois pas comment la récupérer.
    Pouvez-vous SVP m'aider à récupérer cette licence ?
    Merci d'avance
    Cordialement
    B LAPISARDI
    [link removed by moderator]

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Bonjour, j'ai acheté le jeux "qui veux gagner de millions en HD" pour la somme de chf 5.-, je ne le retrouve plus depuis que j'ai fais la mise à jour sur iOS 5.0, comment dois-je faire pour le récupérer ?

    Bonjour,
    J'ai acheté derniermement le jeux "Qui veux Gagner des millions HD"
    Depuis la dernière mise à jour, je ne le retrouve plus, vous avez debité ma carte de crédit de CHF 5.-.
    Merci de me dire comment dois-je faire pour récupérer mon jeux?
    Laurent Schwob
    Moto Call Services Sàrl.
    Laurent Schwob
    Gérant
    Tel: +41789362428
    Mailto: [email protected]
    www.motocallservices.

    Bonjour Laurent,
    premièrement vous pouvez utiliser: http://helpx.adobe.com/fr/x-productkb/global/find-serial-number.html et éventuellement là
    http://helpx.adobe.com/fr/x-productkb/global/find-serial-number.html#a dobeproductdownload
    Aussi possible également de contacter Adobe à la page suivante:
    http://helpx.adobe.com/fr/support.html > Aide de photoshop > Choisissez un sujet ... > ... (J'avais choisi Utilisation ...) > Je encore besoin d'aide ... > Chat
    Veuillez utiliser le chat (si un agent est disponible), j'ai eu les meilleures expériences.
    Peut-être que vous avez obtenu un "numéro de série" d'Amazon (ou similaire). Ce n'est pas un numéro de série, seul un code avec lequel vous pouvez demander un numéro de série à partir d'Adobe. Ici, vous devez passer par "Adobe Store", et recherchez le bouton "Serial Demande de numéro". Remplissez le formulaire et, après un certain temps, vous obtiendrez un numéro de série "réel".
    Il pourrait être nécessaire d'activer/désactiver s'il vous plaît jeter un oeil là:
    http://helpx.adobe.com/fr/x-productkb/policy-pricing/activation-deactivation-products.html
    Hans-Günter
    P.S.
    Vous pouvez également utiliser le Forum Francophone: Forums en français

  • I have installed adobe flash player. I can not open the file. In plugins under tools it is not showing. It shows acrobat reader being there but not flash player. Any ideas?

    Flasher Player should be listed as a plugin in tools for it to work?

    '''Other items that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.
    *Adobe Shockwave for Director Netscape plug-in, version 11.0
    **Several security issues have been fixed since the version you are using
    *Adobe PDF Plug-In For Firefox and Netscape 8.2.2
    **'''Very old version'''; you seem to have missed the entire version 9 series
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_19 for Mozilla browsers
    **4 versions behind; several security issues have been fixed
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Error converting web page to PDF using Acrobat 8 IE 9 on Vista

    I am getting the following errow when I try converting web page to PDF using Acrobat 8 on IE 9 on Vista.  This worked previously but it appears that a recent update to Acrobat caused issues with this functionality.  This happened once before and after some troubleshooting the technician wasable to get the functionality working again.  The Adobe printer shows up with "Error" however I can still create PDFs from outlook.
    Error Has Occurred
    Line:11
    Char:3
    Error: Permission Denied
    Code: 0
    URL:res//C:\Program Files\Adobe\Acrobat 8.0\Acrobat\AcroIEFavClient.dll/AcroIECapture.html

    Is the plugig the same as an add-on because all of my Acrobat Add-ons are active?
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.25 s
    Name                Adobe PDF Reader Link Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.01 s
    Navigation time     0.00 s
    Name                Adobe PDF Conversion Toolbar Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.06 s
    Navigation time     0.00 s
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.00 s

  • How to automate the Acrobat Reader plugin in Internet Explorer

    Hi,
    I have been trying to figure out how to automate the Acrobat Reader plugin in Internet Explorer. My goal is to find a way to allow users of our web application to print PDFs to the default printer without having to go through the plugin's GUI. Our application includes a browser helper component, and I had hoped it would be possible to use the IWebBrowser2 interface's get_Document() method to get at some sort of interface to the plugin (as is possible for, say, a Word document hosted in Internet Explorer) and then use this to print the document. However, this does not work: get_Document(), when called on an IWebBrowser2 instance with a PDF loaded, returns E_NOINTERFACE. I also tried calling the IWebBrowser2 interface's ExecWB() method with OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, and PRINT_DONTBOTHERUSER, and printed a blank page rather than the PDF.
    Is it possible to do what I am attempting? Like I said, my core goal is to print a PDF from within Internet Explorer without requiring user interaction. I'd appreciate any suggestions as to how I might accomplish this -- it doesn't _have_ to be by automating the plugin (maybe that is a the wrong approach... though it sure would be nice if the plugin provided access to its object model via IWebBrowser2->get_Document()).
    Thanks in Advance,
    Steve Mckinney
    Senior Developer
    Paxon Corporation

    IF that were entirely true, then the whole purpose of this thread is moot (automating printing server side). It is possible to load the file via URLs using the following html code:
    "<"body>
    "<"OBJECT id="pdf"
    type="application/pdf"
    width=800
    height=600 >
    "<"param name="src" value="http://localhost/pdfs/vorder_nc.pdf"/>
    "<"/OBJECT>
    "<"script language="JavaScript">
    function waitLoad()
    setTimeout("printFile()",2000);
    function printFile()
    var objPdf = document.getElementById('pdf');
    objPdf.PrintAllFit(1);
    "<"/script>
    "<"/body>
    So, if I used php or some other scripting language on the server to fill in the name of the pdf, I can load it via a URL, wait a couple of seconds for it to load, and then print it without user interaction. I wish that the LoadFile method would load a URL so that when it returns, I know it is loaded and I don't have to put faith in a timer that may not be enough for a large file.
    This is the situation I'm in. This way works but I don't like the timer. I'd rather have the plugin let me know when it's loaded. Is there another method that can help me do what I want?
    Thank again.

  • Are plugins able to create graphical controls children to the Acrobat/Reader application?

    Hello,
    in the documentation I read 
      Acrobat Viewer layer 
    The Acrobat Viewer (AV) layer enables plug-ins to control Acrobat and modify its user interface. Using AV methods, you can, for example, add menus and menu commands, add buttons to toolbars, open and close files, display simple dialog boxes, and perform many other application-level tasks.
    I ask if it is possible that a plugin creates a graphical control like others applications can usually do and put it as a legitimate child of the Acrobat/Reader application, for example over a pdf page, and get events and so on.
    Thanks in advance

    Sure.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 26 Oct 2011 03:33:53 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: are plugins able to create graphical controls children to the Acrobat/Reader application?
    are plugins able to create graphical controls children to the Acrobat/Reader application?
    created by DevAcro<http://forums.adobe.com/people/DevAcro> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3990771#3990771

  • Latest Acrobat reader plugin for 32-bit Safari?

    I'm visiting web pages that have PDF that require the latest Adobe Reader.  I'm using 5.1 Safari on an older Intel iMac that is only 32-bit.  The latest download of reader claims it's only for 64-bit macs. Is there a version of the plugin that can in fact 32-bit and read the newer acrobat reader format?

    The Reader app is 32 bit.
    By default, it opens on 64 bit OS X versions in 32 bit mode.
    Having a CoreDuo Mac shouldn't be a problem for Reader 11.0.4.

Maybe you are looking for

  • Cannot create new document in Pages09

    Trying to create a new document in Pages 09 (has been updated to newest version) on OS X 10.8.2. When I select New Document, the template browser comes up. When selecting any document in any category, including a blank document, a spinning wheel come

  • Problems creating my first book in iphoto

    I'm just getting started with my first book - of my children's easter holiday. I'm having a few problems... 1. I have typed text onto the bottom of some pages but when I print or preview, you can't see the text. 2. Is there any way to alter the layou

  • SOAP 1.2 binding

    Hello, My question: Why BPEL is not using SOAP 1.2 name space "http://www.w3.org/2003/05/soap-envelope", instead its using soap 1.1 "http://schemas.xmlsoap.org/soap/envelope/" ? I am developing BPEL on 10.1.3.1. My WSDL file contain <service name="PM

  • Need to link two separate Skype accounts

    I signed up for a Skype account with my Microsoft account but forgot I already had an old account with my exact name.  So now I have two different Skype accounts and would like to merge them and keep the old account that has my full name, "JaneDoe". 

  • Server dying with Warning LIBTUX_CAT:476 and LIBTUX_CAT:477

    Hi, Tuxedo service is dying with the below warnings. LIBTUX_CAT:476: WARN: Server 1/8641: client process 606418: lost message LIBTUX_CAT:477: WARN: SERVICE=8640 MSG_ID=0 REASON=server died This service was running fine till some time ago. Suddenly it