Xfce Forum

Sub domains
 

You are not logged in.

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

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

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.

Offline

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

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,857

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.

Offline

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

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

Re: Print document using selected printer

Thanks so much.

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

Offline

Board footer

Powered by FluxBB