Send to Printer

UUID: send-to-printer@rcalixte
Last edited:
1 month ago 2024-10-17, 20:23
Last commit: [1a3bc94b] send-to-printer@rcalixte: Update README (#547)

Print file(s) via the default printer

README

Close

SEND TO PRINTER

Send file(s) to print via the default printer

DESCRIPTION

This action will attempt to print the selected file(s) once to the default printer.

NOTE: There must be a printer configured as the default printer.

NOTE: If there are any errors, they will be silently discarded.

NOTE: When printing multiple files, the name of the print job will be the first file in the list.

DEPENDENCIES

The following programs must be installed and available:

  • lpr to submit files for printing (provided by the packages below)

Depending on your family of distro, the following package needs to be installed to satisfy the aforementioned program dependency.

  • Debian/Mint/Ubuntu: Install the package cups-bsd
  • Fedora: Install the package cups-client
  • Arch/Manjaro: Install the package cups

CHANGELOG

Open

Log In To Comment!

3 Comments

Igor Santos
Igor Santos-1 month ago
The README is confusing....... On Mint 22, installing `lpr` causes an uninstall of `cups-bsd`, and vice-versa.
Rick Calixte
Rick Calixte-1 month ago
Hi Igor, apologies for the confusion. The reason the package names were added to the README was to make clear about the source to actually avoid the potential for confusion. Program names and package names often overlap/intersect but given that that wasn't the case here, it merited calling out. I can add a tweak for the README to emphasize the package names further if that will help.
Craig Ritchie
Craig Ritchie-5 months ago
This wasn’t working for me on Mint 21.3 until I read the Description. You must identify a Default printer for this to work.