[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: |
Marius Bakke |
Subject: |
Re: How to add a new driver as PPD-file to CUPS? |
Date: |
Wed, 27 Sep 2017 22:11:12 +0200 |
User-agent: |
Notmuch/0.25.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) |
Ludovic Courtès <address@hidden> writes:
> 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.)
Tangentially, I had to upgrade cups-filters due to an incompatibility
with the new version of Poppler. I had a brief look at these changes
and they still seemed to be in effect, but please verify that it works!
I started a new evaluation about an hour ago, I think it can be merged
if everything builds this time. Readers are encouraged to test it on
their systems once substitutes are available and report any problems :)
signature.asc
Description: PGP signature