From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scale Word to print to custome size

I am making a application that will open a word document that is usually 8.5x11 and change the paper size to 12.80 x 10.24 print it to a jpeg so that is 1280 x1024 using active x controls. The problem is in that the printer is not scalling the document. How would I be able to tell word to scale to fit the page size of 12.80 x 10.24?

 

I have also added a custom paper size for the printer driver under the name Paperless. How would I be able to select that as a page size instead of custom page size?

0 Kudos
Message 1 of 2
(2,276 Views)

I believe you would have to play with the "PrintZoomPaperWidth" and "PrintZoomPaperHeight" options in your Document invoke node. This Microsoft page seems to confirm that:

 

http://msdn.microsoft.com/en-us/library/microsoft.office.tools.word.document.printout.aspx

 

Hope this helps!

Rob B
FlexRIO Product Manager
0 Kudos
Message 2 of 2
(2,215 Views)