[cups] Problem with cups selecting manual tray on HP laserjet

Steinar Bang sb at dod.no
Wed Dec 14 14:19:32 PST 2022


>>>>> Helge Blischke <helgeblischke-S0/GAf8tV78 at public.gmane.org>:

> Thanks for the pretty long list. In alll the attribute listings
> therein, I didn’t find anything concerning the input bin(s), and even
> the job options listed didn’t mention the input bin or things like
> „manual feed“.

Ok, thanks!

(This is pretty much what I've found when I've looked for bins or trays,
which has confused me...)

> But the several instances denoting the PPD generation only stated that
> the printer’s PPD has been generated fromm the IPP attributes
> requested from the printer, but no details.

Ah, ok...? So the PPD comes from the printer?  I didn't know that.  I
saw that the PPDs must be created from something, since all changes I
made to the file was overwritten, but I couldn't find a source for the
change. 

> Even when looking into the sources from cups-browsed and the
> driverless utility (using a fairly recent source) I found nothing
> concerning the input bin(s).

> To shorten the procedure, could you please do the following:

> —	shut down the printer, so that the printer queue and the printer’s PPD get deleted by cups.

Ok, /etc/cups/ppd before and it contained a .ppd file, and after the
printer had been switched off, /etc/cups/ppd was empty

> —	switch on the printer again
> 	and possibly print a test file

Switched the printer back on, and the file /etc/cups/ppd/HP_Color_LaserJet_Pro_M252dw_501595_.ppd
was created:
 https://gist.github.com/steinarb/30c413c5a274472bcada19ddf6b4cf3b

I printed a test file, and after the print, the /etc/cups/ppd/HP_Color_LaserJet_Pro_M252dw_501595_.ppd
file looked like this:
 https://gist.github.com/steinarb/abdb46361d31db2918a692f51ff68ab0

> —	save the printer’s PPD /from /etc/cups/ppd/HP_Color_Laserjet_Pro_M252dw_nnnn_.ppd)
> 	where nnnn is a ID number generated by the PPD generator
> 	and send it to me.

The PPD as created just after switching the printer back can be found in
the first gist above, and the PPD after printing a test file can be
found in the second gist above.

Note: The test page was printed from the regular tray, and was not
waiting for a sheet to be fed into the manual slot.


More information about the cups mailing list