LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid crash attributed to PrintMgr.cpp line 561 in Print Panel.vi

LabVIEW version 8.5 application

Windows 8.1

 

The code calls Print Panel.vi (provided by NI as part of an early version of LabVIEW; it opens a reference to the VI name, then runs an Invoke Node with the method "Print.Panel To Printer" selected and Entire Panel? set to T, then closes the reference).  The VI name is the name of the VI that contains the code that triggers the crash.

 

Fatal Internal Error "PrintMgr.cpp", line 561

LabVIEW version 8.5

You will lose any unsaved work...

 

and then the program exits.

 

We have noticed that this method sends the VI's front panel to whatever printer was set as the default printer at the time that the LabVIEW program was started.  We usually select a printer that is actually a -->.pdf converter.

 

This same code has worked well in >250 WIndows XP and Windows 7 systems, most using LabVIEW version 8.5.  It also worked fine on Windows 8.1 until now, but we have only deployed it on about 10 Windows 8.1 systems.  The system on which this now crashes has Microsoft OneNote handling print jobs - The XP and 7 systems didn't have that so OneNote is suspected of having something to do with the problem.

 

Does anyone know what PrintMgr.cpp line 561 actually does?  Any suggestions on how to make this work again?

 

Thanks


HF

 

0 Kudos
Message 1 of 2
(2,646 Views)

Hi HF,

 

I suggest taking a look at this Knowledge Base article:

http://digital.ni.com/public.nsf/allkb/01B186B5CEB1D07786256747000F4319?OpenDocument

Under the header "Specific suggestions for troubleshooting LabVIEW internal errors", section e suggests adjusting printing options. This may help you with this error. 

Thanks,

Rita Prather
Software Product Manager
rita.prather@ni.com
National Instruments
0 Kudos
Message 2 of 2
(2,606 Views)