Print button on Form

need to add a print button to the find users results form,
To print the results...
or any ideas on exporting the results would be also appreciated...
Thanks in adv
Nsankar

Thanks Shant....
for those who might need ....
the final form field code is as follows
<Field button='true'>
<Display class='Button'>
<Property name='label' value='Print Results'/>
<Property name='onClick' value='javascript:window.print()'/>
</Display>
</Field>
On clicking the "Print Results" button - triggers the Print Function .
this works exactly like you hitting the - File - Print
Thanks
Nsankar1d

Similar Messages

  • Insert Print button on Infopath form for particular view

    Hello,
    I want to insert "Print" button on my InfoPath form, by clicking on it which can give print preview with print option.
    I am publishing my form through SharePoint Server into one form library.
    So unable to edit using site actions > Edit page.
    Could you please guide me how to it in simple way....not with customization.
    Thanking you in advance.
    Regards,
    Jayashri

    Hi Jayashri,
    I may not make myself clear. If we can get friendly print view of form, then we can use IE browser print option to print the form: IE gear settings > Print.
    If you need to seperate print button on form, you could edit form web parts > edit page then insert content editor web part with:
    <input onclick="window.print();" type="button" value="Print"/>
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 10g Forms closing when print button on smartbar used.

    I have an application run on Application Server 10g (9.0.4). The client machine is Windows 98 runing IE 5.5. Everytime the print button in the smartbar is click and the printer dialog is display, then the ok button is click the oracle form application is closed.

    Sorry for hijacking this thread, but I'm facing a similar problem.The time you used for writing this sentence would have been just the time you'd need to open a new thread ;-)
    How do I specify that whenever a window in the form is closedIn the trigger at form-level you can check the content of :SYSTEM.EVENT_WINDOW, this contains the name of the window.

  • How do I print a pdf form that has no print button?

    How do I print a pdf document that has no print button or name?  It is a Florida form for handicapped drivers.

    When you open a PDF in Reader or Acrobat there will be a Print toolbar button and a File > Print menu item. Other PDF viewers will have much the same.

  • Hidden Buttons and Forms Printing CS6

    I'm not exactly sure how to word this but I have buttons and forms that are printing when they are not supposed to.
    This is my indd file:
    If you can see, there are 3 sections, each identical except for the fact that they have different states. If someone wants Hat 2 section, there is a button that turns on the visibility of 2 combo boxes, a text box, 6 check boxes, some normal buttons (just text and art, but they need to be buttons in order to activated with an action), and toggles the view of another button that can add another hat... kinda hard to explain, but think of it like an online form. If you need more info, clicking the button add another row.
    The issue that I'm having is that I do not want the forms that are not being used to be printed. If I don't toggle their visibility, they should be invisible and not print. This form could have anywhere from 1-20 of the forms being used at different times. They are all set to be hidden until triggered and they do exactly what I want them to and it works perfectly, until I go to print.
    This is my exported pdf:
    One row of info, the button to add a second.
    Here is what it looks like when I go to print this without touching anything:
    As you can see in the preview screen, all of the rows that I have made in the indd file are being shown as set to print. This should not be happening, but I figured maybe it was a glitch so I printed it anyway, and this came out:
    ..... Now you can see my issue. Maybe. Hopefully.
    HOWEVER. If I so modify the document, e.g. clck on the "add hat" button and then remove it, the document prints as it should. The problem is that this document will need to be set up so that the entire page is filled with invisible forms that are just waiting to be activated, but not printed.
    Wow that's a lot of info. Hopefully I was clear. Thanks for reading this all if you're still with me.
    Win7 sp1, CS6, InDesign 8.0.1, 12 gigs ram, x64

    I initially jumped to that same conclusion that it was probably a bug in the forms as they are a new feature, but they are not the only objects that are misbehaving. There are only 3 forms in each of the sections and 14 normal buttons, so how can it be an issue with the forms? If that was the probelm, they would be the only objects that were printing incorrectly, unless there is some attribute that would apply the form's settings to all buttons... but I don't know how that's possible.
    @jeffrey_smith
    I tried exporting it as an idml originally, and just tried again since the file has been modified but it didn't make a diffrence in the print. Also, I just created a new very simple test document with just 4 buttons, one that shows the other 3 and it has the exact problem that my document with all of the forms has. So it can't be a corruption in my file, it has to be a broader issue.

  • Print Button not working properly in form

    Hi Experts,
    I have modified one form everything fine but i faced one problem.
    when ever enter the item details in form then (print button is there)press the print button it will be give pdf file data properly coming,
    again if i modify the item details then press the print button it's showing old data not updated.
    please give me any solution ASAP.
    Thanks&Regards
    Mohan Reddy
    Edited by: 925452 on Apr 10, 2012 6:12 AM

    It is quite unclear what you are saying. Are you saying you have a button which you have called "Print"? Does this button call Reports to generate a pdf file? What product versions are you using? Do not say "10g" or "9i" as these are product names. Please provide the complete product versions and tell us what platforms (operating systems) you are using for client and server.
    yes i used print button,yes that print button call reprorts to generate a pdf file, oracle forms 10.1.2.0.2 frant end oracle apps, i used windows 7 O S 32bit.
    it's not giving current data it's giving old data in pdf file . If i press 3 times save button then i press print button then it's give the current data befroe press the save button directly if i press prin button it'showing err request id process 2547 like

  • Adobe form validation with Print button

    Hi All,
    I have an adobe form with field validation (javascript) already set up but I'm trying to add one more feature to the validation.
    Let me explain my initial validation first:  I have 18 required fields with their tooltip name having an '*' at the end.  Any fields not filled in with this tooltip marker will show up on an alert message when the print button is selected.
    There are two fields called IException and Amount that are required but an End User might have additional IExceptions and corresponding Amounts.  Therefore I have created 5 textboxes for each but only the first IException and Amount are absolutely required (and I use a '*' within their tooltip).  Now if an End User has an additional IExceptions ("IException2") and fills out this field, I need to make it mandatory that "Amount2" would also have to be filled in.
    Here is my code: [code]
    function validateFields()
    var flg = 0
    var n = this.numFields
    var fArr = new Array();
    for(var i = 0;i<n;i++)
    var fn = this.getNthFieldName(i);
    var f = this.getField(fn);
    var tt = f.userName
    if(tt.indexOf('*')!=-1 && f.value == f.defaultValue)
    flg++;
    fArr[fArr.length] = tt;
    if(flg>0)
    app.alert('There are '+flg+' fields that require a value\n\n'+ fArr,3)
    var IException2 = document.getElementById('IException2').value;
    var Amount2 = document.getElementById('Amount2').value;
    if ((IException2.length >0) && (Amount2.length == 0))
    app.alert('Amount is missing')
    else
    document.ExceptionForm1.print();
    validateFields();
    [/code]
    Currently when one of the require fields is NOT filled in, i receive my first alert message.  If all required fields are filled in my print button doesn't work.  Also if all required fields are filled in and IException2 is also filled in but Amount2 is not, I don't receive my second Alert message.  So my code works up to the "Var IException2 = document....." and I don't know what the issue is.
    Thank you for your help in advance. 

    One more question,  since I have 4 of these...I'm having trouble getting the button to do exactly what its suppose to based on what's filled in because i think i have my '{ }' messed up and or IF/ELSE statement is wrong...can you please take a look..
    function validateFields()
    var flg = 0
    var n = this.numFields
    var fArr = new Array();
    for(var i = 0;i<n;i++)
    var fn = this.getNthFieldName(i);
    var f = this.getField(fn);
    var tt = f.userName
    if(tt.indexOf('*')!=-1 && f.value == f.defaultValue)
    flg++;
    fArr[fArr.length] = tt;
    if(flg>0)
    app.alert('There are '+flg+' fields that require a value\n\n'+ fArr,3)
    var a = this.getField('IException2').value;
    var b= this.getField('Amount2').value;
    if ((a.length >0) && (b.length == 0))
    app.alert('Since IException 2 is filled in, Amount 2 is also required')
    var c = this.getField('IException3').value;
    var d= this.getField('Amount3').value;
    if ((c.length >0) && (d.length == 0))
    app.alert('Since IException 3 is filled in, Amount 3 is also required')
    var e = this.getField('IException4').value;
    var f= this.getField('Amount4').value;
    if ((e.length >0) && (f.length == 0))
    app.alert('Since IException 4 is filled in, Amount 4 is also required')
    var g = this.getField('IException5').value;
    var h= this.getField('Amount5').value;
    if ((g.length >0) && (h.length == 0))
    app.alert('Since IException 5 is filled in, Amount 5 is also required')
    else
    this.print();
    validateFields();

  • PRINT BUTTON PROBLEM AT  PRINT PREVu0130EW MODE IN ORDER FORM

    I have prepared an order form as sapscript. I used " SAPFM06P " program.
    But i have a problem, before printing, first i want to see the print preview of the form. Then i want to print at printpreview mode. But  I can't press the print button at print preview mode. It is not active.
    Can anyone help me?

    Hi.
    Make sure that the 'Print Mode' property of the CR Viewer is set to 'ActiveX'.
    Now, what you want is supposed to happen when you click the print button from the viewer.
    If the printer is installed and the viewer could not find it, we will need to check why?
    As don said, run [process monitor|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22316] and see what happens when you click the print button from the viewer.
    - Bhushan.

  • Print button that prints particular pages of form

    Hi, I'm not familiar with scripting, but I'm thinking a script might be necessary for what I want to do.  I have a form that is 4 pages long.  The first two pages are instructions, the last two are the actual form.  Can I add a print button to the document that will print the last two pages rather than the entire document?  And would the button need to be on the 3rd page (top of the actual form) or the 4th page (end of form)? Thanks!

    Can I add a print button to the document that will print the last two pages rather than the entire document? 
    Yes.
    // form1.page1.printBtn::click - (JavaScript, client)
    xfa.host.print(1, "2", "3", 0, 0, 0, 0, 0);
    And would the button need to be on the 3rd page (top of the actual form) or the 4th page (end of form)?
    The print button can go anywhere.
    Steve

  • Creating a print button to call a Report Query and pass filters

    If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
    This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
    You may ask "why does he need another print button?"
    Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
    Or, am I over thinking this and there is an easier method?
    I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
    Thanks

    Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

  • 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.

  • Need to make a print button in indesign

    hi
    I need to make a print button in indesign for a brochure. I have made several buttons by using the create button toll but there is no 'print' option in the list of behaviours.
    can anyone help me with this please.
    The final output is a pdf and the brochure has a print button on every page.
    Can anyone help please

    You can duplicate any form field to all the pages you like... to all pages or just some pages.... Forms>Edit Fields>Duplicate

  • Print button issues.

    Hello everyone,
    In order to 'flatten' our pdf forms so that they cannot easily be modified, we have decided to print all of our completed forms to a virtual .pdf writer. Now, we could have all of our users click file-->print-->select 'cutePDF Writer' from the printer drop-down-->hit OK-->Type in a file name for the new .PDF-->hit OK... but I was hoping that I could make their lives easier by adding a button to do most of this for them.
    After scowering the depths of the internet, I found this script that I've added to the click event of a button:
    var objPrintParams = event.target.getPrintParams();
    objPrintParams.interactive = objPrintParams.constants.interactionLevel.silent;
    objPrintParams.printerName = "cutePDF Writer";
    event.target.print(objPrintParams);
    This effectively handles everything up to 'Type in a file name for the new .PDF' step... but there are some issues.
    The first is that some of our users may not have cutePDF installed. As it is, the script doesn't throw an error if the printer does not exist. Without the printer installed, clicking the button seems to have no effect. Both pre- and post-print events fire as if the printing worked, even though it didn't. I would like to have a helpful message for the user, but I can't think of a way to check if it failed. If I could get a list of printers, I could check it before trying to print... but event.target.printerNames(); doesn't work, and that was the only thing that i could find to list printer names.
    The second issue is that a message is displayed to inform the users the the document is trying to print. "This document is trying to print..." I get that this is a security measure, but the user is pressing a button called print, and having to click a second time may get annoying. Additionally, if they click no by accident, this response is stored until they restart reader... clicking the print button again does nothing.
    Ultimately, I'd like to get rid of this message... but if I can't do that, I'd like for it to show each time that the user presses it, both for consistancy, and to allow them to change their minds without having to close out reader, losing all of the filled fields that they entered.
    I know that this might be asking the impossible, but I would appreciate any help with this.
    - Scott

    In the designer, highlight the print button. On the Object palette locate the presence dropdown (near the bottom of the palette). Change the pressence to "Visible (Screen Only)".

  • How Can I Create a Print Button on a PDF Using Acrobat Pro That Will Also Work on iOS?

    I created a Print Button on a PDF document using Adobe Acrobat Pro on my Mac.  The Print button works perfectly on different browsers on my Mac and on Windows (running under Parallels Desktop) as well.
    When I open the document on my iPad the Print button doesn't even appear.  I am guessing that this is a Flash issue but it may be more related to the fact the the action for the button is to access the Print menu item, which doesn't exist under iOS.
    Is there any way to create a Print button using Acrobat Pro that will work on a Mac and Windows but also on iOS?

    In order to initiate printing by clicking a button, the button has to have either an "execute menu item" type action or use the "print" JavaScript method. As you guessed, the former won't work since there are no menu items to execute, and the latter can only work if the particular PDF viewer you're using supports it. I'm not aware of any that do on iOS.
    The button doesn't appear because you're probably opening it in the default PDF viewer, which doesn't support forms at all. If you were to open the form in Adobe Reader, you'd see the button but it wouldn't work.

  • While Printing using Print Button on Crysal Report Loses focus.

    Hi all,
    I am using CR XI along with VS2003 for developing my application.
    My application uses a Treeview to list all the available reports, once user select one of the report. I am using another dll, which contain all the rpt files as Embedded Resource, for showing the report in Crystal report viewer.
    Once report get loaded, I am using Print Button from Crystal report viewer to print the report.
    report get printed properly..
    However a strange behavior occurring, Form with Crystal report viewer control placed loses focus and immediate below window coming into focus (some other opened window get activated and bring to front and hiding my application).
    Any suggestion would be appreciated.
    Thank you
    Riju K K

    Hi Brian,
    Thanks for you are reply.
    I think I am not creating a separate process,
    From my application, I am creating an instance of form (which is in another DLL) which is hosting Crystal report viewer.
    If click "Print" button on the Crystal report viewer, I am getting a Printer selection form.
    If I cancel from there ,my Crystal report viewer form get focus back.
    If select a printer and click "OK". my Crystal report viewer form lost focus and some of the other window opened (word, ie, etc) before get focus.
    My assumption is Crystal Report viewer's "Print" button may be using a separate thread for Printing.
    that may creating this focus issue.
    what you think?

Maybe you are looking for

  • Instrument I/O Assistant and Graphing

    Does anyone know how to use data taken from an Instrument I/O Assistant Input and put it into the y values of a graph??  I'm having issues with this because it returns values like "v 0" and "v 256" but I need just the number value to get a graph to w

  • Iphoto 6 and Panasonic DMC-FX37

    Hi Everyone I wander if you might be able to help me with an issue I have with a new digital camera and iphoto 6. I use iphoto 6.0.6 and I have recently upgraded my digital camera from an Olympus 410uD to a Panasonic DMC-Fx37 and found that the pictu

  • Cash Journal table to find out day wise closing balance

    Can I have the table name to find the day wise closing balance of cash journal tried with CJAMOUNT, but not ........

  • Basic questions about NetWeaver

    Hi experts, Here am I with a big headache caused by the Netweaver concept which I can hardly understand. So, I would be grateful if you could give me some hints on these questions even if they sound foolish: 1. Is SAP-Gui an obsolete concept with Net

  • WAN round-robin load balancing

    First things first, I just recently got that horrible distribution Gentoo off my machine and installed Arch for a test run and so far a flipping love it. Just like to thank everyone that made this wonderful piece of Linux. To the point: I have a box