LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

To Print Text File

Hi,
I want to print a Text File from my application. For that i am using PrintTextFile function. But there is no option to enable the system printer's confirmDialogBox. I want to know how to how to enable or bring up the confirmDialogBox.
And also i have one more doubt, I gave the X offset and Y offset for the same PrintTextFile function using SetPrintAttribute. Even then it starting printing from the first line of the paper. I want to know how to give space above and below the page.

Regards
K.Srinivasan.
0 Kudos
Message 1 of 2
(2,815 Views)
Hello Joesam,

The printer dialog box does not appear for the PrintTextFile and PrintTextBuffer functions. Instead, it worked with the PrintPanel and PrintCtrl functions and documented in the following KnowledgeBase.

Thanks.
0 Kudos
Message 2 of 2
(2,790 Views)