LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change default page size

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

0 Kudos
Message 1 of 2
(3,872 Views)

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

0 Kudos
Message 2 of 2
(3,833 Views)