Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-07-11 17:08:18

fixit
Member
Registered: 2015-01-19
Posts: 115

Print document using selected printer

I have this as a custom thunar command.

/usr/lib/libreoffice/program/swriter -p %F

I have 2 printers. It prints to a Canon printer but I want it to print using my Brother printer.

How can I accomplish that?

Thanks.


Ubuntu-Mate 22.04

Offline

#2 2018-07-11 20:19:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Print document using selected printer

/usr/lib/libreoffice/program/swriter --help

"--p" prints to the default printer
"-pt {printername}" lets you specify a printer.

Try using the "--pt {printername}" option instead where "printername" is the name of your brother printer.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-07-11 21:26:34

fixit
Member
Registered: 2015-01-19
Posts: 115

Re: Print document using selected printer

Thanks so much.

/usr/lib/libreoffice/program/swriter -pt Brother_HL-2240_series %F worked like a charm.


Ubuntu-Mate 22.04

Offline

Board footer

Powered by FluxBB