11-02-2011 07:24 AM
When printing a front panel the default page size is letter. My windows printer has A4 as default page size. LabView always overrides my printer's default page size to letter.
The problem: I want to print programmatically the front panel. With the page size letter I get a broad left and bottom margin on the A4 page. I didn't find a possibility to change the default page size programmatically or manually.
I use LabView 2011 on Windows Vista.
Thank you for your help
Stefan
11-09-2011 07:44 AM
Hi Stefan,
i couldn`t find a programmtically way to set the page size to A4 in LabView. You can change parameters like orientation and print method (Postscript..), but i couldn`t find methods to determine windows printer dialog options.
A possible work around would be, to use System Exec VI to perform a print command on a prior LabView created report file (Word or PDF). There are several command line print tools on the web.
Kind regards
Thomas Frank