Error according printing html report

I bulid a vi to print HTML report but I have problem printing this report .
I try ever to used some example which national Instrument bulid , such as Report Generation > Text
Report, but ever in this example I couldn't print the file (HTML).

Wisam,
Could you tell us what procedure are you following to run that example? and also what version of LabVIEW you have?
The way you have to run that example (Text Report.vi) is that when you open it, in the control that reads: "Report Type" you select HTML, and also in the control that reads "HTML Save Path" you set the path like for example "C:\test1.htm", now run it and you should have now the HTML format type report. I believe that you also have in that same directory of examples another one called : Example HTML Report Report, that one also shows how to print a report to an HTML file. Try the example you mention setting up the controls that I wrote above and it should work. If not please contact us and we can try to send you an original example and see if i
t works. You can do it by this same means or by direct contact ( www.ni.com/ask ).
Good luck!...
Nestor Sanchez
Applications Engineer
National Instruments
Nestor
National Instruments

Similar Messages

  • Print HTML Report.vi doesn't scale properly.

    LV 8.5.1, Report Generation Toolkit, XP.  Our application uses the Print HTML Report.vi to print an HTML report.
    We found that on some installations the resulting page does not scale properly.  Instead of being one page wide,
    the printout is about 1.5 pages wide (and proportionately longer), leading to our report being truncated.
    Tried different printers, different print drivers, no difference.
    Finally we noticed that the affected computers all had Internet Explorer 6 installed.  Updating to Internet
    Explorer 7 fixed the problem.  Don't know about IE8, I expect that will work as well.
    Hopefully this will help someone else who runs across this problem.  I couldn't find any reference to
    an IE > 6 dependency in the Report Generation Toolkit readme system requirement.
    Matt

    Hi Charlie,
    The layout option is not wired to anything in the Standard, HTML, Excel and Word Report, but it is used in the Quick Print default case.  The Help document for this VI mentions that the layout option is ignored on Standard and HTML Reports but does not mention the Excel or Word Reports.
    This was discovered a little while ago in this discussion forum.  And a report has be filed to R&D by Ben.
    Justin Parker
    National Instruments
    Product Support Engineer

  • Print HTML Report Automatica​lly after Each UUT

    Hello
    I saw the document on NI site called "Print HTML Report Automatically after Each UUT". That's exactly what I want to do with XML files. So I put it in my sequence file and it works fine, but when it opens the xml file at the first step, there's a pop-up from IE who say that "Scripts are generally safe, do you want to authorise this script" (This message is also displayed when I open my file in files explorer).
    So, the print is not automatically anymore as I must answer to this pop-up. does anybody has a solution to bypass this pop-up ?
    I tried to use the property silent on the class IWebBrowser2. Inded, the pop-up doesn't appear anymore, but my XML file isn't correctly printed. I supposed the default response of the pop-up (which is no) is applied. So the script isn't executed.
    I also tried to configure IE to not display this pop-up : No result
    Regards
    Laurent

    Hello,
    I think that you need to configure your browser, can you take a look a this article:
    http://www.maxi-pedia.com/scripts+are+usually+safe​+do+you+want+to+allow+scripts+to+run
    Regards,
    Nacer M. | Certified LabVIEW Architecte

  • Problem with NIReport.llb\Print HTML Report using IE.vi on different machines

    We have 5 machines here in our workgroup which have the same state regarding security patches and other system updates. We recently found out that there is a problem with the NIReport.llb\Print HTML Report using IE.vi on the different machines.
    If I would open the VI on MachineA the control could be loaded. If I would open the VI on MachineB the control could be loaded. If I would copy the VI from MachineB to MachineA and open the VI the control could not be loaded. If I would copy the VI from MachineA to MachineB and open the VI on MachineB the control could be loaded. MachineB could load the version from MachineA and MachineB but on MachineA only the own version will load. I have seen that both versions have the same GUID for the Microsoft Webbrowser but are different in some other aereas.
    Since printing HTML Reports is part of the application which will be distributed as application I want to know if someone else have seen such a behaviour or has got problems distributing an application.
    Also I want to know which additional information is stored in an Active-X container about the control beside the GUID.
    We have Win XP Prof SP2 with MS IE 6.0.2900.2180 on all machines in the workgroup.
    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

    Hi Tom,
    this is the VI <vi.lib>\Utillitiy\NIReport.llb\Print HTML Report using IE.vi copied from a machine that can load and run the VI and it will print. On this machine the control in the VI is white.
    This VI will give the "Control could not be loaded" message on my machine.
    The file shdocvw.dll is 2006-10-23 16:18 size 1.460 KB and I verifyed that both machines have the same version of this file.
    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:
    Print HTML Report using IE.png ‏11 KB

  • Cannot choose printer when printing HTML report

    Hello,
    I have lost many many hours trying to print correctly a report that is composed only of a JPEG image.
    After a conversation in the forum, I concluded that the LabVIEW has a bug printing Standard Reports, as it cannot manipulate correctly the margins and the scale of the image. But, when using Standard Reports I could choose which printer to use.
    So, I use HTML Reports that print the report smoothly, but the choise of the printer has a problem. No matter which printer is chosen by a Ring Menu, it prints to same printer all the time.
    Could you please give me any hint to solve this problem?
    I attach the corresponding code:
    Solved!
    Go to Solution.

    Hey guys, this is Paul with National Instruments.
    Being employed at NI I am obligated to provide a big disclaimer about the information I am about to provide:
    MANUALLY CHANGING YOUR WINDOWS REGISTRY CAN CAUSE CORRUPTION AND ERRORS IF YOU ARE NOT CAREFUL.  DO SO AT YOUR OWN RISK.
    With that being said, nikosfs was on the right track by editing his Windows Registry to perform this action.  Please see the following steps, and see if it helps further explain what you need to do:
    Open the Registry Editor. To do this, click Start >> Run and type "regedit", then press OK.
    Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows.   In this key there should be an entry called Device with values that should match up with your default printer.
    Right click on the Windows key, choose "Export" from the menu that pops up, and save the Registration File as printer1.reg.
    Leaving the Registry Editor open, change your default printer. To do this, go to Start >> Settings >> Printers and Faxes. Right click on the printer that you want your report to print to, and choose the option "Set as Default Printer".
    Go back to the Registry Editor, it should be noted that the value of the Device entry has changed to the new default printer. Right click on the Windows key again, choose "Export" from the menu that pops up, and save the Registration File as printer2.reg
    These two files may now be used to manipulate your default printer settings in conjunction with the System Exec.vi. The figures below show how to use the registry files and the System Exec.vi. 
    → The "/s" in the text field makes sure that this vi will run without interrupting regular user interaction.
    → The path constant is set to "c:\" because the Registration Files were saved directly in the C drive. Change according to location of Registration Files.
    Make sure that this operation is called before the Print Report.vi is called, as it will print just to the default printer.
    Paul Davidson
    Sound and Vibration Software Staff Product Support Engineer
    National Instruments

  • Error While Printing the Report

    Post Author: saqib
    CA Forum: .NET
    HI All,I have joined this forum recently. I found this forum so helpful. I have one query which is: I am using crystal report 10 with Dot Net 1.1, I have created one web report which consists of 19 pages. Once i press the print button on the report after previewing it shows me the error reporting screen of windows. I have checked in event viewer it gives me the following error detail:The description for Event ID ( 1000 ) in Source ( Microsoft Internet Explorer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: iexplore.exe, 6.0.2800.1106, printcontrol.dll, 10.0.0.533, 0003bb45. Can any one helps me as i am totally stuck in that. Thanks in advance.  

    Try the following if your printer is a network printer
    1. Add Printers - select Local Printer
    2. In the Add Printer wizard, select "create a new port" option and select "TCP/IP" as type
    3. Write the IP address of the network printer in the "Add standard TCP/IP Printer Port wizard". The port name becomes IP_<ip addr>. Click Next.
    4. Select the printer and printer type in "Add Printer" wizard.
    5. Select a driver and Write a printer name. This completes the setup. Use this printer name to print from Oracle reports.
    Hope this helps..
    Yogesh
    I am getting this error message while printing the report on Network Printer.
    "REP-1849: Failed while printing"
    Reports Server is not installed on my machine.
    On shared printer, it has no problems.
    Platform is Win2000. Report Builder 6.0.8.11.3
    Plz help !
    Thanks in advance !

  • Firefox browser taking so long to print html report

    I am using Firefox 18.+ version on Windows XP machine. My application is reporting tool. Whenever I try to print the html report, the firefox browser is taking close to 4min to start printing the page. The same report getting printed in Crome browser within few seconds. IE browser is taking close to 30 seconds. I tried followed the steps provided by the Mozilla support team
    (https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox?esab=a&s=slow+printing&r=0&as=s ).
    But there is no improvement. I verified that the printer has no issues, only in Firefox its taking very long time to send the document to printer.
    Thanks for your help.

    I'm not sure we can investigate this properly without access to the report, which I assume is not readily available to the public...
    Could you test in a "clean" Firefox profile and see whether you can replicate the problem there? To do that, use the profile manager:
    * Exit Firefox
    * Start > Run > firefox.exe -P {ENTER}
    * Create a new profile with the default location setting
    * Start Firefox in the new profile and try to print
    Any difference?
    To switch back to your normal profile, exit Firefox, restart the profile manager and start up in your regular profile. You can return to your previous point using History > Restore Previous Session (assuming it was not a private session).

  • Run time error while printing ALV report

    Hi,
    At the time of printing a report  output we get a dump GETWA_NOT_ASSIGNED.
    The printer used here is LOCL.
    The length of the report increases dynamically according to no. of months given in range.
    In report , there are 3 static columns & no. of columns increases by 2 for each month. System is printing the report for 1 month ie. (3+2) columns . but if no. of months increased to 2 ..... no. of columns also increases by 2.... in this case system is giving dump.
    Please help.
    Thanks in advance,
    Vijeta

    Hi
    1. check the fieldcat ( ie. CURR field without WAERS field.. )
    2. check if you want to use colours at calling the ALV.. but you don´t fill the deep structure for the colours...
    bestreg Robert

  • Unhandled COMException Message: No Error. during printing some reports, extend Exception Info

    Hi,
    i'm using Crystal Reports for VS version 13.0.13.1597 with Visual Studio 2013
    Unfortunately I get a COMExeption when trying to Print some reports after previously displaying a preview using the CrystalDecisions.Windows.Forms.CrystalReportViewer Component.
    System.Runtime.InteropServices.COMException was unhandled by user code
      HResult=-2147483648
      Message=
    No Error.
      Source=rptcontrollers.dll
      ErrorCode=-2147483648
      StackTrace:
           at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetPage(PageRequestContext pPageRequestContext)
           at CrystalDecisions.ReportSource.EromReportSourceBase.GetPage(PageRequestContext pageReqContext)
           at CrystalDecisions.CrystalReports.Engine.FormatEngine.QueryPageSettingsEventHandler(Object sender, QueryPageSettingsEventArgs e)
           at System.Drawing.Printing.PrintDocument.OnQueryPageSettings(QueryPageSettingsEventArgs e)
           at System.Drawing.Printing.PrintDocument._OnQueryPageSettings(QueryPageSettingsEventArgs e)
           at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
           at System.Drawing.Printing.PrintController.Print(PrintDocument document)
           at System.Drawing.Printing.PrintDocument.Print()
           at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, Boolean reformatReportPageSettings)
           at Soloplan.CarLo.Printing.PrintAdapterCrystalReports2011.Print() in c:\project.net\Soloplan\CarLo\Printing\PrintAdapterCrystalReports2011.cs:Line 1528.
      InnerException:
    As you can see the error message is a bit short on information what went wrong, especially the Message: No Error.
    Is there any possiblity to extend the information on this exception?
    The behavior is reproducible with some reports, while others work just fine, and even with the problematic reports it only when the call of the Print function is done while the preview is shown.
    I hope someone can point me in the right direction.
    Thanks
    Johannes

    Wow. It's been a long, long time since I've seen CR throw error: no error (like v. 4.5 or so...). Used to chuckle about it - I think I even saved a screenshot of it
    It will be good to have more info on this:
    Win or web app?
    Printer used.
    Printer driver name and version.
    The reports that do not work throw the error consistently?
    Code used to print the reports.
    Is this a threaded app?
    Do you get the issue printing from the viewer?
    Do you get the issue printing from the designer viewer?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Error in Printing Crystal Report Directly to Printer using SDK Code

    Hello ,
    I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
    as (Document Number).But While running the Code the Report is not getting printed and also the system is
    not able to fetch the correct data in the report using the supplied parameter .
    I am using Visual Studio 2005 Crystal Report dll s in my code :-
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports
    Imports System
    Imports System.Data.SqlClient
    Imports System.IO
    For Clarification i am pasting my code below :-
                Dim oRpt As ReportDocument
                oRpt = New ReportDocument
                oRpt.Load(Path)
                With crConnectionInfo
                    .ServerName = Server
                    .DatabaseName = Database
                    .UserID = User
                    .Password = Password
                End With
                CrTables = oRpt.Database.Tables
                For Each CrTable In CrTables
                    crtableLogoninfo = CrTable.LogOnInfo
                    crtableLogoninfo.ConnectionInfo = crConnectionInfo
                    CrTable.ApplyLogOnInfo(crtableLogoninfo)
                Next
                oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
                If Printer <> "" Then
                    oRpt.PrintOptions.PrinterName = Printer
                End If
                oRpt.PrintToPrinter(Copies, False, 0, 1)
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    Please suggest me what i have to do in my code to print the report with correct data in report.
    Thanks & Regards,
    Amit

    k

  • Print html report with waveform

    I'm trying to make a report on my system using print from the File menu, and then saving the report as a html document. However, I don't seem to get the descriptions for waveforms in the report.
    I've tried on both WIN-NT and WIN-2000 machines, but still no description.
    Would also want to know if it is possible not to include descriptions of parts of clusters (such as waveforms or error clusters), but instead just include the description of the cluster itself.

    > Unfortunately, what you see in the Print window is all the options
    > available. You can print description for only the icon, for all
    > controls, or for connected controls. You cannot select to print
    > description of only few controls. However, I tested this and was able
    > to print description for a waveform chart.
    > You can suggest this additional feature if you go to ni.com, click on
    > "Contact NI" in the top right corner, and then select "feedback" under
    > Product Feedback.
    In the meantime, you can use the report generation VIs to make a custom
    report. Use a property node to read the description and add it wherever
    you like.
    Greg McKaskle

  • Print html report

    Hi ,
    In oracle forms 11g, I have a text field that includes html tags.
    I crate a report in report builder 11g, selecting html text from database.
    When I run the report using the
         set_report_object_property(report_id, REPORT_DESTYPE, CACHE);
         set_report_object_property(report_id, REPORT_DESFORMAT,'html');
    WEB.SHOW_DOCUMENT ........
    It gives me the html page ok.
    When I send the report to printer it prints also the html tags e.g. <body> <b>my text ..........<b> </body>.
         set_report_object_property(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
         set_report_object_property(report_id, REPORT_DESTYPE, PRINTER);
         set_report_object_property(report_id, REPORT_DESFORMAT,'HTML');
         set_report_object_property(report_id, REPORT_DESNAME,myprintername);
         set_report_object_property(report_id, REPORT_SERVER,servername);
    Set_Report_Object_Property(report_id, REPORT_OTHER, 'paramform=no');
    v_rep := RUN_REPORT_OBJECT(report_id);
    Can anyone help ?
    Thanks
    Edited by: user1424905 on 21-Jul-2011 04:16

    Hello,
    I think that you need to configure your browser, can you take a look a this article:
    http://www.maxi-pedia.com/scripts+are+usually+safe​+do+you+want+to+allow+scripts+to+run
    Regards,
    Nacer M. | Certified LabVIEW Architecte

  • Error in printing HTML to PDF

    I want to print a HTML in PDF writter when i execute it creates text file
    and give this error-[ Warning: Empty job. No PDF file produced. ] %%
    Does any body know the solution?????
    My code
    try {
    // Open the image file
    InputStream is = new BufferedInputStream(
    new FileInputStream("E:/examples.html"));
    // Prepare the output file to receive the postscript
    OutputStream fos = new BufferedOutputStream(
    new FileOutputStream("E:/cr.ps"));
    // Find a factory that can do the conversion
    // DocFlavor flavor = DocFlavor.INPUT_STREAM.GIF;
    DocFlavor flavor = new DocFlavor("text/html; charset=utf-16", "java.io.InputStream");
    StreamPrintServiceFactory[] factories = StreamPrintServiceFactory.lookupStreamPrintServiceFactories(flavor,DocFlavor.BYTE_ARRAY.POSTSCRIPT.getMimeType());
    System.out.println("hhhhhhhhhh"+DocFlavor.BYTE_ARRAY.POSTSCRIPT.getMimeType());
    if (factories.length > 0) {
    StreamPrintService service = factories[0].getPrintService(fos);
    // Create the print job
    DocPrintJob job = service.createPrintJob();
    Doc doc = new SimpleDoc(is, flavor, null);
    // Monitor print job events; for the implementation of PrintJobWatcher,
    // see e706 Determining When a Print Job Has Finished
    // PrintJobWatcher pjDone = new PrintJobWatcher(job);
    // Print it
    job.print(doc, null);

    Try:
    1. LOTS of println() calls.
    2. Don't ignore exceptions, insted of:
    public class Danger {
        public static void main(String args[]) {
            try {
                Somebody.doSomething();
            } catch (Exception lazinessIsAVirtue) {}
    }try:public class Safer {
        public static void main(String args[]) throws Throwable {
            Somebody.doSomething();
    The VM will call Safer.main([Ljava/lang/String;)V (vm syntax) regardless of private or throws.

  • Error in Printing Web Reports

    Hi,
    I have a requirement from an User. The user wants to take printouts of a web report and is using options: portrait / landscape from BW. The problem is that the entire report doesn't print.  It trucates columns off to the right, and if the report is on more than one page, not all information is displayed. We have tried various options in the web and printer settings, including paper effects but the problem persists. I have attached a screen shot of the same.
    I can now only think of suggesting the user to export the web report to excel, format it and take printouts, but that is not a solution to this problem.
    Would appreciate help if anybody has worked on this kind of problem earlier.

    Hi Vidyut,
    unfortunately I cannot help you, but I am working for a customer right now and he had the same problem. We suggest the same, export to excel and print it there. We now hope that BW in NW2004s has this web printing option as claimed in several papers.
    Greetings,
    Daniel

  • Dr watson error while printing Oracle reports 6.0.5.28.0

    Hi All:
    I am getting this problem when I was trying to print from the perview mode of Oracle Reports(6.0.5.28.0) on Windows NT Client machine. We are using Network printer which is on Windows 2000 Server. Can you hyelp me resolve this problem.

    The first thing you should do would be to get onto a supported version. We've done a lot of work in the printing area in the 6.0.8 (6i) release, particularly in the latest patch set.
    If this doesn't help then you should download the drivertest utility (http://otn.oracle.com/software/products/reports/files/printerdrivertest.zip) and follow the instructions to test the driver. Then work with support to get a bug filed.
    Regards,
    Danny

Maybe you are looking for

  • Itunes identifying music in an external hard drive

    Hi. I am having difficulty getting ITunes to pull in music that is stored on an external hard drive. Let me explain. Sometime back I moved all my music onto an external firewire drive I keep connected to my laptop. I used the standard instructions av

  • Bug in messages view

    Here is an excerpt of wrong HTML code I see in a forum main page : <td class="jive-forum-name" width="1%" nowrap> <a href="forum.jspa?forumID=1077" title="<a href="http://www.apple.com/support/tiger/" TARGET="_blank">Tiger Support Pages</a>" <a href=

  • Safari problems with languages

    I have installed Safari Public Beta 3.0.1 in english on my french version of Windows Xp Home and it creates all the tree of directory with "English.lproj" or "en.lproj" but when i checked at the installed plugins it's lookking for the "fr.lproj" dire

  • Java gui apps look garbled/distorted?

    Hi, I'm using Java v 1.5 in Windows XP Home and Java apps look garbled (JEdit, exe4j and my own apps). In Linux everything looks normal. Is this a know problem? Any suggestions? Thanks!

  • Transferring songs from one computer to another without erasing anything

    I've read everything here that pertains and don't see my exact problem. I did not realize when I got this iPod the problems involved in using more than one computer, and as a result, I have songs on three computers that I'd like to get into my iPod w