Skip to content

cupsadmin 1.3.0

Choose a tag to compare

@kfattic kfattic released this 17 Sep 02:06
· 4 commits to main since this release

Canon and HP driver profiles

Quick actions now know the Canon and HP driver keywords, in both the app and cupsadmin quick:

Driver Color / black & white Duplex / single-sided Letter paper User code
Canon UFR II / LIPSLX / CARPS2 CNColorMode=color / mono (color models) CNDuplex=DuplexFront / None PageSize=Letter Unavailable: Canon department IDs are set by the Canon driver, not the PPD
HP HPColorAsGray=False / True, or HPColorMode=colorsmart / grayscale (OfficeJet and other inkjets) Duplex (generic) PageSize=Letter (generic) Unavailable: HP drivers have no accounting code option
  • Neither driver has a fit-to-page option, so on these queues the action is titled Use Letter Paper and sets only the page size. Ricoh PS queues keep Use Letter Paper, Fit to Nearest Size.
  • Driver profiles can now mark an action unavailable and give the reason, which shows in the app's tooltip and in the CLI error.
  • The profiles were checked against every PPD in Canon's UFR II/UFRII LT/LIPSLX/CARPS2 driver package (516) and HP's printer driver package (654).

cupsadmin ppdreport <file>

ppdreport takes a PPD file path (plain or .gz) as well as a queue name, so you can look at a driver's keywords without installing it or creating a queue:

pkgutil --expand-full Driver.pkg /tmp/driver
cupsadmin ppdreport "/tmp/driver/…/Resources/CNPZUIRAC3530IIIZU.ppd.gz"

Install: download cupsadmin-1.3.0.pkg (signed and notarized); it upgrades 1.2.0 in place.