Page 1 of 1

XnView print command line arguments for selecting printer

Posted: Tue Jan 18, 2022 3:56 pm
by darkm4n
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!

Re: XnView print command line arguments for selecting printer

Posted: Tue Jan 25, 2022 9:38 am
by xnview
are you sure that you use the correct printer name?