NI Report and HTML printing

Here I have described a problem with the NI Report VIs and printing HTML report on different machines.
I have made a small app just printing a page with "Hello World" on it. This app was generated on my Windows XP Prof. SP 2 machine at home. My IE version is 6.2.2900.2180.xpsp_sp2_rtm.040803-2158 and the Active-X component used is shdocvw.dll version 6.2.2900.2180, 04.08.2004 13:00.
The archive contains the app and all sources in LV Version 8.2.
I want to know from you if this app will run on your machine. Please report if it did or not together with the information which OS you are using and which IE version you have.
It seems that this VIs want run reliably on all machines.
Thank you for all those who are reporting.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Attachments:
PrintHTML.zip ‏273 KB

I have tested the app on 7 machines in the office. We have 4 LV installations were it worked and 3 which give error 1 in "Print HTML using IE.vi". 6 Installations are on XP Prof. SP2 and one is Windows 2000 SP4.
All XP machines should be the same because we have them generated from one image and we have a central system update here. I think I have to make a look to see any differences.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions

Similar Messages

  • Interactive chart in report and PDF printing

    Dear all
    is it possible to generate a chart (via an interactive report) and save that chart in PDF format? At the moment when I try and do this in my application I just get the raw data saved as PDF, not the actual chart.
    Many thanks
    Paul

    Hello,
    If you want to have charts in your report, the best
    way I know of is by using BI Publisher Desktop to
    create your rtf with a chart, upload it to your
    report layouts and call a report query with that
    report layout.
    Marc Sewtz did a nice post about it:
    http://marcsewtz.blogspot.com/2007/04/one-question-tha
    t-is-often-asked-about.html
    or you can check my blog for the bi publisher
    configuration.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/
    Hi Dimitri
    unfortunately we dont have BI Publisher Desktop (as I think you have to pay extra for this :) ).
    I take it that there is no freeware (or other way) to allow us to save the chart in PDF format?
    Regards
    Paul

  • Excel and HTML printing format in APEX 3.0 question

    Hi all,
    I've followed the thread Problems with PDF printing, using Apache FOP! and Carl Backstrom's instruction in this link
    http://carlback.blogspot.com/ to setup print server. Just only 2 "PDF and Word" format is working and the other 2 "html and excel" don't work. When i try to use the "Excel" format to print the report, all i see is %PDF-1.3
    %ª«¬
    4 0 obj
    << /Type /Info
    /Producer (FOP 0.20.5) >>
    endobj
    5 0 obj
    << /Length 795 /Filter [ /ASCII85Decode /FlateDecode ]
    >>
    and when i witch to "html" format and click on the link, nothing to response. Do you have any idea about it? what should i set up to use the full print features?
    Thanks,
    Kevin

    Kevin,
    Your options are to print the report as CSV and opening it in Excel (by enabling this under report attributes) or to install BI Publisher as the rendering engine. By rendering engine I mean the system that runs in the background to render your documents. So when you’re saying to print directly from the report, that’s what’s happening in the background: you report data gets posted along with a style sheet to that rendering engine, and you document gets returned so that you can download it as PDF, Word, Excel etc. Please see the following document for more details:
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    Regards,
    Marc

  • Report and HTML content

    Hi,
    I have a lot of HTML formatted text stored in a blob field.
    The HTML code has some <b>a href</b> tags (something like this: a href = "53127" or a href = "53127_1" or a href = "53127_2" ...).
    I created a appIication using APEX (10gXE) and I can display the HTML content in my report but the links do not work.
    I need something like this:
    http://127.0.0.1:8080/apex/f?p=103:4:SESSION_ID::NO:RP,:P4_CODACT:53127
    instead of:
    http://127.0.0.1:8080/apex/53127
    I am tryng to migrate a web application created in Java using servlets. In Java the solution was the use of regular expressions to convert the stored <b>a href</b> tag to a valid url.
    Here is my Java code:
    -- some code
            s=processHtmlTags(s,
                "<a href = \"([0-9_].*?)\">",
                "<a href=\"" + dm.response.encodeURL("ResultDetail") + "?codact=",
                "\">");-- rest of servlet
    -- the processHtmlTags definition
        public String processHtmlTags(String INPUT, String REGEX, String strHead, String strTail) {
            int cnt=0;
            String strOutput;       
            Pattern pattern;
            Vector group0 = new Vector(5);
            Vector group1 = new Vector(5);       
            try {
                pattern = java.util.regex.Pattern.compile(REGEX);
                matcher = pattern.matcher(INPUT);
            catch(java.util.regex.PatternSyntaxException pse) {
            while (matcher.find()) {           
                group0.addElement(matcher.group(0));
                group1.addElement(matcher.group(1));
                cnt++;
            strOutput=INPUT;
            for(int i=0; i<group0.size(); i++) {           
                String s0=(String)group0.elementAt(i);
                String s1=(String)group1.elementAt(i);
                strOutput=strOutput.replaceAll(s0,strHead+strAnchor(s1)+strTail);           
            return strOutput;
        }The question is can I do the same thing using APEX?
    Thanks,
    Catalin Florean.

    Use the REGEXP_REPLACE function available in 10g.
    That also implies switching from an HTML region to a PL/SQL region.

  • Error While Using Crystal Report and Its Print SAP Business One

    Hi Experts,
    I am using SAP Business One 8.82 PL 11. On my Server there is a problem in Crystal Report tool.
    When I am trying to see preview and tried to get print of any Crystal report layout It gives me error "Unknown Database Connector Error"
    Please give me solution on same ASAP.
    Also I have attached Screen shot of error.
    Thanks.
    Ajit.

    Hi Ajit,
    Please repost to the SAP B1 space.
    -Abhilash

  • Interactive report and HTML Expressions

    Currently I am using standard reports showing some icons using expression like:
    <img src="f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:APPLICATION_PROCESS=ShowIcon:::F105_BILD_ID:#GUI_ID#">
    I would like to recreate my page using the interactive report capabilities from APEX 3.1. I couldn't find the column formatting section in the interactive report however.
    How can I reproduce the current icons showing behaviour using an interactive report ?
    Thanks for help
    Valéry

    Hello Valery,
    You don't have the HTML Expressions section in an Interactive Report.
    However what you can do is include your img tag in your select statement directly. So you would have something like
    SELECT '<img src="f?p='||:APP_ID||':'||:APP_PAGE_ID||':'||:SESSION||':APPLICATION_PROCESS=ShowIcon:::F105_BILD_ID:'|| gui_id || '">' as col1
    FROM your_table
    Make sure your IR column is set to standard column and not Text.
    That should do it.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Teststand report and reciept printer

    Hi,
    We are using a reciept printer for production test of product.
    Reciept printers use a roll of paper.  Page length can be any length.
    Teststand insists on sending form feeds at regular intervals, no matter what I set in the printer driver.
    In this case, a formfeed advances the paper, and cuts it with a built in cutter.
    Thats right, long test results end up in several pieces.
    While we can just turn off the cutter, a better way would be to modify the report, preferrably in the XLS style sheet.
    Any hints or suggestions?
    Thanks,
    Jeff

    Hi I have a couple of questions.
    1. What version of TestStand are you using?
    2. What is the report format you are using?
    3. How are you printing the report ? using the print button or printing the report from some other application?
    Anand Jain
    National Instruments.

  • Integrating an Exisitng multiple page PDF file into a report and outputting as one PDF

    Post Author: sditmer
    CA Forum: Crystal Reports
    We would like to be able to  PDF files into a report based on a file name contained in the detail of the report. For Example, I have some data in our database relating to a specifc PDF file  including the name of the PDF that I would like to print in the header of the report and then print the actual PDF as the detail of the report. The PDF may be multiple pages so I would like the remaining pages of the report to follow on each page of my crystal report. Essentially I am trying to merge a  report header onto a mulitple page PDF file as a single report. Is this possible to do out of the BOX with Crystal? Do I need some other tools to do this?

    Post Author: IdoMillet
    CA Forum: Crystal Reports
    Consider a 3rd-party tool as a solution (for a list of such tools, see http://www.kenhamady.com/bookmarks.html).My Visual CUT software allows you to automate the process of merging the pdf export of your reportwith a pdf file named based on a formula in the report.  The resulting merged pdf file can automatically be printed or emailed.

  • HTML DB  call Oracle Report and Print

    I have a PRING button on the HTML DB report. When the user click on this PRINT button it launches the oracle report location Portal Server in UNIX box. The report display in Lanscape format as I set it up. However, when I go to File/Print and click print. It print inf Portral. I tried depressly to make it print on page in lanscape format, but I was not success. Pleas help.

    This isn't really an APEX question and it's not that clear what you're wanting to acheive.
    However, have you tried choosing the landscape print format on your printer preferences via the File -> Print dialog?

  • Jasper report on HTML when one image loaded from database and for the other

    How to generate jasper report on HTML when one image loaded from database and for the other we give a image path
    My code
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
              exporter = new JRHtmlExporter();
              exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
              exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);
              exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, strImageInputDirectory);
         exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR_NAME, strImageOutputPath == null ? "." : strImageOutputPath);
         exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR, Boolean.TRUE);
         exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
         exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);
              exporter.exportReport();
              byte[] bdata = ((ByteArrayOutputStream) baos).toByteArray();
    Can any one help pls
    Message was edited by:
    ameet.au

    hey sorry for posting it in this forum.
    but do u have sample code for making it work.. since i am able to do it on PDF format(image from Database and another stored in the webserver) using
    byte image[] =(byte[]) outData.get("image");
                        ByteArrayInputStream img = new ByteArrayInputStream(image);
                        hmimg.put("P_PARAMV3", img);
    print = JasperFillManager.fillReport(reportFileName, hmimg, jrxmlds);
    bdata= JasperExportManager.exportReportToPdf(print);

  • Difference between pdf and html report format

    Why HTML report printouts truncate from the right-end side, compare to the pdf report format ?, do i need to change anything
    while running report through HTML format

    The printing from html output is majorly affected by browser settings. Once you try to change the left and right margins in page setup before printing, I solved this problem in this way , it may work for you. Let me know if it works or if you overcome it by other ways.
    with regards
    wara

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Error trying to print report to both pdf and network printer

    Hi all,
    When trying to print a report to my network printer or to pdf I get the two errors attached, one right after the other.  The resulting pdf or hard copy has almost everything in it, except for three tables which are completely missing.  When I go back into the report and open the page with the missing table, the table is no longer visible in the report and I get the second error again.  Exiting and restarting diadem brings the tables back.
    I've found several threads about pdf and other print errors and tried the solutions there to no avail; specifically the one posted here.
    I hope there is a fix to this!  These reports are intended to sell management on diadem! Thanks!
    OS Info:
    Windows 7 64 bit SP1
    18GB RAM
    DIAdem Info:
    Version: 11.3.0f4563
    USI:       1.9.1f4681
    DataFinder:  3.0.0f4681
    Script Engine:
    5,5,0,5207
    Debugger: 6,0,0,8424
    CLAD
    Solved!
    Go to Solution.
    Attachments:
    diadem print error 6-7-12.png ‏17 KB
    diadem print error two .6-7-12.png ‏15 KB

    Hello testingHotAir,
    Just to make sure, do you have administrative privileges for this machine?
    Also, you have attempted these exact steps as posted by lerman?
    Make sure that you are logged in as Windows administrator.
    Click the Windows button and click Printers.
    Right-click the Diadem pdf Export and select Properties
    Click the Ports tab, then click the Add Port button.
    Note: If the Ports tab is greyed out, right-click the Diadem Pdf Export icon and select Run as admin.
    Select Local Port and click the New Port button.
    Enter PDF1 for the new port name and click OK. Close the Printer Ports window.
    Put a checkmark in the box next to the PDF1 port if it is not already checked.
    Click on the Advanced tab.
    Select the Spool print documents radio button to make the options below it clickable.
    Clear (uncheck) the box labeled Enable advanced printing features by clicking it.
    Select the Print directly to printer radio button to make the options below not clickable.
    Click the Apply button, then click OK.
    Important: In order for the changes to take effect, you must restart your computer.
    Reboot your computer and then try to print, email, or create a pdf from Diadem.
    Regards,
    Jeff L.
    Applications Engineer | National Instruments

  • I recieve my reciepts from all of my Apple purchases via email to my email cllient "MS Outlook 2003" on a Windows 7 Home Premium platform. I cannot format the print appearance of HTML documents within Outlook and the print border cuts of the last digit?

    I use MS Outlook as my email client under Windows 7 Home Premium and when I receive a reciept from Apple for purchases made for my iPhone (Stores or iTunes) the HTML formatting cuts off the last digit of the price paid on my eReceipts (the only receipts I get). Outlook 2003 does not allow for HTML print formatting since they (HTMLs) are formatted from the source (Apple). Can you help me to get Apple to fix this or find a workaround?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Photosmart C6180 prints too many copies of PDFs and HTML-documents

    Hi,
    My Photosmart C6180 prints multiple copies of documents even if I haven't asked for it. This seems to only apply to PDFs and HTML-documents, I haven't seen it happen with Word/Excel. It's not consistent, it happens most of the time but now always for these documents. When I look at the console, when it has started printing I see shortly the status "Printing - Restarting". That's probably when it starts the 2nd copy. Sometimes it stops by itself, other times it seems to be looping and I have to turn the printer off and delete the document from the queue.
    HP solution center SW is updated, I run Vista with latest service packs on a Thinkpad T400s.
    Any ideas?
    Thanks!

    My C6180 printed multiple copies of any document from my Vista OS laptop ( wireless connection ), but not from my
    XP OS desktop ( USB connection), even though I selected 1 copy on the print menu. Unchecking "Enable bidirectional support" in the Properties / Ports dialog box solved the problem. Hope this helps someone too.

Maybe you are looking for