LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
pblase

LabWindows/CVI print dialog

I've been looking around for a way to open the LabWindows/CVI print dialog box. It appears when you call the PrintCtrl function, does NOT appear in the PrintTextFile or PrintTextBuffer functions, and there is no function to open it directly; I need to print from a text buffer and would like to open it directly from a Print Setup menu function. The best recommendations that I have received are either use the Windows PrintDlg function, or to kludge the text into a hidden control and print the control. I highly recommend either adding it to all user interface library print functions or allow the user to call it directly.

2 Comments
LuisG
NI Employee (retired)
Status changed to: Under Consideration
 
RobertoBozzolo
Proven Zealot

I strongly second the suggestion for a native print dialog control in CVI!

 

Neverheless, while it is under consideration I have developed an example on how to show windows print dialog in a CVI program and retrieve user choices: you can find it here.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?