Created attachment 444870 [details] emerge --info upgrade to hplip-3.16.8 results in filter error (HP LaserJet m402dn), recompiling cups and cups-filters does not solve the problem. However, downgrading to hplip-3.16.7 restores functionality!
Did you try deleting the printer queue and setting it up again after upgrading hplip.
Exactly the same here, with HP LaserJet on network and 3 Gentoo PCs. Downgrading to hplip-3.16.7 restores functionality to.
Created attachment 446970 [details, diff] indenting patch for /usr/libexec/cups/filter/hpps Same here. There appears to be an indenting error in /usr/libexec/cups/filter/hpps (oh, Python ...), which causes the script to fail along these lines in /var/log/cups/error_log: D [20/Sep/2016:14:35:33 +0200] [Job 74] File \"/usr/libexec/cups/filter/hpps\", line 196 D [20/Sep/2016:14:35:33 +0200] [Job 74] secpin += opts[x] D [20/Sep/2016:14:35:33 +0200] [Job 74] ^ D [20/Sep/2016:14:35:33 +0200] [Job 74] TabError: inconsistent use of tabs and spaces in indentation D [20/Sep/2016:14:35:33 +0200] [Job 74] prnt/backend/hp.c 919: ERROR: null print job total=0
Same hpps spacing issue in 3.16.9, manually fixing hpps restores printing.
(In reply to Tanktalus from comment #4) > Same hpps spacing issue in 3.16.9, manually fixing hpps restores printing. How do you fix please ?
(In reply to Cyril from comment #5) > How do you fix please ? Either apply the patch in comment #3 or edit /usr/libexec/cups/filter/hpps by hand (as root). Replace the leading tab ("tabulator") on line 194 with 8 blanks ("spaces"), the two leading tabs on lines 196 and 198 with 8 blanks each, i.e. 16 blanks.
(In reply to Markus Wernig from comment #6) > (In reply to Cyril from comment #5) > > > How do you fix please ? > > Either apply the patch in comment #3 or edit /usr/libexec/cups/filter/hpps > by hand (as root). > Replace the leading tab ("tabulator") on line 194 with 8 blanks ("spaces"), > the two leading tabs on lines 196 and 198 with 8 blanks each, i.e. 16 blanks. Thanks,
Fixed in GIT. Thanks for the report!