Using the print button to print then close a document

I use Live Cycle Designer to create my Adobe documents.  I am working on a kiosk project and one of the menus navigates to a document page that has PDF documents and forms for users to print out.  The way the kiosk is designed, I would like for my pdf file to close after the print button is selected.  I recieved a solution in the general Adobe forum, but later found out the script does not work if the document was made using Live Cycle.  Any suggestions???  Is it possible??? Thanks.

Open your PDF file in adobe livecycle designer, select print button on PDF.
Go to windows(in adobe designer menu bar) and select Script Editor - In Show dropdown list select postPrint event and copy paste the code below-
app.execMenuItem("Close");
Regards-
Chalukya.

Similar Messages

  • I cannot print from a website using the "print" button nor going to "file" "print preview" (nothing there to preview) then "'print" - nothing prints.

    I cannot print from any wetsite as there is no print button. I have tried using the printer icon, also file, print preview then print. Nothing to preview nothing printed. How do I print from a website?????

    If this is similar to problems I sometimes have printing -- 1) Only happens on some, not all, websites 2) Printer preview window comes up OK, just shows a blank page -- I can suggest a work around, if not a solution: try turning your page into a PDF. Either install an extension which gives a "Save as...PDF" menu option, or a PDF printer driver (I use bullzip). The problem seems to be with the manner the websites use frames and/or javascript. This work around also handles websites that can't get along with your printer settings and chop off edges.

  • How to send the ALV GRID output to spool by using the print button in std t

    How to send the ALV GRID output to spool by using the print button in standard tool bar.
    We have created a button in the va02 transaction.  If user click on the button the new screen will be display on that screen we are populating the alv grid output using the oops concept.  But i am unable to send the output to spool using the print button in the standard tool bar.
    I am able to display the Print parameter dialog box but i am not able to send it to spool.
    Kindly help.
    Thanks In Advance.
    G.V.Ramana

    Hi Shaik,
    There is not properties button in my print screen.
    MODULE user_command_0900 INPUT.
        WHEN 'EXCEL'.
          PERFORM excel_download.                              
        WHEN 'PRI'.
          PERFORM print_output.
    form Print_output.
    CALL FUNCTION 'RSPO_LIST_LAYOUT_FITS'
               EXPORTING
                    columns        = 80
                    device         = 'ANY '
                    lines          = 65
                    maxpenality    = 1999
               TABLES
                    layouts        = lt_layouts1
               EXCEPTIONS
                    unknown_device = 1
                    OTHERS         = 2.
          IF sy-subrc = 0.
            LOOP AT lt_layouts1.
              IF lt_layouts1-penality < 1000        AND
                 lt_layouts1-penality < l_min_penality.
                l_layout       = lt_layouts1-layout.
                l_min_penality = lt_layouts1-penality.
              ENDIF.
            ENDLOOP.
            IF NOT l_layout IS INITIAL.
              CALL FUNCTION 'GET_PRINT_PARAMETERS'
                   EXPORTING
                        mode                   = 'CURRENT'
                        line_size              = 80             "#EC *
                new_list_id            = l_new_list_id
                        no_dialog              = l_no_dialog
                        layout                 = l_layout
                   IMPORTING
                        out_archive_parameters = rs_arc_params
                        out_parameters         = rs_pri_params
                        valid                  = l_valid
                   EXCEPTIONS
                        archive_info_not_found = 1
                        invalid_print_params   = 2
                        invalid_archive_params = 3
                        OTHERS                 = 4.
              IF sy-subrc NE 0.                                 " INS SLIN
              ENDIF.                                            " INS SLIN
              IF rs_pri_params-linsz LT 80 OR
                 rs_pri_params-linsz LT gt_stack-s_lprint-width.
                gt_stack-print_line_break = 'X'.
              ELSE.
                CLEAR gt_stack-print_line_break.
              ENDIF.
              IF l_valid NE 'X'.
                rs_pri_params = ls_pri_params_sav.
                rs_arc_params = ls_arc_params_sav.
              ENDIF.
            ENDIF.
          ENDIF.
    endform.                    " Print_output
        CALL METHOD gv_cost_tot_alv_grand->set_table_for_first_display
                EXPORTING
                   is_layout         = gs_layout_cost_tot_grand
                CHANGING
                   it_fieldcatalog   = gt_fcat_cost_tot_grand[]
                   it_outtab         = gt_cost_tot_grand[].
    Please check my code

  • I have a mac book pro running Lion 10.7.4 and every time I use Google Earth The computer crashes by lowering a black curtain and then asking me to hold the power button down until it closes and press the power button again to restart it. Can I fix this?

    I have a mac book pro running Lion 10.7.4 and every time I use Google Earth The computer crashes by lowering a black curtain and then asking me to hold the power button down until it closes and press the power button again to restart it. Can I fix this? It bugs me when I'm looking at real estate.

    I really don't have an answer for that one. I guess that while trying to get things working correctly, I would use the most basic monitor I had which in your case would be the Eizon using the Thunderbolt port and adaptor.
    When you boot into Safe Mode the startup is quite slow, but you should get the Apple logo and then the spinning gear below it (release the SHIFT key when it appears.) Then after a little more time you should see a gray progress bar appear below the spinning gear. When that disappears the computer will startup to a login screen.

  • Bug Report: [VIsio 2010] whenever I try to save a diagram to JPEG and then close Visio using the X button, Visio hangs

    Greetings
    I use Visio 2010 in windows 7 64bit
    and I have this problem:
     whenever I try to save a diagram to JPEG (save as>JPEG) and then close Visio using the X button on the upper right corner, then Visio hangs.
    The jpeg pic is saved ok, but Visio hangs permanently: I have to close it using task manager.
    On the other hand, if after I save into jpeg, I press whatever other button in Visio (from ribbon) then it works ok, and afterwards I can close Visio with the X button
    - but, if I try to close Visio with the X button  right after saving to JPEG, Visio will surely hang.
    Thank you
    PS. Visio 2010 is fully updated (File>Help reports:
    Visio 2010 Premium (v14.0.6111.5000) SP1 MSO (14.0.6112.5000) 32bit)

    Update:
    The problem reappeared/wasn't completely solved:
    So, I also went to Control Panel>add/remove programs, rightclick on Adobe Acrobat X> change installation and untick the PDFMaker item, in order to uninstall it:
    that's because initially, even after I had unticked "PDFMaker for Visio AddIn" in COM Add-Ins,
    in File>Options>Add-Ins tab, on the Active Application Add-Ins part (yes, on ACTIVE Add-Ins)
    I was still seeing about 5-6 lines, all having items containing PDFMaker for Visio AddIn" [PDFMVisio.vsl].
    In other words, the PDFMVisio.vsl file was loaded even if unticked!!
    Then, after uninstalling the add-in, the problem was finally fixed at last!
    Thank you so much for this additional information!  I was having the same problem.  I did what you instructed, and the problem has now disappeared!

  • Wireless printer won't print my document because it another computer is using the printer

    Canon MG5520 wireless printer will not print - message another computer is using the printer. No other computer is using the printer. I do have an IPAD and I did use it to print and it printed. It seems since I printed from the IPAD I am unable to print from my laptop.

    Hi paspies65,
    Reinstalling the drivers and software on your printer using the latest drivers from the Canon USA website should resolve the issue you are experiencing.  
    Please click here to go to the Drivers and Software page for the PIXMA MG5520.  Once on the initial download page for your model, please do the following:
    1. Verify that the operating system detected in the "OPERATING SYSTEM" drop-down menu is correct, and if it is not, please click the drop-down menu to select your operating system.
    2. Next, please click on the red arrow next to the "RECOMMENDED FOR YOU" section and click on the FULL DRIVER AND SOFTWARE PACKAGE file. When you do, a red DOWNLOAD button will appear. Please click on the checkbox below the DOWNLOAD button, then click the red DOWNLOAD button to begin the download. The time for the download process may vary depending on the speed of your Internet connection and the size of the file being downloaded.
    Once the file is downloaded, please double-click on it to reinstall it on your computer. This will reinstall all drivers and software for the printer on your computer.
    Hope this helps!  
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • When I use the printer icon in Firefox, it is preset to 10 copies. How can I change this to only one copy by default. Thanks for any information

    When I use the printer icon, in the upper left corner, it is automatically preset to 10 copies. I only want one copy by default. I can change it to one, but when re-opened, it is back to 10.

    Number of copies to be printed isn't a setting that Firefox is supposed to be saving, and I have never seen a preference for that in the hidden Firefox prefs panel - about:config.
    Try the '''''reset''''' described here and reset all the prefs for that printer: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer <br />Make sure to restart Firefox before seeing if doing this '''reset''' fixed your problem.
    If that did fix your problem, please click the '''Solved It''' button next to the answer that answered or solved your Firefox support issue, '''''it appears when you are logged in''''', so this thread gets marked as '''Solved''' to help other users who may have this same problem.
    If that didn't solve your problem and it still defaults to printing 10 copies of everything thru Firefox, please open '''Help > Troubleshooting Information...''' and use the '''Copy All to Clipboard''' button and then paste that information into the '''''Post a Reply''''' box here.
    It is going to be a real long list, but all I really need to see is the ''' print.''' preferences, so you could paste '''All''' that information into a text program like WordPad first, edit out the information that I don't need to see, and then '''copy''' the remaining information and '''paste''' only that information in to the '''''Reply''''' box here.
    I wonder if there might be a pref that I have never seen, but I truly doubt it. That "number of copies to be printed" has never been "stuck" for me on any program in Windows, on any PC I have ever used, with any printer / print drivers.
    The only time I have ever seen a "print dialog box" default to more than 1 copy was with a work application where the program being used was set to force 2 copies of some specific forms to print 2 copies all the time - one to be given to the "customer" at the end of the job for their records of the service call and one for the "employee" to get a signature upon completion of the job, to fax into the home office for job documentation as completed successfully and for payroll purposes so they would get paid for that service call.

  • Unable to create a pdf file using the print routine

    Hey all,
    Recently, i've been unable to create a pdf using the print routine from quickbooks, word, outlook, etc... using the print routine and the adobe pdf driver....
    I have vista and cs3... Any thoughts?
    Thanks,
    Murph
    [email address deleted by host]

    If you are trying to print to the Adobe PDF printer and that fails, try using print-to-file. Then open the file in Distiller. If the result is the desired PDF, then check for AcroTray running as a background application. Sometimes it has to be restarted, but should be in your startup (you can check msconfig from the start>run menu to see if AcroTray is there).

  • How do I close a running .vit using the X button without getting the save VI dialog?

    One solution is to save the running .vit instance to disk before the operator is able to use the X button to close the running VI. This is awkward as I don't need another numerically named copy of the .vit on my disk. Adding a "Quit" button to my .vit front panel is also an option but it would be nice to be able to use the X button instead.

    If you have LabVIEW 6.1 or higher, you can use the Event Structure to capture the click of the 'X' button, and choose to ignore it and close the panel.
    Configure an Event Case to "This VI..Panel Close?" filter event. (note the question mark) On the right side of this new case, there will be a boolean terminal that will let you discard the event. Open a reference to the VIT and pass this out of the main loop, and use a property node on this reference to close the front panel, then close the reference.
    It will go away when you hit the 'X' without prompting to save.
    A simple example is attached. You'll either need ot make a change or copy everything to a new VI and run that to prove it doesn't prompt for saving changes. This is in 7.1, Let me know if you need it in an earlier version.
    EdMessage Edited by Ed Dickens on 03-03-2005 12:58 PM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Close without Save Prompt.vi ‏25 KB

  • Not possible to print a SWF in a PDF document using the Print command in Ad

    Have a PDF with 3 pages, page 1 and 3 contains text and the 2nd page contains a SWF animation made with Xcelsius 2008. When printing the document using the Print function in Adobe the 2nd page is always empty, the SWF is never printed.  To be able to print the 2nd page containing the SWF animation I must use the print function in the Flash player (right click on the SWF animation).
    This problem should, according to Business Objects, be solved with the new version of Adobe Reader 9, but the problem still appear.

    I have seen this.  Adobe 9 cannot print embedded flash objects.  Xcelsius Engage/2008 includes a print button you can include on your dashboards to allow you to print them from your pdf files.

  • Since upgrading to mavericks my applications crash when i try to use the print dialogue

    since upgrading to mavericks my applications crash when i try to use the print dialogue

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post other kinds of diagnostic report — they're very long and not helpful.

  • How can I use the print module to print different size images on one large "canvas"?

    How can I use the print module to print different size images on one large "canvas"? An example would be in Photoshop, go to file>new, and create the size paper I want, and move images of different sizes onto it.
    I was thinking the print module would do this automatically for me.

    You can't, at present. It's been a requested feature, so we'll see if it shows up in a future version, but it's not there at present.

  • How do I use the print function to output a numeric variable with a fixed amount of leading zeroes

    I need to create an output from a T-SQL query that picks a numeric variable and uses the print function to output with leading zeroes if it is less than three characters long when converted to string.  For example if the variable is 12 the output should
    be 012 and if the variable is 3 the output should be 003.
    Presently the syntax I am using is PRINT STR(@CLUSTER,3) .  But if @CLUSTER which is numeric is less than three characters I get spaces in front.
    Please help!

    >> I need to create an output from a T-SQL query .. <<
    NO! NO! In RDBMS, we have a presentation layer that handles displays. We do not ever do it in the database. This is fundamental. But more than that, the purpose of PRINT is for debugging in T-SQL and never for output.
    You are still writing 1960's COBOL or BASIC, but you want to to it in SQL.  You probably picked the wrong data type (a numeric that should be a string) and are trying to repair your design error.  
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • I downloaded the new Firefox but it constantly freezes, doing absolutely nothing, and I can't even close it from my Mac dock bar, I have to turn off my laptop using the power button as Firefox won't let me shut down. What can I do?

    Hi
    I recently downloaded the new Firefox (Firefox 4, I think - you can tell I'm very tech savvy!) and it constantly freezes, I can't do anything with it at all - I can't even close it from the icon in my Mac dock bar.
    I have tried restarting my computer - though I have to turn it off by using the power button as as Firefox is open and totally unresponsive it won't let me shut down. About a minute after re-starting Firefox, restoring my tabs or starting afresh, it freezes again.
    This is obviously very annoying and I'm not sure what I can do about it. Firefox is my preferred browser, and I'd really like to be able to use it again!

    This is not a reply. I just want to elaborate on this problem.
    My computer freezes occasionally when it is used after being sleep for a while. The spinning ball appears and everything is totally disabled. Nothing on the keyboard works.
    The mouse moves, but does not work.
    The only solution is to turn the power off and on (losing all data in open applications.)
    I kept the System monitor running on the side to find out which program was running when the computer froze. The Monitor as well as all other applications froze, but the data showed:
    Firefox 18.4%
    Activity Monitor 0.9%
    Firefox Plugin 0.2%
    This is all the information I have. By the way, I am using iMac with OS 10.6.

  • I use an Epson Stylus Office BX320FW printer with my IMac.  Since upgrading OSX, I have lost the ability to print and scan.  I have downloaded printer drivers from both Epson and Apple.  I am using the printer in wifi mode but can not get it print or scan

    Hi Everybody,
    I use an Epson Stylus Office BX320FW printer with my IMac.  Since upgrading OSX, I have lost the ability to print and scan.  I have downloaded printer drivers from both Epson and Apple.  I am using the printer in wifi mode but can not get it print or scan.  How do I uninstall the Epson software and start all over again?
    nickel_man_65

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

Maybe you are looking for

  • The usb port on my keyboard deactivates because it says it is drawing too much power

    each time I try to plug in my ipod into the usb on the keyboard i receive an error message stating that it is drawing to much power and will be canceled

  • Report to see and send as e-mail of all open Complaints/transactions

    Hello Gurus, We need to view all the Open Service Transactions/Incidents (we have a Ztransaction type) for the past 3 months and send that output as an attachment to our Service Manager's e-mail address for him to action on. Is there a standard way o

  • There is a problem with Email Campaigns, more specifically saving content.

    I as getting a few error messages, and decided to reboot my machine just in case. I actually did not realise that the content I was editing in my campaign had not saved and lost it all. After reboot I redid the content, and tried to save it. 5-8 mins

  • E4200 reset to factory default problem

    due to password loss, I get to reset the E4200 to factory default in order for router re-config. Aftr pressing the reset buttom for 10sec, the router reset.  After then, I could not access the router via browser with 192.168.1.1 at URL entry.  My PC

  • Electronic statement

    We have SAP R/3 4.6c. Everything works just fine,but we have problem when our customer pays in his bank. We cannot post his bill automatically. We have 30 banks in our country, but we have problem with two of them. We cannot find the reason why is th