Hi Pierre, FWIW, I have the same printer and have run into the same problems. I think you might be onto somethingwith the hpijs requirement. I have not gotten around to trying that though!
Alex Pierre Neidhardt writes: > 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: <STDIN> > 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] <job data> > 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?