LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SetPrintAttribute: CVI responsible for displaying printer-specific dialog?

I can suppress the display of the CVI print properties box with the command SetPrintAttribute (ATTR_SYSTEM_PRINT_DIALOG_ONLY, 1);  When I make a call to PrintPanel() the printer-specific print properties box still appears.  What I want to know is, is CVI responsible for displaying the printer-specific box or is this a printer or Windows property?  I am trying to print a panel without having any confirmation boxes appear.  Thanks.
0 Kudos
Message 1 of 3
(3,278 Views)
Snood1,

It is CVI that is responsible for displaying the dialog box, and if you pass 0 as the value of the last parameter in the PrintPanel function, it should suppress it.

Luis


0 Kudos
Message 2 of 3
(3,272 Views)
Thanks, it worked.  I should've checked out the PrintPanel parameters before I submitted the request.  But alas, I did not author the code, merely inherited it.
0 Kudos
Message 3 of 3
(3,263 Views)