unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to configure a printer on Guix System
@ 2020-05-15  9:22 Christophe Pisteur
  2020-05-15 15:33 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 6+ messages in thread
From: Christophe Pisteur @ 2020-05-15  9:22 UTC (permalink / raw)
  To: help-guix

Hello,

I don't understand how to configure a printer on Guix System. 

I should configure the print service, as explain in the manual section
8.8.6, but I don't understand the procedure. I would probably need a
"how to".

Since now, I installed the following packages: cups, cups-filters,
fomatics-filters.

When I launch http: // localhost: 631 / in my browser, I receive this
information:
IceCat can’t establish a connection to the server at localhost: 631.


I want to install a Ricoh MPC 3003 printer with a ppd included in
openprinting.org:
https://www.openprinting.org/printer/Ricoh/Ricoh-MP_C3003
(MIT license)
It works on debian.

Thank you for your help.

Christophe




^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: How to configure a printer on Guix System
@ 2021-01-09 18:13 Christophe Pisteur
  0 siblings, 0 replies; 6+ messages in thread
From: Christophe Pisteur @ 2021-01-09 18:13 UTC (permalink / raw)
  To: christophe.pisteur; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

After several random tests, I found what prevents printing and displays
the error message "filter failed" in the web interface of cups: 

The ppd file I used uses the postscript language, but if I use the ppd
file in PDF language, printing works:

Ricoh-MP_C3003-PDF-Ricoh.ppd: "ok"
Ricoh-MP_C3003-Postscript-Ricoh.ppd: "filter failed"

Since openprinting offers both ppd files, that's okay, but I would find
it useful to know if there is anything to specify in the guix
configuration file for postscript ppd to work.

Attachment: config.scm

[-- Attachment #2: config.scm --]
[-- Type: text/x-scheme, Size: 1779 bytes --]

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu) (gnu packages cups))
(use-service-modules desktop networking ssh xorg cups)

(operating-system
  (locale "fr_CH.utf8")
  (timezone "Europe/Zurich")
  (keyboard-layout (keyboard-layout "ch" "fr"))
  (host-name "t400")
  (users (cons* (user-account
                  (name "christophe")
                  (comment "Christophe Pisteur")
                  (group "users")
                  (home-directory "/home/christophe")
                  (supplementary-groups
                    '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))
  (packages
    (append
      (list (specification->package "nss-certs"))
      %base-packages))
  (services
    (append
      (list (service gnome-desktop-service-type)
            (service openssh-service-type)
            (set-xorg-configuration
              (xorg-configuration
                (keyboard-layout keyboard-layout)))
            (service cups-service-type
              (cups-configuration
                (extensions
                  (list cups-filters hplip-minimal))
                (server-name host-name)
                (host-name-lookups #t)
                (web-interface? #t)
                (default-paper-size "A4"))))               
      %desktop-services))
  (bootloader
    (bootloader-configuration
      (bootloader grub-bootloader)
      (target "/dev/sda")
      (keyboard-layout keyboard-layout)))
  (swap-devices (list "/dev/sda1"))
  (file-systems
    (cons* (file-system
             (mount-point "/")
             (device
               (uuid "bfbee58e-496c-4f01-8b8a-2959c505c936"
                     'ext4))
             (type "ext4"))
           %base-file-systems)))

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-09 18:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15  9:22 How to configure a printer on Guix System Christophe Pisteur
2020-05-15 15:33 ` Tobias Geerinckx-Rice
2020-05-16 13:17   ` Christophe Pisteur
2020-05-16 13:27     ` Marius Bakke
2020-05-18 21:35       ` Christophe Pisteur
  -- strict thread matches above, loose matches on Subject: below --
2021-01-09 18:13 Christophe Pisteur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).