IE opens during Print Report (HTML)

I am using Labview 8.5, "Print Report" with HTML type. When I execute the VI, Internet Explorer (I have IE 7.0 installed under Win XP)  opens up and stays open until I manually close it, even after the Print Report VI completes.
Has anyone else had this behaviour? 
I am using <Table style="page-break-before: always"> <TR><TD></TD></TR></Table> tags to build a formatted report.
Is it possible that I have a bogus HTML tag?
I use Print Report with HTML (Labview 8.0) with Internet Explorer (IE 6.0 under WinXP) and it just prints silently. I much prefer that type of opearation.
Is there a known difference between Labview 8.0 and 8.5 for this behavior? Could IE 7.0 operate differently than IE 6.0?
I would appreciate any help here.
Solved!
Go to Solution.

Hello EdH,
Are you using the same code in 8.5 that you had in 8.0?
Andy Chang
National Instruments
LabVIEW Control Design and Simulation

Similar Messages

  • How to open a jasper report (html URL)

    Hello,
    currently we are testing the jasper report engine. We are already able to open such a report from forms by a forms personalization.
    Now we want to run a concurrent report where the output should be a link to a jasper report.
    For example:
    I start the request "open jasper report" with parameter "001". After successful finishing the request should give me a link like "http://jasper/myreport&parameter=001" which will be opened in a new browser tab.
    Well, is it possible to open a URL by using a concurrent request?
    Regards,
    Josef

    Hi Josef;
    Please check
    How to open an URL with PLSQL FUNCTION?
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/fnd_utilitiesopen_url-in-forms-personalization-2256431
    http://easyapps.blogspot.com/2008/03/image-file-attachment-in-oracle-apps.html
    http://www.scribd.com/doc/47603/Form-Personalization-for-R12
    Hope it helps
    Regard
    Helios

  • Acrobat reader defaulting to 51% zoom size when opening and printing Report

    We are publishing reports on a web-integrated acrobat reader. All the reports work fine except for 1 report. The problem with this particular report is that when it opens up in the acrobat reader, it's zoom size automatically defaults to 51%. Then when we print it in landscape mode, it prints with the same zoom-size settings. Even if we try printing after expanding the zoom size to 100%, it still prints to the smaller size and leaves nearly 40% of the paper blank. It works ok with client-server settings as well as when we use HTML or HTMLCSS format to print on the browser. We are using the run_report_object built-in to open the report which is a parameter report.
    Other reports with identical settings work and print fine. Is this a Oracle Reports problem or acrobat problem.
    We are using Forms 6.0.8.19.2, Reports v6.0.8.18.0, iAS v1.0.2.2.2a, Acrobat reader v5.0, IE 5.5 with SP2, Windows 2000 Server.
    Report fonts are Courier New with size 6.
    Any ideas/solutions aprreciated. Thanks!

    And so.. what is invalid?
    I've uploaded the pdf files as example:
    My generated pdf
    http://compuhelp.free.fr/adobe/before.pdf
    The modified version by Adobe Acrobat Reader:
    http://compuhelp.free.fr/adobe/after.pdf
    (I can generate a more complexe pdf file with fonts, images,... it will be displayed correctly, but Adobe always want to modifiy it).
    So perhaps I missed somthing into the pdf file format specification ?

  • Sql command from function issue during print report

    Hi guys,
    i have some problem with my report and his subreport that call data from SQL Function.
    I recompile the function and update the report, if I use the Crystal preview i show the correct data, but when I attach this report to SAP i show the old data hat I have before modify my function.
    Please help me.
    Thank you a lot!!!

    Please define "attach to SAP". What does that mean?
    - Ludek

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • Is there a way to print a Html-Report direktly in LabView?

    I created a Html-Report wich includes a jpg-Picture.
    Actually there is no way, in the Report Generation, to Print a Html file. I Would be
    glad if you have a solution (sub-vi?) to Print a Html file directly in Labview.
    Thanks
    PH!L

    You can drive IE with Lv through ActiveX: When you have creating an IE
    ActiveX reference with Lv, you will be able to open your file and then print
    them programmatically...
    "PH!L" a écrit dans le message news:
    [email protected]..
    > I created a Html-Report wich includes a jpg-Picture.
    > Actually there is no way, in the Report Generation, to Print a Html
    > file. I Would be
    > glad if you have a solution (sub-vi?) to Print a Html file directly in
    > Labview.
    > Thanks
    > PH!L

  • How to print a html report?

    I have LV 6.1 pro and I want after succesfull generate of html report
    print them. How?

    If you want to print the HTML report, you'll have to use ActiveX to open the resulting report with your web browser and then tell the browser to print it. Of course if you are wanting to print it, why are you using HTML? Why not generate it as a standard report? Or do both--one for printing and one for online publication.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to print an html report?

    In a Test UUT's execution, the process model generates and saves a html report. How can add steps to the process model to print the report each time? I'm thinking maybe somehow using an ActiveX call to open IE and then print (1 step or 2?), but I'm a newbie to ActiveX and don't know what server/class/method to use.
    ==============================================
    David Kaufman
    LabVIEW Certified Developer
    ==============================================

    Using Microsoft Word could be a good solution if you actually have it installed in the computer. In some cases, you may not want to have that application installed in the production floor for any reason (licenses, memory space...).
    I am attaching an example that shows how to print the report automatically after testing a UUT using ActiveX to communicate with Internet Explorer. It is more likely that any machine would have this application installed since it occupies a lot less memory space and it ships with any Windows OS. Furthermore, there are just 3 steps that do the trick!
    The attached zip file contains a modified sequential model. The entry points ("Single Step" and “Test UUTs”) have one new step that calls the "Print Report" sequence (also added to the sequential model). This new sequence has ActiveX steps that call two methods of the “Internet Explorer (IwebBrowser2)”object class exported by the “Microsoft Internet Controls” automation server. These two methods are:
    1) Navigate. Allows you to select the html file to load.
    2) ExecWB with the first parameter (cmdid) set to "OLECMDID_PRINT" (prints the loaded file) and the second parameter (cmdexecopt) set to OLECMDEXECOPT_DONTPROMPTUSER" (don’t show the print dialog).
    (For more information about these methods, please refer to the MSDN Library)
    The example will print the report after each UUT is tested. The "Print Report" step is set to run just if the Report Generation is not disabled (see its preconditions).
    This is what you need to do to run the example:
    1) Copy the contents of the zip file to: \Components\User\Models\TestStandModels
    2) Make sure that the “User Components Directoty” is checked in the Search Directories.
    3) Run any sequence using Single Pass or Test UUTs.
    WARNING: There is a known issue when using the printing capabilities of the Internet Explorer. This is what is explained in the MSDN library:
    "... Internet Explorer prints in the background. This means that the print processing is actually completed asynchronously in a separate thread.Upon return from ExecWB, the print processing may continue for several seconds or even up to a minute or two based on various factors such as the size of the content and how busy your system is currently. The problem is that if you start a print job and then destroy the WebBrowser or close your application before the background thread finishes processing, the thread will abandon its work and the page may not be completely printed..."
    There are 2 approaches to work around this problem:
    1) Use a delay before destroying the WebBrowser reference (which is done in the cleanup step group of the "Print Report" sequence in the example). This is the approached used in the example. The third step in the “Print Report” sequence is a Wait step. The step is currently set to wait for 3 seconds which has worked for me for almost any report sizes.
    2)In Internet Explorer 5 you can work around this problem by sinking the OnAfterPrint event. If you have started a print job, then you should wait to release the WebBrowser until after this event has been received. If you choose this approach you could use the ActiveX events capabilities of Labview or Visual Basic to create a small program detecting this event. There's a simple sample code provided in the MSDN library for VB.
    Enjoy!
    Attachments:
    SequentialModel.seq ‏169 KB

  • HELP to Open and Print automatic a REPORT

    Hello, I'm a Portuguese Developer, and i've a challenge, that is, i want to open REPORT by FORMS in RDF format and i want to open and print automatic way, i do not want to open, and then have to go print button to pint them.
    I want to open by FORM way and print automatic and close imediatly.
    HEP ME PLEASE!
    Thank you

    Aslam o Alikum (Hi)
    Ofcourse you can do this by specifing system parameters like DESTYPE=Printer and DESNAME=PrinterName
    Replace PrinterName with you printer name
    See System Parameters in Reports Under Data Model

  • Print Layout Designer / Open Items List Report

    When I open the Reports>Sales and Purchasing>Open Items List report - How can I associate a different Print Layout depending on which Document Type is then selected from the drop down list..
    Eg. When I print a list of Open Purchase Orders I want to us a different print template than when I print a list of Open Sales Orders ?
    Thanks for any pointers..
    Karen

    Hello ...
    You must enter the LDP clicking the pencil icon that appears in the toolbar when the window is open open items list.
    Once there, create 2 new text fields, one with the text "Orders" and another that says "Customer Orders". Both fields were identified as Field_XXX and Field_YYY (where XXX and YYY are numbers that appear in their fields)
    There is a field of variable rate system, which is what lets you see the description of the type of document. (Orders, Customer Orders, etc.).. This field corresponds to variable 100 (check it that way), we assume that this field is the field F_ZZZ within the layout.
    Create 2 fields of type formula, the formula to edit it (Field_XXX == Field_ZZZ) and (Field_YYY == Field_ZZZ) respectively.
    Create 2 text fields (these are only to test the application, then to understand the functionality can not delete them or leave them visible). Set in one of these areas, the letter "A" in the second field and set the letter "B". both camps can put one over the other in the layout.
    Now comes the application of the field ... "A" condicionelo one of the formula fields and country "B" condicionelo another formula field. The conditional mode is to set the formula field in the general tab LINK A. ..
    Try then see a preview of both reports and can see that depending on the type of document you will see "A" or "B" as appropriate.
    Apply the same logic as those fields that you will create and generate the difference between formats.
    I hope this will be helpful
    Best Regards,

  • Html region print report in APEX 3.0

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

  • Print reports in HTML DB

    HTML DB can produce nice reports in web page,
    while the layout changes when printed.
    such as , I use LOV for field 'status',
    when printed, the checkbox disappeared, and the internal code instead of display code is printed.
    if HTML DB does not support grace print, is there any other tools recommended? something for rapid development.

    we use mutiple check box,
    such as field 'packaging', its value may be :
    STUFFING, POPCORN, STAPLES,...
    one or two of them, so one of two of the check box
    may be selectd.I assume what you mean is that you're displaying multiple checkboxes for one field? Any you want multiple selections to be printed when you use the print-friendly format?
    It appears that the print-friendly format isn't so friendly with this situation. Besides the obvious fact that you need an appropriate data type in the underlying table to handle multiple selections, it looks like this situation was just not considered when the print-friendly formatting was setup.
    Or, we're both just missing something that will allow it to work the way you're hoping. ;>)
    Earl

  • Alright, what am I missing? Print Report

    Troubleshooting a printer problem today, I had occasion to open the front panel of "Print Report.vi" (report generation toolkit).  There's nothing there!  Both the "error" and "no error" cases just pass the report ref through without operating on it, calling a DLL, etc.   So....how does it get the data to the printer?
    Solved!
    Go to Solution.

    It's part of a LVOOP class.  You're looking at the VI for the parent class, but the wire will always carry a child class (HTML, Word, Excel, etc).  The Print Report member of the child class is the one that will be executed - overriding the parent - and it contains the actual code.

  • Why is printing report different from report builder and app server

    I created a report and when ran from report builder it looks fine.
    And when i moved the report to server and ran the report in the browser using this url
    http://192.1.1.8:7778/reports/rwservlet?userid=esp/esp_dev1@wdev&report=FMMA_VOUCHER.rdf&destype=cache&desformat=pdf
    and print it the report shrinks, the fonts become small and the margins change. I am having hard time how to figure out a way to correlate the formatting in the report builder and when i run on the server using pdf format.
    Is there any way to set the server so that the pdf output matches with the report builder.
    Thanks.
    Sree

    I assume you are doing a cross platform deployment
    Pls read section 6.2
    Resolving PDF Font Issues During Cross-Platform Deployment
    in
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

Maybe you are looking for