From: Mekeor Melire <mekeor.melire@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: How to add a new driver as PPD-file to CUPS?
Date: Wed, 27 Sep 2017 18:00:24 +0200 [thread overview]
Message-ID: <87shf81693.fsf@gmail.com> (raw)
I'd like to print on GuixSD. I'm using the cups-service in my system
configuration.
How do I add a PPD-file driver for my printer? Do I have to create a
package for it?
What I tried so far:
I downloaded a PPD file for my printer from openprinting.org. I used
CUPS' web-interface localhost:631 to add a printer and chose that
PPD file as driver.
When I tried to print now, it failed with these line in the
/var/log/cups/error_log:
D [27/Sep/2017:17:05:17 +0200] [Job 1] ================================================
D [27/Sep/2017:17:05:17 +0200] [Job 1] File: <STDIN>
D [27/Sep/2017:17:05:17 +0200] [Job 1] ================================================
D [27/Sep/2017:17:05:17 +0200] [Job 1] Filetype: PDF
D [27/Sep/2017:17:05:17 +0200] [Job 1] Storing temporary files in /var/spool/cups/tmp
D [27/Sep/2017:17:05:17 +0200] [Job 1] PID 3541 (/gnu/store/00k480gc3j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/filter/pdftopdf) exited with no errors.
D [27/Sep/2017:17:05:17 +0200] [Job 1] sh: gs: command not found
D [27/Sep/2017:17:05:17 +0200] [Job 1] Process is dying with \"Unable to determine number of pages, page count: -1
D [27/Sep/2017:17:05:17 +0200] [Job 1] \", exit stat 3
D [27/Sep/2017:17:05:17 +0200] [Job 1] Cleaning up...
D [27/Sep/2017:17:05:17 +0200] [Job 1] PID 3543 (/gnu/store/00k480gc3j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/backend/usb) exited with no errors.
D [27/Sep/2017:17:05:17 +0200] [Job 1] PID 3542 (/gnu/store/00k480gc3j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/filter/foomatic-rip) stopped with status 3.
D [27/Sep/2017:17:05:17 +0200] [Job 1] End of messages
D [27/Sep/2017:17:05:17 +0200] [Job 1] printer-state=3(idle)
D [27/Sep/2017:17:05:17 +0200] [Job 1] printer-state-message="Filter failed"
D [27/Sep/2017:17:05:17 +0200] [Job 1] printer-state-reasons=none
I'd guess the breaking part is "sh: gs: command not found". The
reason for this probably is that the PPD-file contains this line:
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNO&&
--
mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868
next reply other threads:[~2017-09-27 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 16:00 Mekeor Melire [this message]
2017-09-27 19:57 ` How to add a new driver as PPD-file to CUPS? Ludovic Courtès
2017-09-27 20:11 ` Marius Bakke
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shf81693.fsf@gmail.com \
--to=mekeor.melire@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.