Xfce Forum

Sub domains
 

You are not logged in.

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

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

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 24.04

Offline

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

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

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: 129

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 24.04

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.18 KiB (Peak: 528.34 KiB) ]