Problem printing CFChart data

I'm having a problem printing a page with a graph generated
by CFChart. If I render the graph as a jpg or png and attempt to
print it using normal browser/javascript functionality
(self.print), only an image placeholder is printed containing the
message "Image Expired. Please refresh the page to view the
image.". Interestingly, however, rendering the graph as a swf
prints perfectly. The best theory I've been able to come up with is
that if it's an image, CF generates the graph, and then deletes the
phyical file as soon as the browser has rendered it and if it's a
swf, it either does things differently or your browser just caches
swf files differently.
If I've missed something obvious somewhere along the line,
please feel free to point out my shortcomings. If not, any advice
would be appreciated anyway.

What is the value of your environment variable 'NLS_LANG'?

Similar Messages

  • Problem printing date on the form

    Hello friends ,
    I am doing form for the HR . Is there any special formatting needed to print the date on the form . I am doing this .
    &t_payment-paydate& in the main window of the form .
    t_payment is the table and paydate the date of payment . But instead of printing 1/22/2006 . It is printing 3//20/07/2 some junk value . Is it the format related problem ?
    Any suggestions . You help would be greatly appreciated .
    Regards & Thanks ,
    Hari

    HI,
    You can do like this.
    You make the following changes in the program
    1. Define a character type field
         data: v_payment_date(10) type c.
    2.  Assign the date value to the character field
          write t_payment-paydate to v_payment_date.
    You make the following changes in your sapscript text element.
        instead of using field t_payment-paydate use v_payment_date.
    Thanks
    Ramakrishna

  • How to print text/data in flex 3 using printer???Plz help...

       Hi,
              plz tell me the way to print text/data using printer in flex.  I tried the FlexPrintJob class. but it takes object of a container to be printed & prints the visible content of that container(along with scrollbars), bt i want to print all contents of the container(including invisible).
          I have tried to print bitmap image through FlexPrintJob but it takes lot of time for spooling... So plz help me out in printing(fast with all content) in flash
    I am using flex 3 (flex Builder 3 IDE).
      Thanks in advance!!!

    Hi Sagar,
    Don't worry You can use the below work around to print all the contents of the Container including the invisible contents under scrolll with out scroll bar..
    So what the idea here is we are seeting the container height to full size with out scrolls before sending the container object to printer and as soon as you print the object you are restoring it to the original height with scrolls...so that you can print the full contents without scrolls...
    You may have doubt that by chnaging and restoring the size the user may see momentary resize of the container but it is not so as it is a fraction of a second and user cannot notice this change... Give it a try ..I had already run into this problem recently and I have found a work around for this which is as below:
    // Here mainContainer is the container or box id the contents of which you want to print
       private function doPrintContainer():void
        var printJob:FlexPrintJob = new FlexPrintJob();
        if(printJob.start() != true) return;
        try
         var mainContainerHeight:int = mainContainer.height;
         //Increasing the height of the desired component to be printed.
         mainContainer.height = mainContainer.measuredMinHeight;
         mainContainer.verticalScrollPolicy = "off";
         //Adding the resized Component to our FlexPrintjob and then sending the print request
         printJob.addObject(this,FlexPrintJobScaleType.MATCH_WIDTH);    
         printJob.send();
         //Resizing the component back to normal size
         mainContainer.height = mainContainerHeight;
         mainContainer.verticalScrollPolicy = "auto";    
        catch(error:Error)
                     trace("Error : " + error.message);
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • Using htp.p for print dynamic data in apex region make my page slow?

    Hi, everyone!!! My name is Rafael, and...
    I search in the web and in this forum but i can´t find a answer for my doubt.
    Using the procedure htp.p for print dynamic data in apex region through on demand process , this will leave my webpage slow to load when the user access?
    Example:
    For build a menu in my webpage, it´s read a function in the database that returns variable string, so by a demand process this string is obtain and print in a web page using htp.p.
    I notice that this practice causes slow to load the data on the page.
    This is it...
    If someone help me, thanks...
    bye and Happy new Year!!!
    Edited by: user9518141 on 26/12/2009 17:19

    Hi,
    Try commenting out the function call and print some sample text in the htp.p like htp.p('Hello world..');
    I think the function call is probably taking a lot of time .. not htp.p.
    I have used htp.p to print out values dynamically in a lot of situations and have not ever come across any performance issues.It could be a problem with the function you are calling.
    Thanks,
    Rajesh.

  • Printing System Date on Report Title

    How can I print the system date on the title of report generated by SQL*Plus?
    I remember it is possible to include SQL.PNO in the statement TTITLE to print the page number. Is there any variable like SQL.PNO which represent system date?
    Previously I've include SYSDATE to the SELECT statement of the report. It is the column named TODAY, with option NOPRINT and NEW_VALUE TT_TODAY, where TT_TODAY is include in TTITLE statement. The problem is: if the SELECT statement returns nothing, TT_TODAY will be blank/Null.
    How can I work around with this problem?

    Dear all,
    My colleague told me the way to print System Date on title of SQL*Plus report as followed:
    COLUMN today NEW_VALUE tt_today NOPRINT FORMAT A1 TRUNC
    TTITLE CENTER tt_today RIGHT SQL.PNO
    SET FEEDBACK OFF
    SET TERMOUT OFF
    SELECT SYSDATE AS today FROM DUAL;
    SPOOL RPTFILE
    SELECT ....... << to generate report output >> .......
    SPOOL OFF
    SET TERMOUT ON
    SET FEEDBACK ON
    It works! The output file contains System Date on each page title.
    I don't understand why Oracle didn't implement variable similar to SQL.PNO to represent the System Date. If Oracle is able to create SQL.PNO which can increment on each page break, why not the System Date which remains the same on each page?

  • How to print formatted data / report on user's printer in Web Application

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    application is web based and tech. used are Java - jsp - servlets
    now prob. is ...
    how i will transfer all data to client (web browser) from the server and how i can print that data on user's printer ...??
    there is requirement that I can not use applet for this purpose.
    if any one done or have idea then let me know.
    thanks
    Shailesh Koradiya

    Hi
    Its simple, first of all break ur data in terms of pages. Write the logic in one JSP.
    suppose i have jsp PrintReport.jsp , for page 1 url will PrintReport.jsp?page=0 ... so on
    get the page parameter in JSP
    String page="";
    if(request.getParameter("page")!=null)
    page=request.getParameter("page");
    get the rowcount from the Result and assume records per page is 100
    if u have 1000 rows then 10 pages u have to serve
    StartRowNumber=page*recordsPerPage
    EndRowNumber=StartRowNumber+recordsPerPage
    Execute a SQL query , select * from table where rownum between
    StartRowNumber and EndRowNumber
    Provide google like pageNumbers in ur HTML page
    ie 1 2 3 4 5 6 ..10
    Regarding printing , Create HTML button called 'print' and add Javascript ' window.print()' on clicking it.
    Hope it would solve ur problem
    Cheers
    Rajendra Bandi

  • How to print the date in Horizontal way in query................

    Hiu2026u2026
    I have created a query using SQVIu2026The output is likeu2026
    Zone | Customer Group | Customer Name | Date | Value(Rs)
    East | ABC/JPR | ABC pvt ltd | 01.08.2011 | 50,000
    West | LMN/Delhi | LMN pvt ltd | 02.08.2011 | 1, 50,000
    South | PQR/Haryana | PQR auto sales p l | 03.08.2011 | 1,00,000
    My problem is i have to print the date in the format like
    Zone | Customer Group | Customer Name | 01.08.2011 | 02.08.2011 | 03.08.11 | 04.08.2011 |..............31.08.2011|
    East | ABC/JPR | ABC pvt ltd | 50000 | 150000 | 100000 | | |
    Thanks&Regards,
    Pranitha.

    Hi Pranita,
    You could try with logic:
    CONCATENATE LINES OF itab INTO warea SEPARATED BY '|'.
    BR
    Dep

  • Problem printing Report with Image in BI Publisher 11g

    I am working with BI publisher *11g* but I have problem printing images. Everything works fine if I do not include any images however when I add a image I get following problems.
    When I tried printing PDF in output I get
    Type /Xobject
    subtype /Image
    Filter /DTDDecode .......
    When I tried printing HTML output I get
    Type /Xobject
    <html...
    ....>
    When I tried printing RTF I get
    { \fontb1 }
    { \f0 Arial;}
    { \f1 Times:}
    I think I am missing some BI publisher configuration. Can you help me in this regard.
    Thanks,
    Santosh
    Edited by: user4956795 on Jan 16, 2012 2:08 PM
    Edited by: user4956795 on Jan 16, 2012 2:18 PM

    Isn't there a way for you to do this via a Package/Procedure versus having multiple queries?
    Per the BI Publisher guide,
    Following are recommended guidelines for building data models:
    Reduce the number of data sets or queries in your data model as much as possible. In general, the fewer data sets and queries you have, the faster your data model will run. While multiquery data models are often easier to understand, single-query data models tend to execute more quickly. It is important to understand that in parent-child queries, for every parent, the child query is executed.
    You should only use multiquery data models in the following scenarios:
    To perform functions that the query type, such as a SQL query, does not support directly.
    To support complex views (for example, distributed queries or GROUP BY queries).
    To simulate a view when you do not have or want to use a view.
    Thanks,
    Bipuser

  • Problem with Windows Data Execution Prevention

    Hi. I'm running Safari 5.1.2 on Windows Vista Business. Whenever I try to print a web page (any page) Windows reports a Data Execution Prevention and closes Safari. I can always print the same web page from IE, and I can always print to PDF. How do I fix?
    LATE ADDENDUM: Now it won't  let me print to PDF either. I will have to stop using Safari - which would be a great pity as it syncs bookmarks so well to my iPad and iPhone

    I got this from someone.
    Acrobat X not printing
    I purchased Acrobat X several months ago and initially expereinced no problems printing. For the last week or so, I am unable to print PDF documents from Acrobat X. I can print successfully from any other program on my PC. I can also print successfully from Adobe Reader. However, when I open up the same PDF in Acrobat X, I click on print and select the defaul printer, a dialog box says my document is printed but nothing prints. The printer queue for the selected printer is blank.
    Eldin Rammell 7 days ago
    Voted Best Answer
    Please refer to the article:http://kb2.adobe.com/cps/928/cpsid_92870.html
    Rohit Anand answered 7 days ago  |    Comments (5)  |  New Comment     |  Report

  • SCRIPT Problem (Printing)

    Hi All.
    I am having a problem in printing invoice using SCRIPT.
    I am printing &item_amount(.2C) & i.e total amount of an line item.
    While debugging i am getting correct value but while printing it is printing value '0'
    And i am having this problem only for a particular invoice number, for other invoices script is printing correct data.
    Data in database is also correct.
    Thanks in advance.

    Hi,
    remove the c in the brackets.
    i.e. put &item_amount(.2) & .
    Regards,
    Sooness

  • Swing Applet in JSP: problem with fetching data from database

    i am facing a problem while fetching data from database using Swing Applet plugged in a JSP page.
    // necessary import statements
    public class NewJApplet extends javax.swing.JApplet {
    private JLabel jlblNewTitle;
    private Vector vec;
    public static void main(String[] args) {
    JFrame frame = new JFrame();
    NewJApplet inst = new NewJApplet();
    frame.getContentPane().add(inst);
    ((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
    frame.pack();
    frame.setVisible(true);
    public NewJApplet() {
    super();
    initGUI();
    private void initGUI() {
    try {
    this.setSize(542, 701);
    this.getContentPane().setLayout(null);
    jlblTitle = new JLabel();
    this.getContentPane().add(jlblTitle);
    jlblTitle.setText("TITLE");
    jlblTitle.setBounds(197, 16, 117, 30);
    jlblTitle.setFont(new java.awt.Font("Dialog",1,20));
    jlblNewTitle = new JLabel();
    this.getContentPane().add(jlblNewTitle);
    Vector vecTemp = getDBDatum(); // data fetched fm DB r stored here.
    jlblNewTitle.setText(vecTemp.get(1).toString());
    jlblNewTitle.setBounds(350, 16, 117, 30);
    jlblNewTitle.setFont(new java.awt.Font("Dialog",1,20));
    } catch (Exception e) {
    e.printStackTrace();
    }//end of initGUI()
    private Vector getDBDatum() {
    // fetches datum from oracle database and stores it in a vector
    return lvecData;
    }//end of getDBDatum()
    }//end of class
    in index.jsp page i have included the following code for calling this applet:
    <jsp:plugin type="applet" code="NewJApplet.class" codebase="applets"
    width="600" height="300">
    <jsp:fallback>Could not load applet...</jsp:fallback>
    </jsp:plugin>
    if i view it in using AppletViewer it runs perfectly and display the data in JLabel. (ie, both jlblTitle and jlblNewTitle).(ie, DATA FETCHES FROM db AND DISPLAYS PROPERLY)
    BUT IF I CLICK ON INDEX.JSP, ONLY jlblTitle APPEARS. jlblnNewTitle WILL BE BLANK(this label name is supposed to fetch from database)
    EVERY THING IS DISPAYING PROPERLY EXCEPT DATA FROM DATABASE!!!
    i signed the applet as follows :
    grant {
    permission java.security.AllPermission;
    Can any body help me to figure out the problem?

    This is the Swing Applet java code
    import java.awt.Dimension;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Vector;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.JScrollPane;
    import javax.swing.JApplet;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTree;
    import javax.swing.ScrollPaneConstants;
    import javax.swing.SwingConstants;
    public class HaiApplet extends javax.swing.JApplet {
         private JLabel     jlblTitle;
         private JLabel     jlblNewTitle;
         private Vector     vec;
         * main method to display this
         * JApplet inside a new JFrame.
         public static void main(String[] args) {
              JFrame frame = new JFrame();
              NewJApplet inst = new NewJApplet();
              frame.getContentPane().add(inst);
              ((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
              frame.pack();
              frame.setVisible(true);
         public HaiApplet() {
              super();
              initGUI();
         private void initGUI() {
              try {               
                   this.setSize(542, 701);
                   this.getContentPane().setLayout(null);
                        jlblTitle = new JLabel();
                        this.getContentPane().add(jlblTitle);
                        jlblTitle.setText("OMMS");
                        jlblTitle.setBounds(197, 16, 117, 30);
                        jlblTitle.setFont(new java.awt.Font("Dialog",1,20));
                        jlblTitle.setHorizontalAlignment(SwingConstants.CENTER);
                        jlblTitle.setForeground(new java.awt.Color(0,128,192));
                        jlblNewTitle = new JLabel();
                        this.getContentPane().add(jlblNewTitle);
                        Vector vecTemp = getDBDatum();
                        jlblNewTitle.setText(vecTemp.get(1).toString());
                        jlblNewTitle.setBounds(350, 16, 117, 30);
                        jlblNewTitle.setFont(new java.awt.Font("Dialog",1,20));     
              } catch (Exception e) {
                   e.printStackTrace();
         }//end of initGUI()
         private Vector getDBDatum() {
              Vector lvecData = new Vector(10,5);
              Connection lcon = null;
              Statement lstmt = null;
              ResultSet lrsResults = null;
              String lstrSQL = null;
              String lstrOut = null;
              try {
                   OmmsDBConnect db = new OmmsDBConnect();
                   lcon = db.connectDb();
                   lstmt = lcon.createStatement(lrsResults.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   lstrSQL = "select DT_ID from P_DATATABLES";
                   lrsResults = lstmt.executeQuery(lstrSQL);        
                   int i = 0;
                   lrsResults.last();
                   int length = lrsResults.getRow();
                   System.out.println(length);
                   lrsResults.beforeFirst();
                   int recCount = 0;
                   while (lrsResults.next()) {
                        recCount++;
                        lvecData.addElement(new String(lrsResults.getString("DT_ID")));
                   //     System.out.println("ID :  " + lrsResults.getString(1));
                        i++;
                   }System.out.println("here 3 out fm while");
              catch(SQLException e) {
                   System.out.print("SQLException: ");
                   System.out.println(e.getMessage());
              catch(Exception ex) {
                   lstrOut = "Exception Occured " + ex.getMessage();
              finally {
                   try {
                        lrsResults.close();
                        lstmt.close();
                        lcon.close();
                        System.out.println("[DONE]");
                   catch(Exception e) {
                        System.out.println(e);
             }//end of finally
              return lvecData;
         }//end of getDBDatum()
    }//end of classOfcourse the above code compiles and runs well. in Applet Viewer
    I plugged the above Swing Applet in a JSP page index.jsp
    <jsp:plugin type="applet" code="NewJApplet.class" codebase="applets"
                   width="600" height="300">
         <jsp:fallback>Could not load applet...</jsp:fallback>
    </jsp:plugin>Every thing is working fine in AppletViewer...But if i view this in any browser, then only the jlblTitle is displaying. jlblNewTitle is not displaying(this label name is actually fetching from thedatabase)
    can any body help me regarding this matter.? Thx in Advance.

  • Have problems printing txt with my Hp 5520

    Having problems printing with my HP 5520   The printer will print graphics but not text in the HP E-print App

    I fixed the problem , its the driver dont use the one for cups .also it prints at the right date for expired cartridges .

  • Iphoto 4 problems printing pictures with a hp printer

    Hi .
    I have a HP Business inkjet 1100d and am having a problem printing . When it starts to print it will take a long time to do . I can print from safari and microsoft work fine . But if I try to print a picture from iphoto it will only print a small part of the picture .I was wondering if the fact that I am printing from a network card to my printer would make a difference , because I am able to print under usb but not from the network card . If print from use all is fine, but if I print from the network card it wont work at all .
    If anyone can help me fix this it would me a good help for me . I as wondering if network printing is supported in iphoto4 . I think maybe thats the problem it wont work on a network card like jetdirect card, hp lio based network card .

    I fixed the problem , its the driver dont use the one for cups .also it prints at the right date for expired cartridges .

  • Help with Will Print - Current Date to apply to several hundred files

    Hello,
    So I've spent all morning trying to find a solution for my problem, but I know nothing about Javascript, and the more detailed answers I've found are that give step-by-step tips are for older versions of Adobe (I have Adobe Acrobat X Pro).
    My Situation: I have several hundred SOP PDFs that I wanted to add "Printed On: current date" and "Notice: Printed copies of SOPs are only valid for 30 days past "Printed On" date. Printed SOPs must be disposed of by confidential shredding." in the footer. These PDFs are then linked to our intranet where all employees open them to print.
    What I Did: I went to Tools>Pages>Add Header & Footer entered all the information, entered the "Insert Date" then clicked "Apply to multiple files" and thought that I had done everything. However, the date is not changing...it is staying on the date that I did the whole batch of files with the "apply to multiple files"
    What I have found is that evidently i need to do batch processing, with the will print java script to put the following code in (but i'm not sure if this code will put it in the footer?):
    var f = this.getField("Today");
    f.value = util.printd('dddd mmmm dd yyyy h:MM tt   ', new Date())
    but i have no idea where to get to batch processing, will print, etc.
    I can redo the apply to multiple files so that only the "notice" part will be on the right part of the footer, but can some nice forum person give step-by-step for dummies instructions on how to fix this so the date is current on the left part of the footer whenever someone opens the file?
    Thanks!
    Heather

    Right, so I did find the Actions section under tools....So I did Create New Action>More Tools>Execute Javascript
    Then I clicked on the little "Options" box, and all that pops up is an empty javascript window with "/* Put script title here */" Is that were I paste the code I had? Do I leave the /* or erase everything and put the code? Also, i don't see anything about adding a field....
    ...sorry to be dense about this, but this is way beyond anything i've attempted in acrobat. I do appreciate your help though.
    Also, what options will i want selected on the "start with" and "Save to" options...i don't want the end users to have to mess with any prompts or anything, will Start With > a file open in acrobat run the script as soon as that file is opened via the intranet? Also, i'm assuming i then want "don't save changes" so the date will always change? Thanks.

  • Problem printing Online PDF file

    Have a strange problem printing online PDF files. The printer prints all other documents ok - Word, Pages, PDF files that are stored on disk etc. However when i try and print a PDF file online - i.e. online job application form, the printer goes into melt down. It will only print part of the first page then stops. The drive wheel pushes the paper back and forth a few times then stops. I can print each page one at a time but won't let me print all at once.
    Any ideas? It does this regardless of which computer I use (both mac's). Makes no difference if the printer is connected direct via USB or Airport.
    Any ideas?
    Colin.

    What kind of printer is it? Is the software up to date? Is it possible to provide the URL of the page you are trying to print?

Maybe you are looking for

  • Multiple ASM Instances on single node

    Hi All, After going through some threads it seems to me that multiple ASM instances on a node is not supported and recommended by ORACLE but i coudn't find any ORACLE document or support matrix mentioning this. Can any one give me a pointer to this.

  • Using a import statement conditionally

    How would I import a library statement based on a condition, in this example use the versioning of java JRE that the program needs is to run under the JRE? i.e: import javax.swing.*; //This is the final package name. //import com.sun.java.swing.*; //

  • Edit an existing project

    Hi, I have burnt a project which is fine just a couple of errors to iron out, but I want to edit that project with more photos and correct spelling mistakes in the titles, when I open the project there are no edit tool bars, no settings button and at

  • Send for shared review multiple pdf files

    Hi I want to know if it's possible to send for shared review more than one file with one action, or you have to send for shared review every single file? I have more than 100 files I would like to send for shared review.

  • Google and YouTube Errors

    I have been running into some problems with the google search part of safari, it says that the server cannot be found, my wifi and the other parts of safari work perfectly but the search does not. One more problem that I have is YouTube (the app) say