Saving LiveCycle PDF without opening the PDF

One of our legacy web sites still uses LiveCycle 7.1 to generate and serve up PDFs to our end users. Instead of displaying the PDF, we would like to let the end user click a button on our site to pop up a file save dialog so that they can save the generated PDF directly to their local drive without opening/displaying the PDF in Reader.
Is this possible, and if so, how?
Thanks!
BTW - We are planning to retire this website in the next year or so and have no plans to upgrade or continue using LiveCycle once this functionality is migrated to our newer site.

I have a script that I am trying to cobble together, but I am stuck at attempting to execute an SQL query against and ADO connection. My code is as follows:Powershell $FQDNUpper = $Computer.ToUpper() + ".domain.dn1.dn2" $FQDNLower = $Computer.ToLower() + ".domain.dn1.dn2" $shell = New-Object -ComObject "Wscript.Shell" # for use later in script $cnn = New-Object -ComObject "ADODB.Connection" $cnn.ConnectionString = "Connection_String" $cnn.Open() $queryUpper = "SELECT CAST(ID AS nvarchar(50)) ID FROM Machine WHERE Name=$FQDNUpper AND Role = 0" $rs = $cnn.Execute($queryUpper,' ',1) #If statement that will qualify if $FQDNUpper returned anything else try $FQDNLowerWhen executing the code I receive an error:
PowershellArgument: '2' should be a System.Management.Automation.PSReference. Use [ref].At line:9 char:5+ $rs = $cnn.Execute(...

Similar Messages

  • How to AVDocGetPDDoc without opening the pdf file

    Hi all,
    how to AVDocGetPDDoc without opening the pdf file in acrobat plugin sdk.
    Regards,
    JK

    thanks for ur reply, now its fine.

  • Printing pdf files in a browser (e.g. Firefox) without opening the file

    I have a web application, which is generating pdf files. Is it possible to print a pdf file on the default printer without opening the pdf file?
    I want to click on the link of a pdf file and the file should be printed immediately on the default printer.

    I do not think this is a feature of the browser. In Firefox I can set that a PDF file is opened using a PDF viewer. At this point I would specify the Adobe reader. Instead of opening the PDF file this file should be printed immediately.
    So my question is: Is it possible to configure the Adobe reader that the PDF file is printed immediately?

  • PDF only open the first time

    HI
    I have a problem with the PDF export, of any type of document; the situation is complicated in the case of documents which provide for the printing of batches of transactions. Let me give an example.
    I open a delivery customers and I click on the icon PDF: SAP opens the pdf of Transactions batch and then the standard form of delivery; simultaneously saves both pdf folder of images.
    If, once closed the pdf, I click again icon PDF (or after creating a new document), SAP only opens the transaction reports; the report of delivery is not open on the screen but is only saved in the attachments.
    In order to view again I have to close the form and reopen it.
    Is the first time that the next time, the log file I have the message "Invalid input parameter for DfltSeq", but the first time you open the pdf.
    Does anyone know help me to understand why:
    1. SAP does not reopen both reports from the second time
    2. the pdf are saved once in the path of the images, and after the path of attachments.
    Thanks
    NL

    Hi Maggie,
    can you tell me if there is something official SAP (Notes or other) with the problem and that SAP will provide a solution?
    I have the SAP 9.0 PL 14 and I do not have the problem.
    the customer have 9.0 PL 16 and has the problem.
    Thanks
    Nora

  • Print date in PDF without opening Acrobat

    I have a little issue that needs assistance.
    Is it possible to get print date (e.g. todays date) automatically without opening the PDF in Acrobat. My plans are to use a hot folder / drop folder which directs the PDF to the printer. The form or script must be applicable anywhere on the layout. I'm working with quite heavy files for commercial printing, and nowadays spends lots of time just waiting for the file to load, add todays date into a form field, print and close the document. The time gained would be massive! I've tried some small scripts but none seems to work out for me.
    Thanks in advance!

    Thanks for the input Geo. I think I've got it working now. I actually found a script on Adobeforum, so apologies for making a post. Regarding what you've written in your reply, it's actually possible to print a PDF without opening the application. I'm using a folder which is automatically scanned for files (must be PDF, PS or EPS). This is really good, I'm quite sure that you have the function in the new Distiller as well.

  • I have created a form in InDesign, exported to a pdf, created an editable form and saved.  When I open the form and make changes and save, the reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is alway

    I have created a form in InDesign, exported to a pdf, then created an editable form and saved.  When I open the form and make changes and save, then reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is always minus the edits.   ????

    Hi chuck,
    If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
    Can you please send the form to me at [email protected]  so that I can have a look.
    Regards,
    Rave

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • I cannot open a .pdf in an incoming mail (Outlook 2010) with Acrobat Pro XI.  It will only allow "preview".  I have to  copy and paste the .pdf to my desktop and then open it.  What do I do to restore the 2x click in Outlook to open the .pdf?  thank you

    I cannot open a .pdf in an incoming mail (Outlook 2010) with Acrobat Pro XI.  It will only allow "preview".  I have to  copy and paste the .pdf to my desktop and then open it.  What do I do to restore the 2x click in Outlook to open the .pdf?  As of now, I get the following bracket opening on screen when I click on the Acrobat icon for attachment within the email:  Thank you
    Adobe Acrobat has stopped working
    Windows can check online for a solution to the problem.
    -Check online for a solution and close the program
    -Close the program
    Problem signature:
      Problem Event Name:                        APPCRASH
      Application Name:                             Acrobat.exe
      Application Version:                           11.0.7.79
      Application Timestamp:                     536b812b
      Fault Module Name:                          Acrobat.dll
      Fault Module Version:                        11.0.7.79
      Fault Module Timestamp:                  536b80ff
      Exception Code:                                  c0000005
      Exception Offset:                                00cbf281
      OS Version:                                          6.1.7601.2.1.0.256.48
      Locale ID:                                             1033
      Additional Information 1:                  0a9e
      Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:                  0a9e
      Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    Hi Gary,
    I have seen this issue occur with users who have this registry setting missing or have improper permissions.
    When you double click the attachment to launch the pdf it is saved and opened from the temporary folder unless saved specifically to a location.
    If you dont have the below mentioned registry key or improper permissions then attachments fail to open.
    Please  heck if the following reg key exists:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
    or
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Security
    Value Name: OutlookSecureTempFolder
    If the value exists, and if the value contains a valid path, Outlook 2010 uses that location for its temporary files.
    If the registry value does not exist, or if the value points to an invalid location, Outlook 2010, Outlook 2007, or Outlook 2003 creates a new subdirectory under the Temporary Internet Files directory and then puts the temporary file in the new subdirectory. The name of the new subdirectory is unknown and is randomly generated, depending on your version of Outlook.
    Please check the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
    Note the location for: OutlookSecureTempFolder key
    Check if the same folder exists in the following location and if not create a corresponding folder in the location on C:\Users\<User account name>\Appdata\Local\Software\Microsoft\Windows\......
    Regards,
    Rave

  • I cannot view PDF in Firefox at the first time but once I manually open the PDF file from my local computer, I can view other PDF files via Firefox webbrowser

    I install Adobe Acrobat 9 in my laptop which runs on windows 7. I use Firefox 3.6.8 and have the problem with the PDF file. The problem is I cannot open the PDF file in Firefox web browser at the first time I launch firefox. It shows a warning box without any message. Only OK button is shown so I can close it. However, if I manage to open the PDF file from my local computer by just using adobe acrobat itself then the PDF can be opened in the Firefox web browser. I followed the instruction on the mozilla help but nothing works for me. The problem still exists. I wonder if anyone have the same problem like me and know how to solve this. Thank you so much

    Hi there!
    I cannot help you, but I think we have a common problem: We got a system here running Vista SP1 with Acrobat 9 standard on it. When we open a pdf file it works normally, but when we open another pdf file, we see the first one in that second window.
    Think that missing option to watch several files within a single window-thing messed up more than meets the eye ... but as we just purchased the 15 licenses, we have to use version 9.
    I didn't find any clues on this problem, but I will post any new hints I get.

  • I just updated Adobe but I continue to get the message that I need to update Adobe in order to open the PDF

    I just updated to the latest version of Adobe but I still unable to open the PDF

    When you open the PDF document in Adobe Reader for iOS, do you see a message like this?
    (Tap/click the image above to enlarge)
    Your PDF document is a special type of form called a "dynamic XFA form".
    Currently, Adobe Reader mobile products (Reader for iOS, Android, Windows Phone) do not support static or dynamic XFA forms created with Adobe LiveCycle Designer.
    The message "Please wait..." is displayed when a dynamic content is not supported by a PDF viewer.
    The following blog post by Jeff Stanier (Adobe LiveCycle Designer Product Manager) explains the reason why XFA forms are not supported on mobile.
    Adobe Reader Mobile and XFA forms from LiveCycle Designer
    You can use the desktop version of Adobe Reader on a Windows or Mac computer to fill out XFA forms.
    Sorry for the inconvenience.

  • I get a message - Adobe can't download a PDF with this browser - download by your browser and the try to then open the PDF open the PDF

    I am using Firefox 17.0.1 for the MAC - I have no idea about how I would go about downloading the information to then open the PDF
    This is a new problem because in the past I have been able to open PDF's and I can open saved PDF's

    Check your Plugin
    *https://www.mozilla.org/en-US/plugincheck
    Make use of Adobe Reader to View and Download PDF.
    *https://support.mozilla.org/en-US/kb/use-adobe-reader-plugin-view-or-download-pdf-files
    Otherwise, Make use of FOXIT Reader.
    *http://www.foxitsoftware.com/downloads/
    *http://www.foxitsoftware.com/Secure_PDF_Reader/addons.php

  • When I save eps file as a PDF it loses whole colours, but I can see the colours in preview and if I open the PDF in Photoshop. What is going on?

    Has anyone else encountered this? I want to save a 2 colour logo (CMYK) as a print ready PDF but when it opens in Adobe Acrobat the black is missing or the green is missing. I can see all the colours there in preview and if I open the PDF file in Photoshop, all the colours as as they should be!!!

    No.. sorry.. it does not seem possible effect .. if you can write you must be able to read..
    Are you using the TC with user profiles?
    What security are you using for disk access?
    What happens if you do turn on full guest access to read and write.. ?
    When the Mac that can save but cannot read does drop the file onto the TC,, can the other Mac's see that file? In other words is the file really there.. has it copied correctly. I still think if it has copied and you cannot read it back there is some permissions issues.
    Try creating a new user on the Mac that has issues.. and see if the new user and read and write correctly. Make sure the new user has at least equal rights as the users on the Mac's that can read and write without issues.
    Your intial question suggested this problem was spread over more than computer.. your second reply has reduced the issue to just one computer.. logically the issue is not the TC.. it is that computer. Ironically I have found logic for computer troubleshooting falls well behind voodoo. 

  • Cannot open the pdf/videos in my Linux, Adobe Reader 9. It fires an error...

    Cannot open the pdf/videos in my Linux, Adobe Reader 9. It fires an error...
    "A 3D data parsing error has occurred"
    By any chance have someone help me with this issue?  Thanks!

    thanks Jono But I cannot see any option to set Target Version.
    the options I have are XDP Preview format and PDF Render Format which are set to Acrobat 7 static PDF form.
    I have set a permissions password on the form using Acrobat 8 and under Password security settings , I have set the compatibility as Acrobat 5.0 or later. However, When I look at the form properties by opening the same form in LiveCycle, the compatibility still shows Acrobat 8 static PDF form.
    How do I get this form to be opened by users in Adobe 7?
    Appreciate your quick response.

  • Obtaining the URL used to open the PDF

    Hi,
    My Acrobat PDF is to be opened within the browser using a URL that will differ with each testing region.
    How do I obtain the URL that was used to open the PDF within the PDF javascript code?
    Thanks for your help.

    Look at the documentation for that method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.443.html
    You'll see that there are security restrictions, so it normally cannot work if the code is inside the document. It also won't work for a dynamic XFA form, but might for a static form if you can get it to execute in a privileged context (e.g., folder-level code).
    This also isn't something that you'd normally want to do at run-time. Can you explain why you want to do this? There might be other approaches that would be more appropriate for an XFA form, so consider posting this in the LiveCycle Designer forum as TSN urged.

  • Doesn't open the PDF file (i.e. articles, books pages). It appears a black page. Thanks for help

    Safari doesn't open the PDF file (articles, book page, etc). It appears a black page. Before that it was working perfectly. Thank for your help

    Try this ...
    Open a Finder window then from the menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/Internet Plug-Ins
    Click Go.
    If you see the:  AdobePDFViewer plugin (or anything Adobe related) in the Internet Plug-Ins folder, move it to the trash.
    Restart your Mac and try opening a PDF file.

Maybe you are looking for

  • Issue in populating dropdowns in Visual Composer

    Hello Experts, I am currently trying to push application development using Visual Composer 7.0. Came across certain issues which we were unable to resolve: 1) We have an RFC which gives 10 return tables. We need to fill the data from these tables int

  • Calculation of Purchase Order TAX in Smart Form

    Hi All ! I am facing problem in purchase Order, how to calculate the value of tax in Purchase order . in KONV Table, I am getting the value of condition type which r maintained on pricing procedure but, we r not getting the condition type for particu

  • Splitting Document On Number of Line Item

    Dear all, I have File-To-IDOC scenario. Suppose File contains One headre record and 800 line items. I want to slplit the document into two if there are more than 400 line items by keeping the header same How do I do this. Regards, Raghvendra

  • SQL Developer, how to save connections in a Citrix envrionment

    We have SQL Developer deployed in Citrix. The user creates new connections and saves them and exits the applicaiton. When they return to the applicaiton the connections are gone. How can I make these persistent? Where are these connections stored, in

  • How to create valid values for button

    Hi,all I want put valid values to button like copy from or copy to functionality is it possible. if u have idea plz post it..? by Firos.C