[cups] how to disable automatic ppd updating

Michael Pardee cups_mailing_list at open-sense.com
Wed Oct 4 13:14:39 PDT 2017


Thanks for all the suggestions.   Changing the NickName field worked
perfectly, double thanks to Brian for the easy way to test it.

Thanks,
Michael Pardee
Open Sense Solutions LLC
http://open-sense.com
888-323-1742

On Tue, Oct 3, 2017 at 6:03 PM, Brian Potkin <claremont102 at gmail.com> wrote:

> On Tue 03 Oct 2017 at 16:11:12 -0300, Till Kamppeter wrote:
>
> > You can use a simple trick:
> >
> > Edit the PPD file prefixing the NickName.
> >
> > For example replace
> >
> > *NickName:      "Generic PCL 5c Printer - CUPS+Gutenprint v5.2.11"
> >
> > by
> >
> > *NickName:      "CUSTOMISED: Generic PCL 5c Printer - CUPS+Gutenprint
> > v5.2.11"
> >
> > Then the PPD file updater is not able any more to identify to which
> Debian
> > package this PPD belongs and so the PPD gets never updated.
> >
> > What the prefix is does not matter, any prefix works.
> >
> > I use the trick in cups-browsed, as there I download the PPD from a
> remote
> > server to make the options available on the client, but I edit the PPD on
> > the client to avoid duplicate filtering (on the client and on the
> server).
> > These copies should naturally not get updated by the package updating
> > processes, therefore I prefix the NickNames with "Remote printer: ".
> >
> > Please report back whether it works for you.
>
> One way of testing is:
>
>   touch /usr/share/cups/ppd-udaters/*
>   apt-get --reinstall install cups
>
> --
> Brian.
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
>


More information about the cups mailing list