From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Brother HL-2130: CUPS, foomatic, hpijs Date: Fri, 20 Jul 2018 11:40:06 +0200 Message-ID: <87zhymfdop.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgRtU-00038r-Bf for help-guix@gnu.org; Fri, 20 Jul 2018 05:40:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgRtT-00056H-7w for help-guix@gnu.org; Fri, 20 Jul 2018 05:40:12 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgRtS-00055o-VJ for help-guix@gnu.org; Fri, 20 Jul 2018 05:40:11 -0400 Received: by mail-wr1-x42e.google.com with SMTP id s11-v6so10657785wra.13 for ; Fri, 20 Jul 2018 02:40:09 -0700 (PDT) Received: from mimimi (2a01cb04006dc2000922949cc298644f.ipv6.abo.wanadoo.fr. [2a01:cb04:6d:c200:922:949c:c298:644f]) by smtp.gmail.com with ESMTPSA id z11-v6sm2082102wrm.94.2018.07.20.02.40.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jul 2018 02:40:07 -0700 (PDT) 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: help-guix --=-=-= Content-Type: text/plain Hi there! Trying to get a Brother HL-2130 running on my GuixSD here. I had a glimpse at https://lists.gnu.org/archive/html/help-guix/2017-09/msg00099.html According to https://wiki.archlinux.org/index.php/CUPS/Printer-specific_problems#Brother it should work with foomatic (using the HL-2140 driver) or hplip Both of which seem to be the same according to http://www.openprinting.org/printer/Brother/Brother-HL-2140 So I've setup a CUPS print with the following PPD: http://www.openprinting.org/ppd-o-matic.php?driver=hpijs-pcl5e&printer=Brother-HL-2140&show=0 Printing a test page yields an error. Excerpt from the /var/log/cups/error_log: --8<---------------cut here---------------start------------->8--- D [20/Jul/2018:11:27:01 +0200] [Job 1] ================================================ D [20/Jul/2018:11:27:01 +0200] [Job 1] File: D [20/Jul/2018:11:27:01 +0200] [Job 1] ================================================ D [20/Jul/2018:11:27:01 +0200] [Job 1] PAGE: 1 1 D [20/Jul/2018:11:27:01 +0200] [Job 1] Filetype: PDF D [20/Jul/2018:11:27:01 +0200] [Job 1] Storing temporary files in /var/spool/cups/tmp D [20/Jul/2018:11:27:01 +0200] [Job 1] PID 8125 (/gnu/store/sa5f2am437p2zfz0awj3mg0j5wk6dl7a-cups-server-bin/lib/cups/filter/pdftopdf) exited with no errors. D [20/Jul/2018:11:27:01 +0200] [Job 1] File contains 1 pages D [20/Jul/2018:11:27:01 +0200] [Job 1] Starting renderer with command: gs -dShowAcroForm -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -dNOMEDIAATTRS -dNOINTERPOLATE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer=\"HEWLETT-PACKARD\" -sDeviceModel=\"HP LaserJet\" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r300 -sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /var/spool/cups/tmp/foomatic-iD2WWS D [20/Jul/2018:11:27:01 +0200] [Job 1] Starting process \"kid3\" (generation 1) D [20/Jul/2018:11:27:01 +0200] [Job 1] Starting process \"kid4\" (generation 2) D [20/Jul/2018:11:27:01 +0200] [Job 1] Starting process \"renderer\" (generation 2) D [20/Jul/2018:11:27:01 +0200] [Job 1] JCL: \033%-12345X@PJL D [20/Jul/2018:11:27:01 +0200] [Job 1] D [20/Jul/2018:11:27:01 +0200] [Job 1] sh: hpijs: command not found D [20/Jul/2018:11:27:01 +0200] [Job 1] GPL Ghostscript 9.23: Can\'t start ijs server \"hpijs\" D [20/Jul/2018:11:27:01 +0200] [Job 1] **** Unable to open the initial device, quitting. D [20/Jul/2018:11:27:01 +0200] [Job 1] renderer exited with status 1 D [20/Jul/2018:11:27:01 +0200] [Job 1] Possible error on renderer command line or PostScript error. Check options.Kid3 exit status: 3 D [20/Jul/2018:11:27:01 +0200] [Job 1] PID 8126 (/gnu/store/sa5f2am437p2zfz0awj3mg0j5wk6dl7a-cups-server-bin/lib/cups/filter/foomatic-rip) stopped with status 9. D [20/Jul/2018:11:27:01 +0200] [Job 1] PID 8127 (/gnu/store/sa5f2am437p2zfz0awj3mg0j5wk6dl7a-cups-server-bin/lib/cups/backend/usb) exited with no errors. D [20/Jul/2018:11:27:01 +0200] [Job 1] End of messages D [20/Jul/2018:11:27:01 +0200] [Job 1] printer-state=3(idle) D [20/Jul/2018:11:27:01 +0200] [Job 1] printer-state-message="Filter failed" D [20/Jul/2018:11:27:01 +0200] [Job 1] printer-state-reasons=none --8<---------------cut here---------------end--------------->8--- I think the issue is that the hpijs command is missing. On Debian, it's packaged as /usr/bin/hpijs printer-driver-hpijs [not powerpc] Do we need this piece of software? -- Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAltRrfYACgkQm9z0l6S7 zH/Xcwf8ClR9JkItzdYGEWKngcgtBYuG59Pg2JQX5RDsVC9RsgdGrMr89SQpsqT+ 8KdcTwoCXOzKGMDUDZlwnngJbw+0LQWoGQHoc3b9I3/RqrktSfNQKxChSLnhU2uF Jp92P8BC0Gck1F4ErJ8Iqm8rpvA3nP1D5WjLjI1gGb0lNQG5CcLdG7EKIkuj+9mH r47ypM9/uylnmEKBWKK+FxOkuAb8zxfOgD2UZEATffIAG/PrYJ//F44HwC/150HA V+4jzhMOTFY1gAb2RoCEJwpHx0agQehEoccLHpq5JD9ClzxaPruT7CfhH1J9Oely 3fDN9HyZtIsL86+i6v0N8Lu362omSQ== =smAr -----END PGP SIGNATURE----- --=-=-=--