LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

report print problems windows 7

Hi All,

 

Am trying to get to the bottom of a really weird error that occurs periodically. 

 

When trying to print an HTML report using the Print Report VI occasionally an IE error is thrown. An error dialogue with some info is shown, it says the error occurs in res://ieframe.dll/preview.js which is clearly not part of my LabVIEW code. Note this does not come out of the error cluster, it is generated within the ActiveX node itself.

 

Any body have similar problems?

 

Using LV2010 (32-bit) on Windows 7. Have tried installing latest versions of IE etc and it does not solve the problem.

0 Kudos
Message 1 of 5
(2,715 Views)

Hi nrp,

 

This seems to be more of a Windows error but it could be related to how LabVIEW is trying to communicate with IE too. I would recommend that you try the official example and see what happens. There is a VI in the Example Finder called HTML Report. It shows you how to correctly create a HTML report. There is also an example by the name of PrintControlReport.vi. This shows how you can then print any report that you’ve created. The combination of the two should give you what you need.

 

Hope this helps,

 

Regards,

Mahdieh G
Applications Engineer
National Instruments UK&Ireland
0 Kudos
Message 2 of 5
(2,707 Views)

Hi,

 

I also thought you would find this useful: http://forums.ni.com/t5/LabVIEW/Open-print-an-existing-HTML-report/m-p/353406?requireLogin=False

 

Good luck 🙂

 

 

Mahdieh G
Applications Engineer
National Instruments UK&Ireland
0 Kudos
Message 3 of 5
(2,681 Views)

Hi,

 

Thanks for the tips, but the problem still persists. I have no trouble generating the HTML, but when the IE ActiveX component tries to print it generates an internal error.

 

For now our only work around is to use Firefox to print, which of course involves jumping over many hurdles...

0 Kudos
Message 4 of 5
(2,667 Views)

Having the same problem when trying to use the print button within the report window in TestStand 2010 sp1 in Windows 7.  I can open the same report file in ie manually and it prints just fine.  I can override a callback and write code to print just fine, but the print button doesn't work.  It generates the printer dialog, then after pressing print, it returns the exact same error message that you got.  Did you ever get any resolution?

 

CLA, CTA
Not my tempo... AGAIN!
0 Kudos
Message 5 of 5
(2,536 Views)