help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to add a new driver as PPD-file to CUPS?


From: Mekeor Melire
Subject: How to add a new driver as PPD-file to CUPS?
Date: Wed, 27 Sep 2017 18:00:24 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]