LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report printing issue after upgrading from LV 8.2 to LV 2009

Hello,

I am upgrading an application from LabView 8.2 to LabView 2009. It uses the Report Generation Toolkit to create reports based on Word templates. The reports are pretty complicated, with a lot of bookmarks, tables, and graphs, but only one page long.

 

The reports are generated correctly. However when sent to printing (using Print report.vi), the printer goes into spooling status and if you are patient enough you may get the report after at least 7 minutes. I tried changing the printer setting to "Print directly to the printer", as per an old KnowledgeBase article. No luck. I have installed a local printer. No luck again.

 

If I close the LabView application while the printer is shown in spooling status, the report prints right away, every time.

Never had this issue in LabView 8.2. On that machine I had Office XP. Now I have Office 2007...

 

I do not get any error whatsoever, and I cannot figure out where the solution may be.

 

I have one single report that prints right away every time I try. Coincidence or not, this is the only one that has no tables to print. It has graph though and plenty of bookmarks.

 

I have exhausted all the ideas on how to deal with this situation, and I must find a solution ASAP. Any suggestion would be greatly appreciated.

 

Thanks.

0 Kudos
Message 1 of 4
(2,500 Views)

Try to run this VI.  It will help narrow down where your issue is coming from.

 

Brandon Treece

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(2,480 Views)

Brandon,

 

Thanks for your input.

 

Not sure how I can use it to narrow down the problem though. I ran it, and I see that the printers are correctly identified, the default one is correctly found, however absolutely nothing is being printed out (I typed a text in the string control, and the Print control was on).

 

Everything runs with no errors. I would prefer to see a bunch of errors 🙂 ...

 

 

0 Kudos
Message 3 of 4
(2,458 Views)

Try going to the NI Example Finder and go to Printing and Publishing Data>>Generating Reports>>Sample Test Report.vi.  Does this VI work for you?  

 

Brandon Treece

Applications Engineer

National Instruments

0 Kudos
Message 4 of 4
(2,432 Views)