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
;; 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)))

Reply via email to