[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: doc: Add 'cups-configuration' example with 'hplip'.
From: |
Ludovic Courtès |
Subject: |
07/09: doc: Add 'cups-configuration' example with 'hplip'. |
Date: |
Fri, 27 Jan 2017 23:38:49 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit de322a5d1deaf1414de4c603308333d5da7d28af
Author: Ludovic Courtès <address@hidden>
Date: Sat Jan 28 00:13:43 2017 +0100
doc: Add 'cups-configuration' example with 'hplip'.
* doc/guix.texi (Printing Services): Add example with 'hplip'.
---
doc/guix.texi | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 7093bf7..fef8ac6 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9288,6 +9288,7 @@ makes the good ol' XlockMore usable.
@node Printing Services
@subsubsection Printing Services
address@hidden printer support with CUPS
The @code{(gnu services cups)} module provides a Guix service definition
for the CUPS printing service. To add printer support to a GuixSD
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
secure connections to the print server.
-One way you might want to customize CUPS is to enable or disable the web
-interface. You can do that directly, like this:
+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? #f)))
+ (web-interface? #t)
+ (extensions
+ (list cups-filters hplip))))
@end example
The available configuration parameters follow. Each parameter
- branch master updated (d61b248 -> b45dbfc), Ludovic Courtès, 2017/01/27
- 03/09: gnu: emacs-emms: Add 'upstream-name' property., Ludovic Courtès, 2017/01/27
- 08/09: doc: Add missing Upstart command for the binary installation., Ludovic Courtès, 2017/01/27
- 07/09: doc: Add 'cups-configuration' example with 'hplip'.,
Ludovic Courtès <=
- 09/09: tests: Adjust pypi test to recent importer change., Ludovic Courtès, 2017/01/27
- 05/09: import: github: Better tolerate unexpected file extensions., Ludovic Courtès, 2017/01/27
- 01/09: gnu-maintenance: Honor 'upstream-name' property in GNU updater., Ludovic Courtès, 2017/01/27
- 02/09: gnu-maintenance: GNU updater handles gnu.org-hosted Emacs packages., Ludovic Courtès, 2017/01/27
- 04/09: gnu-maintenance: 'gnu-package?' ignores invalid URLs., Ludovic Courtès, 2017/01/27
- 06/09: packages: Add 'package-upstream-name' and use it., Ludovic Courtès, 2017/01/27