[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add a new driver as PPD-file to CUPS?
From: |
Ludovic Courtès |
Subject: |
Re: How to add a new driver as PPD-file to CUPS? |
Date: |
Wed, 27 Sep 2017 21:57:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Howdy,
Mekeor Melire <address@hidden> skribis:
> 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?
I don’t know!
> 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&&
I’ve fixed this part in ‘staging’:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1728c411718e3b358c06561d6e80b47d7b331617
(To be merged Real Soon Now.)
For my printer I also needed foo2zjs, which I recently packaged, but I
haven’t yet been able to use it.
To summarize, I’m also trying to solver printer issues on and off, so
I’m happy to discuss these issues! :-)
Ludo’.