From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: How to add a new driver as PPD-file to CUPS? Date: Wed, 27 Sep 2017 21:57:57 +0200 Message-ID: <8760c3gbi2.fsf@gnu.org> References: <87shf81693.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxIT4-0007Am-JO for help-guix@gnu.org; Wed, 27 Sep 2017 15:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxIT3-0007cW-IF for help-guix@gnu.org; Wed, 27 Sep 2017 15:58:02 -0400 In-Reply-To: <87shf81693.fsf@gmail.com> (Mekeor Melire's message of "Wed, 27 Sep 2017 18:00:24 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Mekeor Melire Cc: help-guix Howdy, Mekeor Melire 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=E2=80=99t 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 /va= r/spool/cups/tmp > D [27/Sep/2017:17:05:17 +0200] [Job 1] PID 3541 (/gnu/store/00k480gc3= j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/filter/pdftopdf) exited wi= th 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/00k480gc3= j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/backend/usb) exited with n= o errors. > D [27/Sep/2017:17:05:17 +0200] [Job 1] PID 3542 (/gnu/store/00k480gc3= j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/filter/foomatic-rip) stopp= ed 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=3D3(idle) > D [27/Sep/2017:17:05:17 +0200] [Job 1] printer-state-message=3D"Filte= r failed" > D [27/Sep/2017:17:05:17 +0200] [Job 1] printer-state-reasons=3Dnone > > 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=E2=80=99ve fixed this part in =E2=80=98staging=E2=80=99: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1728c411718e3b358= c06561d6e80b47d7b331617 (To be merged Real Soon Now.) For my printer I also needed foo2zjs, which I recently packaged, but I haven=E2=80=99t yet been able to use it. To summarize, I=E2=80=99m also trying to solver printer issues on and off, = so I=E2=80=99m happy to discuss these issues! :-) Ludo=E2=80=99.