* Brother HL-2130: CUPS, foomatic, hpijs
@ 2018-07-20 9:40 Pierre Neidhardt
2018-07-25 8:25 ` Alex Sassmannshausen
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2018-07-20 9:40 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 3522 bytes --]
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?
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Brother HL-2130: CUPS, foomatic, hpijs
2018-07-20 9:40 Brother HL-2130: CUPS, foomatic, hpijs Pierre Neidhardt
@ 2018-07-25 8:25 ` Alex Sassmannshausen
2018-07-25 10:21 ` Pierre Neidhardt
0 siblings, 1 reply; 3+ messages in thread
From: Alex Sassmannshausen @ 2018-07-25 8:25 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Brother HL-2130: CUPS, foomatic, hpijs
2018-07-25 8:25 ` Alex Sassmannshausen
@ 2018-07-25 10:21 ` Pierre Neidhardt
0 siblings, 0 replies; 3+ messages in thread
From: Pierre Neidhardt @ 2018-07-25 10:21 UTC (permalink / raw)
To: alex.sassmannshausen; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
Hi Alex,
thanks for the feedback. I guess we've got to package hpijs then.
I'll give it a shot next time I need it (no promise).
--
Pierre Neidhardt
[-- 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:[~2018-07-25 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-20 9:40 Brother HL-2130: CUPS, foomatic, hpijs Pierre Neidhardt
2018-07-25 8:25 ` Alex Sassmannshausen
2018-07-25 10:21 ` Pierre Neidhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).