Using Javax.print I have to print the data which are stored in resultsets.

Using Javax.print I have to print the data which are stored in resultsets.
Actually we ar working on a project where n numbers of records are fetched from database and stored in Resultsets. We made JSF pages which displayes the records in Web Browser.
There is a link in that page. If we click that print link, It has to be printed all the records row by row using javax.print. It should act like Printer friendly in browser.
Kindly send us any example code to proceed.

Is it possible to access the cache datasource inside the script component which is available in the same data flow task??
Thanks in advance,
Saravanan

Similar Messages

  • How can I get INSTID_B for the documents which are stored using Store Business Document functionality

    Dear experts,
    I had activated the functionality of Store Business document and successfully stored documents in external server.
    My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
    Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
    Thanks in advance.
    Regards,
    Kiran

    Hi Kiran,
    You can use the following method to get the information. For example if you want to get BO documents for a customer
    CALL METHOD cl_binary_relation=>read_links
       EXPORTING
         is_object           = ls_lpor
         it_relation_options = lt_relat
       IMPORTING
         et_links            = lt_links.
    then fill  ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
    Table  lt_relat should contain a line option  for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
    In table lt_links you will get your information.
    Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
    Regards,
    Klaus

  • Weblogic will encrypt the Data which are accesssed by using its Data Source

    The Connection Pool and Data Source created from Weblogic , will encrypt the data which are accessed by using this Data source and Connection Pool from the DB?
    If not how we can secure the data which are accessed from this Data Source?
    Bye
    Srinivasan

    The connection between WL and the database can be encrypted; your DBA needs to configure the encryption on the database and then you set properties in the connection pool.
    If you want to encrypt the data within the database, some databases can also do that.

  • How to play the videos ,which are stored in server ..?

    Hi,
    my requirements is : I want to play an video on web page(jsp) Which are stored on server ...how we can impliment that ....
    The video should not ask download and save option .......in webpage it should start playing once i click on play ..as similar to Youtube.com ...

    Hello
    Here you can find an applet example example
    it is made with javafx
    Edited by: Virux on Feb 12, 2009 10:59 PM

  • I was using an apple id, but now I wanna use a new apple id and keep all the data which i stored in the old one. Is that possible to do that?

    I was used one apple id for 2 phones.
    But now, I would like to use a new apple id but store back the old data from the old apple id.
    Is that possible to do that?

    No it is not. Purchases are forever tied to the Apple ID that they were purchased with.
    However, if you want to change your Apple ID, and it is not an @me.com, @mac.com, or @iCloud.com email address, you can log on to Manage your Apple ID with your current ID and password, then click on the EDIT button next to the Apple ID. You can change it to any valid email address that is not an Apple domain email address (the @me, @mac, @icloud mentioned above):
    Apple - My Apple ID
    Cheers,
    GB

  • How to set the link to the result which are executed my query from database

    Hi,
    i have successfully displayed the results which are available in the database by jdbc, query.
    Then, How to give the link like href to each & every result...
    note: The number of records may be change. depending upon the records availablity in the database. but every result have the link.
    Thanks in advance.
    Regards
    Kumar

    hai kumar..
    i post an example code ..
    <%
    ResultSet rs1=stmt.executeQuery("select fromu,subject,message,mdate,status,mesid from message where to='" + lname +"'" );
    while(rs1.next())
         l=rs1.getLong(6);
         out.println("<tr align='center'> <td> <a href='deletemessage.jsp?mesid="+ l + "'>Delete </a></td><td>" + rs1.getString(1) +"</td><td> <a href='viewmessage.jsp?mesid="+ l +"'>"+ rs1.getString(2) +"</a></td><td>"+ rs1.getString(4) +"</td><td>"+ rs1.getString(5) +"</td></tr>");
    %>

  • How do I configure my Airport Extreme to see the printer I have plugged into the USB port?

    How do I configure my Airport Extreme to see the printer I have plugged into the USB port?

    OK. The 6.0 version no longer has a printer configuration that I could find. You might try Printer Sharing in the Sharing preferences.
    I would also check the printer's user manual for help with the setup, and that failing check the manufacturer's website and/or tech support.

  • I need to buy a printer for simple home use. Needs to have iPhone print ability.

    I need to buy a printer for simple home use. Needs to have iPhone  print ability.  Any suggestions from personal experience?
    <Re-Titled By Host>

    Buy an AirPrint printer, read here:
    About AirPrint - Apple Support

  • When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the o

    When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the original in my work folder. I need to know how to stop this from happeing and get it back to the way it has been working he last 6 months since i purchased this program.

    Hi pissedadobeuser,
    Does this issue occur with any particular web page?
    Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
    Which Browser version, OS version and Acrobat version are you using?
    Regards,
    Rave

  • HT1766 I have an iphone 4.I upgraded it to 5.0.1 and so I have lost all the data from my iPhone,but i have a backup in my computer.How do I use the backup file ? i.e How will i get that backup file in my iPhone ?

    I have an iphone 4.I upgraded it to 5.0.1 and so I have lost all the data from my iPhone,but i have a backup in my computer.How do I use the backup file ? i.e How will i get that backup file in my iPhone ?

    Connect phone to computer.
    Select Restore.
    Tell iTunes which of the available backup files to use, let iTunes restore it.
    Also, try reading the User's Guide as it answers questions like this.

  • Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Open the document,
    Tap the Tools icon (upper right).
    Tap Document Set up.
    Drag the margins to the position you wish (the actual margin width sould display as you are doing this).

  • Can I transfer my hand made album sequence (sort order) defined in element when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?

    Can I transfer my hand made album sequence (sort order) defined in elemenst when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?

    Andrew, I know I am extremely late to the party but I too use Grid View.  I had the same problem that you had but have found this to work for me.  I used it and it is still holding as my default sorting even after switching between the Artist page and Grid View.
    Once you are inside of the Artist page continue to click on the Album column until it shows Album by Artist/Year.
    That will give you each album sorted by the year instead of it randomly sorting it for you each time you leave an Artist's page and then back again.
    Hope this helps.

  • I have mavericks installed. my safari crush since this morning. to use it again i have to close the program and reopen it. after few clicks crushes again. any idea?

    i have mavericks installed.
    my safari crush since this morning (I can not scroll between pages, if I try to reopen the page, safari open in exactelly same point is blocked).
    to use it again i have to close the program and reopen it. after few clicks crushes again. any idea?

    Quit the application. Force quit if necessary.
    Relaunch it by holding down the shift key and clicking its icon in the Dock. From the menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data

  • HT4203 I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications.  How is this possible. Can someone help me understand this.  Thanks.

    I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications.  How is this possible. Can someone help me understand this. 

    I assume you are including the STIX font as part of your epub files?     
    Perhaps the folks who do this blog might be able to help -- they have done some work with font embedding:
    http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-an d.html

  • HT2729 all download and file copies have been paused. the disk you are attempting to use is full

    this is the message im having trouble with.
    all download and file copies have been paused. the disk you are attempting to use is full
    what do i do now?
    thanks

    Perhaps the destination you are trying to download to is full; that's what the message says, after all.
    If you're trying to download directly to an iPod touch, then perhaps it is full up.
    If you're trying to download to your computer, is there space on your hard drive? Alternatively, is the hard drive set to "read only" or are your account permissions set to deny you the option to save files?

Maybe you are looking for

  • Conditional Invoice Blocking

    Dear Experts , I want to block all the invoices that have a value above 5000 INR . How is this possible ?? Pls tell me the settings . Regards Anis

  • How to hide pdf in export option in ssrs ReportViewer

    Hi, This is the code which is used for ReportViewer 2008 and i need code for ReportViewer 2010. so please help me out asap.    private void CustomizeReportViewer(System.Web.UI.Control reportControl)             foreach (System.Web.UI.Control childCon

  • SQL Table Lookup during WhilePrintingRecords phase

    Post Author: BrHunt CA Forum: Data Connectivity and SQL Is it possible in Crystal XI to perform a "real-time" SQL table lookup while processing records for printing?  Possibly in a user defined function? Thanks. Bryan Hunt

  • FourthElephant Digger - unable to open a trace file

    Hi, I just installed the Extension from FourthElephant.. When I try to open a trace file, I get the following error: Error parsing file D:\Programme\SQL Developer\sqldeveloper 1.2.1\sqldeveloper\mywork\entw10g_ora_480.trc Following details are shown:

  • What is wrong with Imessage? it says " waiting on activation"

    Imessage was acting up on me this morning, So i decided to turn it off & then back on. It will no longer turn back on. I have restarted it, Reset network settings & shut off phone. NOTHING IS WORKING!!!