mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
doc: Add 'cups-configuration' example with 'hplip'.
* doc/guix.texi (Printing Services): Add example with 'hplip'.
This commit is contained in:
parent
3b0fcc672d
commit
de322a5d1d
1 changed files with 8 additions and 3 deletions
|
@ -9288,6 +9288,7 @@ makes the good ol' XlockMore usable.
|
||||||
@node Printing Services
|
@node Printing Services
|
||||||
@subsubsection Printing Services
|
@subsubsection Printing Services
|
||||||
|
|
||||||
|
@cindex printer support with CUPS
|
||||||
The @code{(gnu services cups)} module provides a Guix service definition
|
The @code{(gnu services cups)} module provides a Guix service definition
|
||||||
for the CUPS printing service. To add printer support to a GuixSD
|
for the CUPS printing service. To add printer support to a GuixSD
|
||||||
system, add a @code{cups-service} to the operating system definition:
|
system, add a @code{cups-service} to the operating system definition:
|
||||||
|
@ -9308,13 +9309,17 @@ as GNOME's printer configuration services. By default, configuring a
|
||||||
CUPS service will generate a self-signed certificate if needed, for
|
CUPS service will generate a self-signed certificate if needed, for
|
||||||
secure connections to the print server.
|
secure connections to the print server.
|
||||||
|
|
||||||
One way you might want to customize CUPS is to enable or disable the web
|
Suppose you want to enable the Web interface of CUPS and also add
|
||||||
interface. You can do that directly, like this:
|
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
|
@example
|
||||||
(service cups-service-type
|
(service cups-service-type
|
||||||
(cups-configuration
|
(cups-configuration
|
||||||
(web-interface? #f)))
|
(web-interface? #t)
|
||||||
|
(extensions
|
||||||
|
(list cups-filters hplip))))
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
The available configuration parameters follow. Each parameter
|
The available configuration parameters follow. Each parameter
|
||||||
|
|
Loading…
Reference in a new issue