LUGG - LabVIEW User Group at Goddard

cancel
Showing results for 
Search instead for 
Did you mean: 

LUGG Print LV FP to PDF.ppt

LUGG Presentation from 6/8/2016.   PDF Reports from LabVIEW using PDF Creator

Message 1 of 4
(7,804 Views)

To answer the question in the presentation about working with the native Windows 10 print to PDF I tested LabVIEW printing to PDF with Windows 10 using QuickPrint with the Windows built-in print to PDF.  It works as expected, you are asked for a filename, but it also seemed to change my default printer to the MS Print to PDF.

Regards,
Tom
0 Kudos
Message 2 of 4
(7,385 Views)

Tom:  Thanks for testing this for us.  I have always wondered about the App Class "Pr.DefaultPrinter" property in LabVIEW.  When I use that property, it generally does not change my Windows default printer, but only the default printer used by LabVIEW.  Perhaps that App class property works differently in Windows 10.  Which version of LabVIEW are you using?  You could try the snippet below to see if it works to change the Windows default printer.  In Windows 7/LV2014, it does not.

DefaultPrinter.png

0 Kudos
Message 3 of 4
(7,386 Views)

Thanks for the code. I’ll try tonight. I’m using LV2013 on Windows 10.

-Tom

Regards,
Tom
0 Kudos
Message 4 of 4
(7,386 Views)