From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87d16baom7.fsf@fastmail.com> References: <87shf81693.fsf@gmail.com> <8760c3gbi2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxIfx-00030m-4x for help-guix@gnu.org; Wed, 27 Sep 2017 16:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxIft-0005cX-VI for help-guix@gnu.org; Wed, 27 Sep 2017 16:11:21 -0400 In-Reply-To: <8760c3gbi2.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= , Mekeor Melire Cc: help-guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > 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 /v= ar/spool/cups/tmp >> D [27/Sep/2017:17:05:17 +0200] [Job 1] PID 3541 (/gnu/store/00k480gc= 3j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/filter/pdftopdf) exited w= ith 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 \"Unabl= e 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/00k480gc= 3j81l2f6kb67b9daxldzjqj3-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/00k480gc= 3j81l2f6kb67b9daxldzjqj3-cups-server-bin/lib/cups/filter/foomatic-rip) stop= ped 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"Filt= er 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 -dNOPAUS= E -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=3D1728c411718e3b3= 58c06561d6e80b47d7b331617 > > (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 :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlnMBeAACgkQoqBt8qM6 VPqRbwgAj8Eb1Kb+6u7JsHtvbCWJ6776+LJ0QFdAyiajLqZwlzKy3iIlOOcWZtQq ck2M3aWYRsMES8eLr8DIRa2iYZN3RtgRTGXx1nx3M4ygMf6uExWCeZtTsRxFWTQ7 WC/Fvwdz+zllHgq9VLlDZXrTEcwRcaE231giZJxz/Kt7d0A3umIbiCZEj1PBtw3E H2y8BKzkuQGGnAGd5VeFejRYXCpdxXGY0jIwGZuc9BC1f97qRIPNSjcp4ZSlkIPS 3+gza9CACkM2RzzqaeMPQVrUDEW3Ty0jXArt8asdfm5x2ZWAp94Vajyqme+c2Syu 4+WVnMvkjRD7h6DakvmZgeyPPXfaVQ== =apW9 -----END PGP SIGNATURE----- --=-=-=--