Help in download & Printing of report

Hi all,
we are developing one web application in that one my jsp page generate report in table format, This jsp page is having two buttons one for downloading and another for printing .When I click on download button that report should be downloaded into either word document or excel document.when i click on Print button that Report should get printed out.
Please help me how to do this functionality.I need a way to start with.....
Thanks in advance
Namrata

namratasingh wrote:
When I click on download button that report should be downloaded into either word document or excel document.Is CSV also fine? This is the easiest, if you already have a collection of data behind. Otherwise look around for reporting API's, such as Jasper Reports and Crystal Reports.
when i click on Print button that Report should get printed out.Is your HTML/CSS semantized? Is the data already displayed as HTML on the page? Then provide a CSS style for the [print media|http://www.w3.org/TR/REC-CSS2/media.html] and call Javascript window.print(); on click.

Similar Messages

  • Help me out printing a report

    I'm trying to print a report directly to the printer and it's being hard. To see the report in the screen it's easy but to the printer it always gives an error. Is there a way that i can print to a local printer? I'm trying to set destype to printer and desname to printername, wich is a printer that users have in their system. I have my forms running in a linux server. How can i do this?

    The only way I know of to send the output of a report directly to a printer is through the use of a Java Bean. Take a look at the article: A Java Bean to print files to the local printer.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • HELP IR Download filtered saved report to CSV

    Hi there
    My enquiry is to do with the saved reports feature in Interactive Reports Apex 4.1
    I create a default IR report and then I subsequently define a filter on this report effectively limiting the displayed output to the rows of data I want to see. I then save the report which is now a 'private' report. If I run the 'saved' (with the filter condition) IR report it displays the data correctly, with the 'saved' report displaying the correct data on the screen I then click Actions->Download and then select CSV - the entire 'primary' report is downloaded -- The filter is ignored!!! Surely the Actions->Download should 'know' that I want download the report that's being displayed (just run) on the screen?
    I think that when you click on the CSV icon the report is re-submitted - How can I get the CSV download to apply the filter that I've defined in the saved report.
    I've searched this forum and found the following similar question being asked
    Re: Problem with export from a saved interactive report
    Interactive Report Download to csv problem
    how to download only filtered data in csv?
    Re: Download Saved Report in IR 4.1
    Thanks in advance
    PS: Is the above an undocumented feature of Apex IR Reports?
    Edited by: boketi on Sep 25, 2012 7:05 AM

    Hi Sathish,
    Thanks for your comment.
    I agree with just a 'default' report the CSV download always gives what is displayed on the screen. If you then define another report with a filter condition and run this 'private' report 'sometimes' the CSV download gives the origional primary report, ignoring the filter condition. Please see the attached links as other people are also getting the same problem.

  • Not able to take print a report directly to the printer

    Hi All,
    Can anyone help me to print a report directly to the printer?. Currently, I am viewing the reports in the screen and then taking print of that report. If anyone knows the solution for this, please give me the feedback immediately. It is very urgent.

    HI ALL
    i have the same problem plz tel me som solution 4 it
    thanx in advance

  • Need Help with Print a Report

    Hi,
    I am building a database application in Java and now i need to print some reports ....
    I need to get the data from the database .. do some calculations , and then print in on paper.
    I checked online and got some tools like JasperReports, jfreereports, ReportCat, etc. so I was wondering if somebody can suggest whats the best.
    In my report I will have to print more than one table on one page.
    for example:
    if I have 4 Invoices. then i will have 4 tables .. one for each invoice.. and each table will contain
    the elements for that Invoice.If all can't fit on one page then it needs to go next page.
    I would like to do all this stuff in Java without using any reporting tool ... but I am not really sure how this can be
    done .. can someone give me an idea ... as per how this can be done .. will really appriciate all the help.
    Thanks in advance,
    sandsouza

    Hi,
    Can somebody please help me with this.
    Thanks in advance
    sandsouza

  • Print the report title

    Hello All,
    I have a report page with some search item.When I print the page the title does not appear on the output page.
    How I can print the report and its title on the output page.
    any quick help please

    Hi Mohammad
    I allow users to download reports using the Interactive Reports Region.
    If you use that method then you can insert a title at the top of the report by populating the Report Region > Print Attributes (TAB) > Page Header
    Note: This is available when using APEX coupled with Oracle Business Intelligence Publisher. It does not work with "CSV" output.
    Kind regards
    Simon Gadd

  • Unable to open PDF output (PDF downloaded from Interactive Report--APEX)

    Hi,
    I'm getting below error while opening a PDF file downloaded from an interactive report (APEX).
    Adobe reader cound not open "TEST.pdf"because it is either not supportd file or because the file has been damaged.
    Thanks & Regards,
    Ramamuni.

    Steps of pdf Printing of Report from FOP:
    1) Download and unzip the following needed files in D:\Apex_fop directory.
    2) Open your command prompt .
    Change the directory to D:\Apex_fop\cocoon-2.1.11.
    Set the Java_Home environment variable as: set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_21
    then type build war
    3) After getting the prompt back as D:>Apex_fop>cocoon-2.1.11>
    Copy coocon.war file from the folder D:\Apex_fop\cocoon-2.1.11\build\cocoon.
    Paste this file into webapps subdirectory in main tomcat directory having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps.....place it in the top
    level of webapps directory.
    4) Now just startup tomcat as D:>APEX_FOP>apache-tomcat-6.0.26>bin>startup.bat
    The cocoon.war file will automatically uncompressed as directory.
    5) To change the port of apache tomcat , edit apache-tomcat-6.0.26\conf\server.xml & change port attribute of Connector element from 8080 to 8181.
    Just check whether Tomcat is running or not as http://localhost:8181/
    & to check cocoon type http://localhost:8181/cocoon/
    6) Now copy fop_post directory & paste it undes new cocoon directory in webapps having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps
    \cocoon.
    7) Now you need to do some apex settings as follows:
    In APEX, just log in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address:localhost
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In your APEX application, in the Regions section, Click on the Print link next to your report and do the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Report Settings
    - View File As: Attachment
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    8) Open up the Report Page and click Print , You will get the pdf report.
    I am sure this will help you
    Regards

  • Printing Crystal Report to Postscript

    I'm using Crystal Reports for Visual Studio 2005.
    I'm trying to print my reports to the postscript file:
    PrinterSettings ps = new PrinterSettings();
    ps.PrinterName = "TRADEPOSTSCRIPT";
    ps.PrintFileName = txtPath.Text.Trim() + "
    " + txtFormNo.Text.Trim() +
    ".ps";
    ps.PrintToFile = true;
    rpt.PrintOptions.CopyFrom(ps, ps.DefaultPageSettings);
    rpt.PrintToPrinter(1, true, 0, 0);
    Although I specified PrintToFile and a path, I'm still getting prompt for the file name.
    I'd found some posts in the forums
    (http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=844) saying
    that there was a bug with PS printing in Crystal reports that had been fixed
    in version Crystal XI Release 2 Service Pack 3. But, first, I even don't
    know what version I have, I couldn't find a way to look it up in the Visual
    Studio - there is no CR version under Help. Second, I cannot update directly
    from my Visual Studio, for some reason this update doesn't work, and I
    cannot download an update from the Business Objects web site either, it
    seems that only registered users of the full version can do this.
    I would appreciate very much any help with this issue. How can I get an update to fix this issue?
    Thank you,
    Peter

    Hello,
    Thank you for your responses.
    Yes, I'm using a bundled version that came with VS 2005.
    I'd love to download this update, but I cannot get there! I don't have an login and password for this site, and I don't know how to get them.
    This is all I'd found about this issue in this thread:
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=844
    "I opened an incident with Business Objects.  They said there is not a way to do what we want to do with the Crystal Reports for .NET assemblies.  They are going to implement a way to create a postscript file and include it in Service Pack 3 of Crystal XI Release 2.  They would not say how the postscript will be created (ie, ExportToDisk or any other method), only that they would include it in CRXI Release 2 SP3 which they intend to release sometime this coming winter. "
    "Just an update...this has been fixed in Crystal XI Release 2 Service Pack 3.
    I just finished testing, and it now allows you to print to a file without prompting the user.  We are now able to create a postscript file."
    Thanks,
    Peter
    Edited by: Peter Afonin on Jul 16, 2008 11:52 AM

  • Physically printing a report from Apex using BI Publisher

    Hi,
    I know it is possible to generate and download a PDF (or any other format) in Apex using BI Publisher (Apex 4.0.2)
    But is it possible to physically PRINT a report in a specified printer? For example, the user clicks a button and the report comes out of the printer just like that.
    Note: I am NOT after a solution where the report is firstly displayed on the screen and then the user performs some action to print it from there (that is pretty easy to do.)
    I know that BI Publisher can do it, as its web service has an option to do so.
    Thanks
    Luis

    Hi Luis,
    not sure this is possible.
    Only SOME of the features of BI Publisher are used from APEX as a service to create the reports.
    *) I am not aware of any parameters / attributes in APEX so that you could specify a printer directly
    *) It is not part of the API you could use instead manually:
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDGFADB
    I have just recently implemented that myself for an integration with JasperReports. It is currently in beta test:
    http://daust.blogspot.de/2012/08/jasperreportsintegration-200-beta-test.html
    Thus your options are:
    *) I am not sure that BI publisher allows that but perhaps you could first call the apex utility function apex_util.get_print_document to retrieve the blob from bi publisher. Then perhaps (if allowed) send the blob again by yourself and using the print features of bi publisher.
    Here you would have to write the utl_http communication yourself.
    *) If bi publisher doesn't allow the separate process (generation first and then sending it to a printer) then you would also have to write a j2ee application which does that.
    *) another option could be to store the generated blob in the filesystem on the database and call a shell script from within the database. This shell script would send it to the network printer.
    Hope that helps,
    ~Dietmar.

  • Option to download all the reports in a page

    Hi All,
    I have a requirement like this.I have a page on my dashboard.In that page i have 4 reports.Is there any option to download all the reports in the page at a time or any workaroungd for this.
    Thanks,
    chandra

    Hi,
    You can download all the reports in the same dashboard at a time.
    1.Add a text to the dashboard at the end of the dashboard.
    If you want download in a PDF format then Add this code to Text
    open(<) a href="give ur dashboard path here"&Action=Download&Format=pdf"(>)DownloadPDF(close tag</a>)
    If you want download in a Excel format then Add this code to Text
    open(<)a href="give ur dashboard path here&Action=print&Format=excel2000">Excel 2000(close tag</a>)
    HTML code will be like this
    open A tag href="path&Action=download&Format=pdf/excel2000">
    Assign text(Download PDF/Excel)
    close A tag
    Note:Remove the "(" and")" in the HTML code
    mark if helpful/correct...
    thanks,
    prassu

  • Printing pdf report

    Hi,
    can anyone help me or show me a link to a website in apex how to print a report in PDF format??
    regards,
    EKAS

    Hello,
    You have many options, but, I've spent a lot of time on this problem, so I can spell out the way I've fixed that in my case (I was looking for an open source way) :
    I worked from the Carl Backstrom's tutorial ( http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html )
    1) You need a listener. I installed the Glassfich one (open source edition)
    http://www.oracle.com/technetwork/java/javaee/downloads/index.html
    I've chosen a unused port (I had already an http server on the port 8080 and 7777)
    Go to http://localhost: your_port / to check it
    2) Build the cocoon.war file
    - Download Cocoon (2.1.11 release, be careful to this, the installation procedures change depending on each component release)( http://cocoon.apache.org/mirror.cgi )
    - Open sqlplus
    - Go to the Cocoon folder: >cd +.._COCOON_HOME_+ \cocoon-2.1.11
    - >set JAVA_HOME= +.._JAVA_HOME_+ \jdk1.6.0_07
    - >build war
    3) Install the Cocoon application from the Glassfish server using the .war file
    4) Install the apex fop files :
    - Download the fop_post files ( http://apex.oracle.com/i/carl/apex_cocoon/fop_post.zip )
    - Copy fop_post in the Cocoon main repository :
    C:\glassfishv3\glassfish\domains\domain1\applications\cocoon (by default)
    5) Apex configuration :
    Apex Admin > Manage Service > Instance Settings > Report Printing
    Print Server Host Address : localhost
    Print Server Port : your_port
    Print Server Script : /cocoon/fop_post/

  • Scheduled printing of reports

    Hi!
    I was wondering if oracle supports scheduled printing of reports. If yes, can someone tell me how? Or maybe post links? I've been searching the net for a while and couldn't find any. I would appreciate some help.
    Thanks!

    This feature is not a database feature, so it's not dependent on your Oracle DB version. It is a feature of the Developer Suite/Application Server. It was already available in the 9i version. Check this link: http://download-west.oracle.com/docs/cd/A97329_01/bi.902/a92102/pbr_run.htm#1008446
    Good luck,
    Rob

  • Print Quote Report

    Hi All,
    I have a requirement to develop the custom print Quote Report. When i review the standard pring quote report ,I found a call like <?call-template:TermsTemplate?>.
    This statment itself is getting all the Terms and Conditions for that report. when i looked in the ASOPRTXSL.xsl, I see the below statement
    <xsl:template name="TermsTemplate">
    <xsl:call-template name="PrintContractTerms"/>
    </xsl:template>
    I am pretty new to XSL, dont know what's happening here. Please help me ASAP
    I have also posted this question in BI Publisher but did not get any respose . Please Help
    Thanks

    If you want to create a custom report using concurrent program then refer:
    http://apps2fusion.com/apps/apps/63-xml-publisher-concurrent-program-xmlp
    If you want to create a custom report using OAF page then refer:
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    -Anand

  • Queation Regaring Print Quote Report

    Hi All,
    I have a requirement to develop the custom print Quote Report. When i review the standard pring quote report ,I found a call like <?call-template:TermsTemplate?>.
    This statment itself is getting all the Terms and Conditions for that report. when i looked in the ASOPRTXSL.xsl, I see the below statement
    <xsl:template name="TermsTemplate">
    <xsl:call-template name="PrintContractTerms"/>
    </xsl:template>
    I am pretty new to XSL, dont know what's happening here. Please help me ASAP
    Thanks

    Can anyone answer this please. This is urgent . Thanks

  • Print crystal report without using the print button on toolbar

    Hi,
    I am working on Crystal report XI. I need to print the report w/o using the toolbar. So I have inserted a print icon in the report. On clicking that icon it should call a jsp page which will print the report. I am not able to call any print methods provided by JRC to do this.
    Can someone help me with this problem.
    Is there some other way to implement it ?
    Thanks
    Message was edited by:
    CR_newbie

    Print the report where? On what printer? The server's printer?
    Java code runs on the server. You can't affect the client's computer from JSP.
    You can write javascript code which can call window.print() but that is working through the browser to display the print dialog box (as if the user selected file:print)

Maybe you are looking for

  • Does the Conficker worm affect Macs sharing a network with a PC?

    I asked this on Yahoo! Answers, but I am not sure. I want to receive an answer from a reliable Macintosh user. My sister and I share the same network to access the internet, but she is a PC owner while I run a Mac. Will I be affected by this worm?

  • Naming Conventions for Workflow

    Hello, does anybody have a document for Naming Conventions for Workflow. I found nothing the last hour. Thanks in advance for any help ... Stefanie

  • IDOC questions

    sir, want to know, 1.What is the difference between IDOC types and IDOC views? 2. Have u heard of document tool. What is the use of it? 3. What is IDOC archiving? 4. Have us written IDOC extension code. 5. Can u able to write function module to gener

  • Color Settings for neon colors?

    I'm trying to make a document, used to print on a t shirt, and i need neon colors. For some reason everytime i pick a neon color, the color that actually shows up on the document is more of a pastel color. I tried changing some of the color settings

  • Hard Drive Not Mounting

    I am relitively new here and I thought I would see if any of you could help me! My main drive is not mounting.  When I boot up the recovery HD (stored on a USB key) the hard drive shows up however the partition is greyed out.  I can't mount the disk