Showing results for 
Search instead for 
Did you mean: 

Printing a HTML dokument ?


How do i print a HTML dokument from Labview witout opening Microsoft
Explorer ?

BR Per
0 Kudos
Message 1 of 3
Unless you just want to print the HTML tags, you're going to have to use a browser. See the recent posting at
0 Kudos
Message 2 of 3

You might be able to do so using "System". The following may vary from computer to computer:

You need to send "System" the following command:

rundll32.exe C:\winnt\System32\mshtml.dll,PrintHTML "C:\path\to\file.html"

This work in a machine with Windows NT. I don't know about Windows 9x/ME/2000 etc. Always check for the correct path for your computer. Unfortunatelly, when I test this, it opens the print dialog instead of just printing the file.

With Netscape it can be easier. The command is something like:

C:\PROGRA~1\NETSCAPE\COMMUN~1\PROGRAM\NETSCAPE.EXE /print("C:\path\to\file.html")

Again, check the path. I tested and in my case it send the file directly to the default printer.

If I find out something else, I'll p
ost it here. Let me know if this work.

Message 3 of 3