* How to add a new driver as PPD-file to CUPS?
@ 2017-09-27 16:00 Mekeor Melire
2017-09-27 19:57 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Mekeor Melire @ 2017-09-27 16:00 UTC (permalink / raw)
To: help-guix
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to add a new driver as PPD-file to CUPS?
2017-09-27 16:00 How to add a new driver as PPD-file to CUPS? Mekeor Melire
@ 2017-09-27 19:57 ` Ludovic Courtès
2017-09-27 20:11 ` Marius Bakke
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-09-27 19:57 UTC (permalink / raw)
To: Mekeor Melire; +Cc: help-guix
Howdy,
Mekeor Melire <mekeor.melire@gmail.com> 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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to add a new driver as PPD-file to CUPS?
2017-09-27 19:57 ` Ludovic Courtès
@ 2017-09-27 20:11 ` Marius Bakke
0 siblings, 0 replies; 3+ messages in thread
From: Marius Bakke @ 2017-09-27 20:11 UTC (permalink / raw)
To: Ludovic Courtès, Mekeor Melire; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 2454 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Howdy,
>
> Mekeor Melire <mekeor.melire@gmail.com> 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 :)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-27 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-27 16:00 How to add a new driver as PPD-file to CUPS? Mekeor Melire
2017-09-27 19:57 ` Ludovic Courtès
2017-09-27 20:11 ` Marius Bakke
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.