[cups] how to disable automatic ppd updating

Brian Potkin claremont102 at gmail.com
Tue Oct 3 16:03:05 PDT 2017


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.


More information about the cups mailing list