Next question:
How can I GET or SET the default printer?
or SELECT printer and save to a variable to use in subsequent printing ?
I want to be able to print certain images to printer1, others to printer2, and so on.
Thank you,
Christian
get or set default printer
-
- Posts: 44
- Joined: Mon Jan 01, 2024 11:21 am
- Contact:
-
- Posts: 44
- Joined: Mon Jan 01, 2024 11:21 am
- Contact:
Re: get or set default printer
I can't use print document action to get and save a printer to a variable.
An action 'Browse for printers' would be a nice add-on.
Mind you, as I work more with robotask I seem to find alternative ways of doing things.
So, this is not a must or urgent but just easier.
Christian
An action 'Browse for printers' would be a nice add-on.
Mind you, as I work more with robotask I seem to find alternative ways of doing things.
So, this is not a must or urgent but just easier.
Christian
Re: get or set default printer
execute powershell to get all printers
Get-Printer | Format-List
and this to get active printer
Get-WmiObject -Query "SELECT * FROM Win32_Printer WHERE Default = TRUE"
Get-Printer | Format-List
and this to get active printer
Get-WmiObject -Query "SELECT * FROM Win32_Printer WHERE Default = TRUE"
-
- Posts: 44
- Joined: Mon Jan 01, 2024 11:21 am
- Contact:
Re: get or set default printer
Thank you Felipe.