I’m running a stock CUPS 2.4.2 print server on Debian 12.
Connected to this CUPS is a MINOLTA bizhub C558 via IPP-Everywhere to its LAN IP.
After adding the printer via CUPS web UI (Administration -> Add Printer), I queried the printer for its default settings which resulted in a PPD file in /etc/cups/ppd
I then set the input tray to “ByPassTray” setting via the UI (see screenshot below).
But when I commandline print to this queue via “lp” command, it ignores the default settings in the PPD and auto-selects a paper tray (paper size is A4). Example:
lp -d QUEUE_NAME -o media=A4 -o 'fit-to-page' /path/to/doccument.pdf
screenshot of CUPS UI printer queue default settings
However, if I specify the input-tray with an option to ‘lp’, then it selects the right tray:
lp -d QUEUE_NAME -o media=A4 -o InputSlot='ByPassTray' /path/to/doccument.pdf
What am I missing here, to get the printing to use the default queue settings for tray selection?
Sea P. You is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.