unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Brother HL-2130: CUPS, foomatic, hpijs
Date: Wed, 25 Jul 2018 10:25:53 +0200	[thread overview]
Message-ID: <87tvonu3fy.fsf@gmail.com> (raw)
In-Reply-To: <87zhymfdop.fsf@gmail.com>

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?

  reply	other threads:[~2018-07-25  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  9:40 Brother HL-2130: CUPS, foomatic, hpijs Pierre Neidhardt
2018-07-25  8:25 ` Alex Sassmannshausen [this message]
2018-07-25 10:21   ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvonu3fy.fsf@gmail.com \
    --to=alex.sassmannshausen@gmail.com \
    --cc=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).