unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Christophe Pisteur <christophe.pisteur@fsfe.org>
To: christophe.pisteur@fsfe.org
Cc: help-guix@gnu.org
Subject: Re: How to configure a printer on Guix System
Date: Sat, 09 Jan 2021 19:13:07 +0100	[thread overview]
Message-ID: <adb9fb43c597de14ac6ef2bb0f94cf06719c34db.camel@fsfe.org> (raw)
In-Reply-To: 29d9930252d6e0c028816fcca5bc529469316a92.camel@fsfe.org

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

             reply	other threads:[~2021-01-09 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-09 18:13 Christophe Pisteur [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adb9fb43c597de14ac6ef2bb0f94cf06719c34db.camel@fsfe.org \
    --to=christophe.pisteur@fsfe.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).