LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NIReport "unknown automation error"

Using NIReport with CVI 6.0 I get an "unknown automation error" while trying to print the Report.
It works fine using a network printer. As soon as I use a local printer the error occurs.
0 Kudos
Message 1 of 2
(3,075 Views)
Steps to debug this issue:

1. Check that you have latest printer drivers from the manufacturer. Try reinstalling driver.

2. Attempt to print to both the network printer and the local printer using the CVI library print functions. (i.e. call "SetPrintAttribute(...)" to set the printer name, then call "PrintPanel(...)" or some similar function to print without using nireport) This will narrow the issue to CVI's communication with the printer, or a problem in nireport.

3. Try installing an alternate local printer and running the same program.

If you come to the conclusion that this is a problem with NIReport or between CVI and your specific printer, go to www.ni.com/ask and create a service request so that this issue may be actively researched by NI eng
ineers.

regards,
Eric
0 Kudos
Message 2 of 2
(3,075 Views)