LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print double sided using report toolkit (word)

Highlighted

Hi guys,

 

I am using the built in report toolkit in LV 2018 to print MS Word reports. Does anybody know how to configure it so it prints double sided?

 

Lee

0 Kudos
Message 1 of 4
(422 Views)
Highlighted

This is a printer property. So either configure the default printer to print double sided, or make a new printer and use that to print to. Not sure if that's workable in your situation, but definitely the easiest solution if it is.

 

I don't think there's much control over the printer from LabVIEW... I'd guess that would require power shell or .NET commands.

0 Kudos
Message 2 of 4
(343 Views)
Highlighted

It looks like it can be done via some .NET calls.  

https://docs.microsoft.com/en-us/dotnet/api/system.drawing.printing.printersettings.duplex?view=netf...

 

With a .NET constructor, I was able to navigate to System.Drawing.Printing.Duplex and then there's a property node for value. 

0 Kudos
Message 3 of 4
(328 Views)
Highlighted

ok awesome, i'll try that .NET call and see how it goes, thanks!

0 Kudos
Message 4 of 4
(315 Views)