LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does one set the "current printer" in LabVIEW?

Solved!
Go to solution

The PrintPanel method for a VI says it will print to the "current printer".  How does one set this?

In Windows, all applications start with the default printer and the user can change that to be the "current printer",

but it is different in each application.

LabVIEW doesn't seem to have any way to set the current printer so what does it use?

And why can't the method take an optional printer name anyway?

Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory
0 Kudos
Message 1 of 5
(2,851 Views)
Solution
Accepted by topic author BVSmith
I believe you are looking for the Printing:Default Printer property for the Application class.
0 Kudos
Message 2 of 5
(2,847 Views)

Yes, indeed that is what I wanted.  The problem was that I searched for "current printer" in the LabVIEW help and nothing came up about how to set that.  If they had used the term "default printer" for the PrintPanel method that would have given me a clue 🙂

Thanks for the answer.

 

Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory
0 Kudos
Message 3 of 5
(2,844 Views)
I like the way the emoticon snuck into the property name. 😄
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 4 of 5
(2,823 Views)
Oh, yeah. Forgot about that little annoyance. I turned off those short-version emoticons in my preferences once the new emoticons were provided.
0 Kudos
Message 5 of 5
(2,816 Views)