legacy-printer-app(8)

πŸ“¦ version 1.0~b2, in ubuntu resolute, ubuntu stonking

πŸ’– legacy-printer-app β€” the manual, but make it cute πŸ’–

okay bestie, so this is legacy-printer-app, and it lives in section 8 of the manual (that's the "sysadmin / daemons & stuff" section, iykyk). It's brought to you by the OpenPrinting girlies. Pull up a chair, grab a boba, and let's get into it πŸ§‹βœ¨


✨ SYNOPSIS ✨

legacy-printer-app [ SUB-COMMAND ] [ OPTIONS ] [ FILES ]

🌸 DESCRIPTION 🌸

So. legacy-printer-app is a Printer Application, and she can run either standalone or as a whole dedicated IPP Everywhere network service. Main character energy honestly. What she does is map arbitrary classic CUPS drivers into the Printer Application format. It's giving translator, it's giving bridge, it's giving "I speak both languages fluently" πŸ’…

Here's the situation she's solving, bestie: imagine a system where there's no classic installation of CUPS 2.x or older (you know, the DEB / RPM / ... packages, or installation from source). Instead, that system is running CUPS 3.x or newer and/or the CUPS Snap. And on those systems, classic CUPS drivers are not supported any more β€” printer drivers can only be provided by means of Printer Applications. 😭

So legacy-printer-app goes hunting for classic CUPS drivers in all the places they'd usually be installed, the exact spots where the distribution's classic CUPS 2.x installation would look for them:

  • filters, typically in /usr/lib/cups/filter
  • backends in /usr/lib/cups/backend
  • PPD files (and files that generate PPDs) in /usr/share/ppd, /usr/share/cups/model/, /usr/share/cups/drv, and /usr/lib/cups/driver

Then when you open up the Printer Application's web interface β€” that's http://localhost:8000/, http://localhost:8001/, ... you get the vibe β€” and click "Add Printer", printers get discovered and the available classic drivers get offered to you. ✨

And once you've set up a printer? It becomes available as an emulation of a driverless IPP printer, while the Printer Application underneath is using that classically installed driver. Obsessed with the duality honestly.

🫢 The big flex: a classic installation of CUPS or any general CUPS filters (the cups-filters package) is not needed.

This is the whole point, bestie: classic CUPS drivers that don't have an equivalent Printer Application yet β€” especially manufacturer-supplied proprietary drivers for legacy printers β€” can keep on being used with CUPS 3.x or the CUPS Snap. Legacy printer, but make it fashion. πŸ‘‘


πŸŽ€ SUB-COMMANDS πŸŽ€

If you don't specify a sub-command at all, submit is just assumed. She's got a default, she's confident, she knows what you want.

The following sub-commands are recognized by legacy-printer-app:

  • add β€” Add a printer queue. πŸ–¨οΈ
  • cancel β€” Cancel one or more print jobs.
  • default β€” Get/Set the default printer queue.
  • delete β€” Delete a printer queue. πŸ’€
  • devices β€” List connected printers.
  • drivers β€” List the supported drivers.
  • jobs β€” List pending print jobs.
  • modify β€” Modify a printer queue.
  • options β€” List supported options.
  • printers β€” List the printer queues.
  • server β€” Start a server. 🌈
  • shutdown β€” Shutdown a running server.
  • status β€” Show the status of a printer or all printers.
  • submit β€” Submit a file for printing.

πŸ’… OPTIONS πŸ’…

The following options are recognized by legacy-printer-app:

  • -a β€” Cancel all jobs. Just all of them. Gone. Periodt.
  • -d PRINTER β€” Specify printer.
  • -h HOST β€” Specify hostname.
  • -j JOB-ID β€” Specify job ID.
  • -m DRIVER-NAME β€” Specify driver.
  • -n COPIES β€” Specify number of copies.
  • -o NAME=VALUE β€” Specify option.
  • -t TITLE β€” Specify job title.
  • -u URI β€” Specify ipp: or ipps: printer/server.
  • -v DEVICE-URI β€” Specify socket: or usb: device.

πŸ¦‹ SEE ALSO πŸ¦‹

Go look, bestie, the source is right there and it's iconic πŸ’œ


Copyright Β© 2020 by Till Kamppeter. Copyright Β© 2020 by Michael R Sweet.


okay that's the whole page fr fr πŸ“ this was legacy-printer-app(8), from the OpenPrinting girlies, dated 2023-08-17 β€” and remember, no cap, she's still out here keeping your legacy printers alive with CUPS 3.x and the CUPS Snap. Slay, print, repeat. πŸŽ€βœ¨πŸ–¨οΈπŸ’–

πŸ“¦ where this page comes from