[Pkg-hpijs-devel] Bug#768859: [printer-driver-hpcups] upgrading the packages overwrites the ppd

Brian Potkin claremont102 at gmail.com
Mon Nov 17 15:45:46 UTC 2014


On Sun 16 Nov 2014 at 21:38:35 +0100, Francesco Muzio wrote:

> I have to correct myself.
> 
> if I create a new printer with lpadmin the behavior of the new
> fake-printer is the same as the real printer.

This only happens when updating the PPD files for hpcups.

printer-driver-hpcups.ppd-updater is read. It contains

  s/,?(\s*hpijs,?|,)\s*[\d\.]+[a-zA-Z]*[\d\.]*\s*$//;

and

  s/\s*(Foomatic\/|)(hpijs)(\s*\S+|)$//i;

Deleting the first one gets the correct behaviour.

However, I have no idea why either is there and what they do so am
reluctant to see this as a real fix. Perhaps it's best to seek comments
from Mark Purcell, one of the HPIJS and HPLIP maintainers with a CC of
this mail.

> if I reassign the hpijs PPD driver to the fake-printer and repeat
> the update of the PPD the fake-printer keeps the hpijs PPD

I think this is #736089.

Regards,

Brian.



More information about the Pkg-hpijs-devel mailing list