legacy-printer-app(8)
π 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β Specifyipp:oripps:printer/server.-v DEVICE-URIβ Specifysocket:orusb:device.
π¦ SEE ALSO π¦
Go look, bestie, the source is right there and it's iconic π
π COPYRIGHT π
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
- ubuntu resolute: legacy-printer-app 1.0~b2-0ubuntu8 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: legacy-printer-app 1.0~b2-0ubuntu8 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright Β© 2020 by Till Kamppeter
- Copyright Β© 2020 by Michael R Sweet
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms