cups now makes more checks with the attributes it gets from the printer,
so it would be great to know which printer you are using.
It's an HP Smart Tank 720.
Are there any
messages in the error log on host A or host B?
Indeed, on host B the following appears at the same time the print dialog hangs in evince ("piec" is host A):
E [04/Oct/2024:13:29:44 +0200] HP_Smart_Tank_710_720_series_piec: Printer returned invalid data: \"media-supported\": Bad keyword value \"\" - invalid character (RFC 8011 section 5.1.4).
Are you still able to
print on host A?
I had never tried before, but yes, "lpr -P ... file.pdf" worked! \o/
Are you able to try a different printer (maybe even a different
manufacturer) and check whether you have the same problems with it?
Sorry, I only have this one printer.
FWIW, I did "sudo grep -R media-supported /etc 2>/dev/null" and that came back with nothing. So I guess it's a bug in the printer's firmware? Can I work this around somehow on the cups side?
Marcin