Print Button On OA Page

Hi
I have a page with a richtexteditor component on an OA page..
i would like to add a Print button that will take the content from that box and print it..
any idea's???

Hope This will help you.
l_no_of_copies := fnd_profile.VALUE ('XXTMG_AN_PRIORITY_LIST_REP_NUM'); -- Taking the value from a profile option
l_printer_name := fnd_profile.VALUE ('XXTMG_AN_PRIORITY_LIST_PRINTER'); -- Taking the value from a profile option
l_print_style := null;
-- To Set the printer
l_result := fnd_request.set_print_options ( l_printer_name, l_print_style, l_no_of_copies, TRUE, 'N');
-- Calling the Add Printer Method
l_printer := fnd_request.add_printer (l_printer_name,l_no_of_copies );
-- To submit the request.
x_request_id :=
fnd_request.submit_request ('XXT',
                    'XXT',
                    TO_CHAR (SYSDATE,
                         'YYYY/MM/DD HH24:MI:SS'),
                    FALSE,
                    p_output_demand,
                    p_demand_date,
                    p_cycle);
Regards,
Nagesh.

Similar Messages

  • Print Button on JSP page prints title,time etc

    Hi I have aprint Button on my jsp page which prints whatever I want selectively using the <style tags>
    <style type="text/css" media=print>
    .noprint { display: none}
    .noscreen { color: black }
    </style>
    <style type="text/css" media=screen>
    .noscreen { display: none}
    .noprint { color: blue }
    </style>
    <SCRIPT Language="Javascript">
    function printit(){
    window.print();
    </SCRIPT>
    My print Button calls the JavaScript and prints everything that does not have a class=noprint in it... When I print however it also prints on the page
    -The Title on the Left Top corner
    - Page 1 of 1 on RIGHT TOP
    - 2/13/03 on Left bottom
    - 4:06 thats the time on the RIGHT BOTTOM
    Is there anyway I can prevent it from printing this?

    These probably come from the browser. Check if your browser is configured to print these on every page that is printed. If so, you can turn these of from the browser's Page Setup dialog.

  • Can you add a Print Button to one page?

    I have a form with 15 or so pages of information.  I do not want the submitter to get a printout of the entire thing.  However, they are given a chance to pay via PayPal or pay by mailing a check.
    If they chose PayPal, no big deal.  If they chose to mail a check - I would like them to either GET a print out of the last page, or have a button they press to get a print out of the last page.  This page would be required to be sent along with the check so I can tie it back to the record.
    Is this possible?
    Thank you!
    Jeanine

    What is it you need to accomplish?
    If you just want work to be saved as people move through the form, you could prompt them to hit the save link, if you've enabled it. This would allow them to come back to the form and finish it later, and preserves all selections and filled-in information. When they then hit the "Submit" button at the end of the form, all of their info deposits into the data set.
    If you don't mind the data being split across multiple data sets, you could create multiple small single-page forms, and when the respondent hits the "Submit" button, they could be automatically redirected to the next  form. You would set this up in the form Options tab and select the Redirect URL panel.
    Otherwise, follow Josh's suggestion for a PDF.
    I hope that helps,
    Brian

  • 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 - printing sections

    Hi everyone - i want to add a print button on my page but I
    don't want all of the page to print just a part.
    Q. Is it possible to put a print button limiting the field
    Q. is it possible to put in a hidden section of text which
    only appears whent he material is printed?
    Many thanks
    Bim

    You can use javascript to achieve what you want. You can also use a iframe for the content that can be printed and use the print code as below:
    Script:
    <script type="text/javascript">
    function printpage()
      window.print()
    </script>
    HTML:
    <div align="center">
    <input type="button" value="Print this page" onclick="printpage()" />
    </div>
    example: http://www.mydentistinc.com look at the coupon download page for the print button.

  • Coding interactive print button in Indesign

    we create pdf brochures from Indesign. A number of buttons appear on every page which have been coded in Indesign, coded using the 'interactive button options' function. We have a print button on every page and there is no option to code this within Indesign and is becoming a tedious chore to code in the final pdf every time we make a brochure. I have experimented with some js in Indesign but can't get anything to work.
    can anyone offer a solution please.

    thanks, I went to the thread and used the script, changing email to print. I get an error though.
    error number: 14
    error string : no matching closing brace found
    line:33
    source: function GetFileNameOnly(myFileName) {
    offending text: {
    #target indesign var myIndesignDoc = app.activeDocument; var myParentFolder = myIndesignDoc.fullName.parent; var myBaseName = GetFileNameOnly(myIndesignDoc.name); var myFilePath = myParentFolder.absoluteURI + "/" + myBaseName + ".pdf"; var myFile= new File(myFilePath); var mylayerText = myIndesignDoc.layers.item("Text") var mylayerGraphics = myIndesignDoc.layers.item("Graphics") var mylayerOnlinePdf = myIndesignDoc.layers.item("Online PDFs") var mylayerTagline = myIndesignDoc.layers.item("Print tagline") mylayerText.visible = true mylayerGraphics.visible = true mylayerOnlinePdf.visible = true mylayerTagline.visible = false var myPDFExportPreset = app.pdfExportPresets.item("EBLowRes"); app.activeDocument.exportFile(ExportFormat.pdfType, myFile, false, myPDFExportPreset); var myScript = AcrobatScript.toString() + '\r'; myScript += 'AcrobatScript(\"' + myFilePath + '\");'; var bt = new BridgeTalk; bt.target = "acrobat"; bt.body = myScript; bt.send(); function AcrobatScript(myFilePath) {     var myAcrobatDoc = app.openDoc(myFilePath);     var f = myAcrobatDoc.getField("Print");     f.setAction("MouseUp", "this.printDoc(true);");     myAcrobatDoc.saveAs(myFilePath);     myAcrobatDoc.closeDoc(true); } function GetFileNameOnly(myFileName) {      var myString = "";      var myResult = myFileName.lastIndexOf(".");      if (myResult == -1) {           myString = myFileName;      }      else {           myString = myFileName.substr(0, myResult);      }      return myString;

  • Print button on my webdynpro JAVA page

    Hi Experts,
    Is there any way that I can include a print button on my webdynpro JAVA page. ON click of the Print button I have to print the entire Page. User is able to print the page by using the print option of Browser, but in that case if the page is having a vertical or horizontal scroll, print output will contain only the visible part.
    Thanks and Regards,
    Sarath Satheesan

    Hi Sarath,
    Printing Web Dynpro Java (WDJ) applications is one of the missing functionalities that everyone wants to have in their application. you can use third party open source reporting tool, JasperReports, to solve this issue
    Printing in Web Dynpro using JasperReports
    PART 1 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 2 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 3 - /people/jawed.ali/blog/2009/10/30/part-iii-print-web-dynpro-java-applications-using-jasperreports
    Hope this will fulfil you requiremnt.
    Thanks
    Arun

  • Can't reach the print button on the bottom of the page

    When the page preview page appears, I can't reach the print button at the bottom of the page.

    To use AirPlay, you will need the following:
    iPhone  4s (or later), iPad 2 (or later), iPad mini, or iPod touch (5th generation)
    Apple TV (2nd or 3rd generation)
    AirPort Express
    Wi-Fi (802.11a/g/n) network

  • Adding PRINT Button on a List Item Page

    Hi,
    We have an existing custom list for our asset tracking. We are required to make the list item's page printable by adding a "PRINT" button on it. Currently, a list item's page has a "Close" button together with the following tabs such as: "New Item", "Edit Item", "Delete Item", "Manage Permissions", and "Alert Me". "Print" button should be like the "Close" button. Once the "Print" button will be click then a "Print" window will appear to select the printer to use. It will print only the list item's content and not the whole page.
    Is there anyone who implemented as what describes above? Please help me how to implement this.
    Thank you in advance.
    Jack

    Hi,
    You can refer to the following two articles to add a "print list" option to the list actions menu:
    How to add a "print list" option to the list actions menu
    http://www.sharepoint-tips.com/2007/01/how-to-add-print-list-option-to-list.html
    List Print Templates - Beta1
    http://www.codeplex.com/sharepointtemplates/Release/ProjectReleases.aspx?ReleaseId=6018
    Hope this helps.
    Rock Wang
    Rock Wang– MSFT
    Hi Rock,
    Thank you for giving those links.
    I checked it and it was almost the same with Andre's posting. I did not try to install since as i understand, i need to do it in the server that hosted our portal which i'm afraid of doing it. I'm not an advanced user of sharepoint so i'm very careful of doing changes or enhancement to our portal.
    Jack

  • Smart Print button on Bing toolbar links to HP Smart Print web page when depressed.

    Smart Print  button on Bing toolbar links to HP Smart Print web page when depressed. I'm using IE9. How do I get the Smart Print button to work properly.

    vic235 wrote:
    Smart Print  button on Bing toolbar links to HP Smart Print web page when depressed. I'm using IE9. How do I get the Smart Print button to work properly.

  • Bex: diplaying the report in Web page needs print button and extend frame.

    Hi
    1. Is this possible to add print button in the web page which we execute from Bex for the Report or Queries?
    2. After Execution the display area is small within the frame , is that possible to extend the size of the frame and display?
    Thanks and points will be assigned!
    Regards
    M.A

    Hi
    1. Is this possible to add print button in the web page which we execute from Bex for the Report or Queries?
    2. After Execution the display area is small within the frame , is that possible to extend the size of the frame and display?
    Thanks and points will be assigned!
    Regards
    M.A

  • SSRS & Report Viewer control - Show the print button and fire print for multi page report in Mozilla & Chrome

    I have reports in SSRS. I am using remote reports. Reports have multiple pages.
    In IE, the print button displays, but in Firefox and Chrome, it does not display.
    Below links shows how to display the print button for mozilla and chrome. These solutions only fire the print for the
    current page in the report viewer-
    http://stackoverflow.com/questions/951009/sql-reporting-services-print-button-not-shown-in-mozilla
    http://stackoverflow.com/questions/4208457/ssrs-print-button-in-chrome-and-firefox
    I need to be able to issue a print command for all
    pages in one go from the reportviewer.

    Hello,
    The common workaround about print button on ReportViewer control for non-IE browsers is add ActiveX print control or create Print function. It has pros and cons.
    I am not good at programming. But you can try to disable page breaks by setting InteractiveHeight to 0 so that the report will rendering in single page with Report Viewer control.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Add a Print button to a Report Page

    I'm trying to add a Print button to a report page to render the page in printer-friendly mode and then give the user the option to send to a printer. I started with just trying to add a print button. I added a button to the region and added to the button request value javascript:window.print();. When I click on the print button, nothing happens. So I tried to add some html code:
    <form>
    <input type="BUTTON" value="Print" onClick="window.print()">
    <form>
    as a condition in Expression 1 when I selected "Current page is NOT in Printer Friendly mode". Nothing happens when I click on the print button. Can anyone offer some steps to create this functionality or point me to documentation on how to do this? I have tried the help documentation within APEX and isn't clear to me.
    Thanks

    The documentation wasn't very clear to me. I did try one suggestion to create a region on the report page and call it Print. The suggestion is then to add the following code to the Source Region section:
    <form>
    <input type='BUTTON' value="Print this page" onClick="window.print()">
    <form>
    The example however leaves out some significant information however. What is the region created as e.g. HTML, Report, Form, URL, etc?

  • How do I make a print button that prints "current page" as default

    I am working in Adobe Acrobat Professional 7.0 and have created "print
    buttons" in the pdf document I am working in. The print dialog box has "print all" automatically selected as the current default. How can
    I create buttons that bring the user to the print dialog box automatically selected at "print current page?" I want the user to hit
    the print button and have it automatically print the single page that they are viewing only, so that no one will accidentally print the entire book.
     

    You might also check these forums
    Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_scripting

  • How do I add a "Print this page" button (not just a "Print" button) to a PDF?

    I am creating a multipage PDF in Acrobat Pro 8 for a client and it includes a linked table of contents with several sections and also several forms sprinkled throughout. I need to be able to add buttons that allow the user to print specific page numbers. Is it possible to add a "print this page" button to a page ... or even a "print this form" in case the form within the larger document is multiple pages? I would appreciate any help, thanks!

    I was just coming back to here to say I've figured it out and am using an invisible button (over text that was created to look like a link) on each page... tested and working (when combined with the code). Thank you for your replies!

Maybe you are looking for

  • Buyer Beware!! No data plan when using Droid X as a hotspot!!

    I purchased the Droid X right when it came out and got the "unlimited" data and hotspot options.  I just received my first bill and it has $250 worth of data charges on it.  I called customer support and learned that hotspot data is not in the unlimi

  • No longer able to follow local file links.

    In previous versions of firefox ( 28 and Earlier ) I was able to follow local file links by whitelisting them in the user preferences file as shown here: http://kb.mozillazine.org/Links_to_local_pages_do_not_work This functionality has ceased to work

  • F.Spec

    Dear Friends I am preparing a FSpec for a customized report ( sales tax register) developed long time back, for 4-5 issues/mistakes in the report. I've never done this before. Any tips/suggestions? Rgds Sumanth.G

  • Compass calibration is not accurate.

    When I do the calibration routine with Compass in iOS7, the Level function is off. Not by a lot, but enough to make it useless as a level. Fore/aft is wrong, as well as sid-to-side readings. If I tap on the screen it will find a new 0 point, but then

  • Cost Centers for Work Orders

    HI Guru's, I have an issue with work orders for our maintenance team. The orders are being settled to the incorrect cost center.  I believe this is happening because they have not been set up correctly.  Please can you tell me if there a way to trans