I sent a copy of this to guix-devel@gnu.org because the bug has already been closed.
Danny Milosavljevic <dan...@scratchpost.org> writes: > On Wed, 01 Nov 2017 03:20:04 +0100 > Diego Nicola Barbato <dnbarb...@posteo.de> wrote: > >> This patch adds the Epson ESC/P-R printer driver. > > Nice! Could you also add the escpr to the documentation in doc/guix.texi > (in a new patch) ? > > Maybe extend the documentation from > > -------------------------------------------------------------------------- > Suppose you want to enable the Web interface of CUPS and also add > support for HP printers @i{via} the @code{hplip} package. You can do > that directly, like this (you need to use the @code{(gnu packages cups)} > module): > > @example > (service cups-service-type > (cups-configuration > (web-interface? #t) > (extensions > (list cups-filters hplip)))) > @end example > -------------------------------------------------------------------------- > > to > > -------------------------------------------------------------------------- > Suppose you want to enable the Web interface of CUPS, add support for Epson > printers $i{via} > the @code{escpr} and also add support for HP printers @i{via} the > @code{hplip} package. You can do > that directly, like this (you need to use the @code{(gnu packages cups)} > module): > > @example > (service cups-service-type > (cups-configuration > (web-interface? #t) > (extensions > (list cups-filters escpr hplip)))) > @end example > -------------------------------------------------------------------------- > > (if that's how it's used). Yes this is how it is used. I additionally installed it into my user profile so as to have easier access to the ppd files. > I think otherwise it's not really discoverable for the regular user how to > use this (installing the package into the user profile would do nothing, > right?). I agree that it is hard to discover. Is it OK if I simply apply your proposed extension to the documentation? > I wonder whether we should extend the default cups-configuration > to list both escpr and hplib. But that's for later... Thanks. Diego