LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

When calling the PrintCtrl() function from a CVI 5.5.1 program, it takes a lot of time to appear the print dialog box, thus allowing to proceed with the printing operation. How to fix the problem ?

I guess it doesn't matter, but actually the control I am trying to print is a table...
0 Kudos
Message 1 of 2
(2,944 Views)
We use the Windows system print dialog. The speed of this dialog is system dependent depending on system speed, number of printers, etc. I don't think there is anything you can do to speed up this dialog. The PrintCtrl function does allow you to hide this dialog though, and then you can use SetPrintAttribute to set any printing options that you want. I would recommend hiding the dialog. If you still want the user to select some print setting your could create your own print dialog with and let them pick values of the print attributes through it.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
Message 2 of 2
(2,944 Views)