Hi,
I am trying to print a JPG image from command line but I need to select different printers for it, searching the internet I did found some old threads regarding this feature and the usage of it like this:
xnview.exe -print="MyPrinter name" C:\test.jpg
But when using this the argument MyPrinter name is ignored and the image is printed on the printer I last used on GUI.
Also, I did have a look at the INI settings file and couldn't find a field regarding printer name.
My question is, how can a printer be selected for printing from command line ?
Many thanks!
XnView print command line arguments for selecting printer
Moderators: XnTriq, helmut, xnview
-
- Posts: 1
- Joined: Tue Jan 18, 2022 3:53 pm
-
- Author of XnView
- Posts: 44930
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView print command line arguments for selecting printer
are you sure that you use the correct printer name?
Pierre.