How to print a Pdf from Java script

Hi,
I need to print a pdf from java script. In java script i have url of pdf. Is there any way to print pdf from java script?
I am able to print word doc by ActiveX. is there any activeX or something else which do the same thing for pdf?
Any help heartily esteemed to me.
Thanks
Kamlesh Sharma

you are cross postin .. your thread has been answered in the jsp jstl forums

Similar Messages

  • How to get the parameter from Java Script into the Parameter crystal Report

    Hi All,
    Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
    My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
    FYI.
    Java script sends the right parameter value.There is no issue in java script.
    This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.

    Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
    If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
    Please clarify?

  • How to Call a JSP from Java Script

    Hi,
    I want to call a jsp from Java Script.
    I am having IntelliJ IDEA 4.5 (IDE) and weblogic server.
    should i do anything on web.xml,weblogic.xml
    I have written one jsp, Java script.
    I want to call a jsp from Java script

    function submitf(){
    document.xyz.action ='ReportSave.jsp';
    document.xyz.method='POST';
    document.xyz.submit();
    <form name='xyz'>
    <input type='text' name='text1'>
    <input type='text' name='text2'>
    <input type='button' name='xx' value='submit' onclick= submitf()>
    </form>
    Is this what u want???
    Regards,
    RAHUL

  • How to fire an event from Java Script

    Hi,
    Here is my problem: using JSF
    I have a selectOneMenu list box when a value changes a valueChangeListner event is fire that all works great now the problem I'm able to add items to the list from a popup form using Java Script but I need the valueChangeListner to fireup every time I add a item any ideas how to do that
    Thanks

    Just do form.submit().

  • How to print 9x12" pdf from Acrobat on 11x17"?

    This should be easy to do, but the dialog boxes in Acrobat won't let me print a 9x12" pdf centered vertically on 11x17" at 100% on our HP 9500 laser printer.
    Instead I get an 8.5 x 11" sized printout, scaled down (9x12" doc scaled to fit 8.5x11" paper), in the bottom corner of the 11x17.
    I've gone thru the obvious menus:
    Page scaling = None
    Paper handling / Destination paper size:
    - Tried "Use documents paper size -8 1/2x11" (No choices here, document is actually 9x12)
    - Currently at "Scale to fit paper" / "Tabloid"  (This is apparently the ONLY place Acrobat lets me choose paper size. I dont want to scale at all)
    "Paper Feed" is tray 2- loaded with 11x17
    Would appreciate some insight on what to try

    When you go to print menu look toward the bottom: http://www.screencast.com/t/Uam4FxLNMJ52
    then click on item I have arrow pointed to.
    Then  you will see this: http://www.screencast.com/t/aHF7HxvXd
    Yours may vary according to your printer.
    Then setup size Paper.
    if this is going to be a permanent setting for acrobat then when you open to: http://www.screencast.com/t/aHF7HxvXd and finish setting up at the to top where is say attributes click and hit  Make Default (save).
    This tells printer when acrobat is openned that this is default setting. You no longer have to set this.
    Or you can from the Printer Menu click on the printer menu button at bottom of screen click on button that shows your Printer's Name and choose Save. Give a title such as Acrobat 11X17" the save click save or okay.
    then you can from printer menu call up this setting in future.

  • How to call backing bean method from java script

    Hi,
    I would like to know how to call backing bean method from java script.
    I am aware of serverListener and [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
    but i am running in to some issues with [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
    regarding which i asked for help in other thread with subject ....Question on AjaxAutoSuggest article (Ajax Transactions Using ADF and J...)
    The reason why i posted is ( though i realise both are duplicates) .. that threads looks as a specific question to that article hence i would like to ask the quantified problem is asked in this thread.
    So could any please letme know how to call backing bean method from java script
    Thanks
    Murali
    Edited by: mchepuri on Oct 24, 2009 6:17 PM
    Edited by: mchepuri on Oct 24, 2009 6:20 PM

    Hello,
    May know how to submit a button autoamtically on onload of page with clicking a welcome alert box. the submit button has managed button too to show a message on console using SOP.
    the problem is.
    1. before loading the page a javascript comes on which i clicked ok
    2. the page gets loaded and the button is there which gets automatically clicked and the managed bean associated with prints a message on console using SOP.
    I m trying to do this through server listener and click listener. the code is(adf jspx page)
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_check4.d1}">
    <af:form id="f1" binding="#{backingBeanScope.backing_check4.f1}">
    <af:commandButton text="commandButton 1"
    binding="#{backingBeanScope.backing_check4.cb1}"
    id="cb1" action="#{beanCheck4.submit1}"/>
    <af:clientListener type="click" method="delRow"/>
    <af:serverListener type= "jsServerListener"
    method="#{backingBeanScope.backing_check4.submit1}"/>
    <f:facet name="metaContainer">
    <af:resource type ="javascript">
    x=confirm("hi");
    // if(x){
    delRow = function(event){
    AdfCustomEvent.queue(event.getSource(), "jsServerListener", {}, false);
    return true;
    </af:resource>
    </f:facet>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_check4-->
    </jsp:root>
    the backing bean code is -----
    public class classCheck4 {
    public classCheck4() {
    public String submit1() {
    System.out.println("hello");
    return null;
    }

  • How to read and print a Pdf from Server

    Hallo, i need a help. I have some pdf documents on server and i want to allow viewing and printing them from the client. I would like not to have it outside my application cause i don't want client computers have to download adobe reader.. I think that purePDF can help me but i really don't know how to load the stream and put it on display.. Can anyone help me or give me some advices?
    Thx for all
    Max

    The simplest way that I know of would be to use 'navigateToURL()' and let the user to print the pdf from the browser.
    Does anyone have the advice on doing this within the Flex app; i.e. without opening a new browser window?
    FTQuest.

  • CreatePDF Desktop Printer will no longer be available so how do I print a PDF from a scanned document????

    CreatePDF Desktop Printer will no longer be available so how do I print a PDF from a scanned document????

    Hi jwlaunch,
    This document describes some alternatives to CreatePDF Desktop printer: Adobe CreatePDF Desktop Printer is no longer available
    Please let us know if you have additional questions.
    Best,
    Sara

  • How do you print a pdf from Windows 8?

    How do you print a pdf from Windows 8?

    What is your operating system?
    Is this a local or online PDF file?  If online, in what browser?

  • How to print different pages of sap script  from diff. trays of printer

    Hi All,
    I have the requirement in SAP script. How to print different pages from different trays in the printer.
    For example  page 1 logo and address has to print from tray-1,
                        page 2 main data print from tray-2,
                        page 3 footer data print from tray-3.
    will appreciate if u come up with solutions asap.
    Thanks in advance.

    Hi,
    May be the links given below might help you,
    SAPScript:Selecting Different Tray in SAPscript
    Print to different output tray in SAPscript/Print Workbench
    Regards,
    Hema.
    Reward points if it is useful.

  • When printing to PDF from webpage, the pdf is compressed on the bottom of each page and markedly smaller print. How do I correct this?

    When printing to PDF from webpage, the pdf is compressed on the bottom of each page and with markedly smaller print, the top of the page is fine. How do I correct this?

    Open Contacts and click Preferences on the menu named Contacts. On the General tab of the Preferences window, select Show First Name: Before Last Name and then print. You can change that Preference back to the other way after printing if desired.

  • How to detect whether browser's java script  disabled or not from server

    How to detect whether browser's java script disabled or not from server side

    I would use a hidden parameter created by a javascript. if this is null, javascript is disabled...

  • How do i print to pdf from excel? I am using Windows 8.1 and Office 365 (new)

    How do i print to pdf from excel? I am using Windows 8.1 and Office 365 (new)

    Please see Huge lag in games on bootcamp as a reference. The linked thread is for a GT750m.
    Since there are no mid-2013 Retina models (as per Apple - Support - Technical Specifications), assuming this is your Mac - MacBook Pro (Retina, 15-inch, Late 2013) - Technical Specifications - the same should work for you.

  • How to print multiple PDF attachments from report

    Hello experts,
    I have developed an ALV report that is having some PDF attachments and I have push button(Print all) as shown in below image.
    When I click on print all button all the pdf attachments should be send to printer.
    I did check in the SCN but I found some posts to print single pdf from after opening the pdf and some posts to view a pdf file which is saved on desktop but in my requirement I have multiple pdf attachments and I have to send all the attachments to printer with print all button click without opening the attachmens.
    Can you please help me to resolve this issue.Thanks in advance.
    Thanks & Regards
    Suman

    Hi,
    Your Requirement is bit complex,
    i hope we can achieve the solution if follows bellow links and we use application server for temporary storage.
    Print Adobe Document from any URL link in SAP ABAP.
    Hope this will help you.

  • How to print a pdf file from Labview

    Hi,
    Does anyone know how to print a pdf file form Labview. I need to be able to point on the pdf file and to print it.
    Activex examples doesnt seem to be working it always displays an error, on every PC that I tryed to run it.
    {"code 3005" ,,,"Automation Open: Object specified is not creatable in Display PDF in Dialog.vi"}.
    Thank you for your help.
    Regards,
    Jenia.

    You can use the "System Exec.vi". The command line should have the following structure:
    "<Path to AcroRd32.exe>" /t "<Path to document>" "Printer name"
    For example"
    "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /t "C:\myreport.pdf" "Tektronix Phaser 300i"
    Regards;
    Enrique
    www.vartortech.com

Maybe you are looking for