rafael
Posts: 5
Joined: Tue Jan 03, 2012 4:58 pm

HPLIP plugin for ARM

Fri Mar 15, 2013 9:01 pm

Hello guys,

I'd just like to share that, while I was trying to set up my printer, I found out that the current version (3.13.3) of the HPLIP plugin was compiled only for x86 architecture and, thus, it doesn't work for our beloved Raspberry Pi.

BUT merlin has started a bug report to ask for an ARM support in their plugin. You can check it in the following url: https://bugs.launchpad.net/hplip/+bug/1152219

The more people voting as affected, the better! :)

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: HPLIP plugin for ARM

Fri Mar 15, 2013 9:12 pm

The HPLip software package is in both Raspbian and Arch Linux Distros, available from the repositories :lol: :lol: :lol: :lol: :lol:

Raspbian also has the HPLip-gui add on.....

http://packages.debian.org/wheezy/hplip
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

rafael
Posts: 5
Joined: Tue Jan 03, 2012 4:58 pm

Re: HPLIP plugin for ARM

Fri Mar 15, 2013 9:42 pm

Spid, Gentoo also has HPLIP in portage and I've already installed it. ;)

The thing is that the HPLIP script downloads a plugin when you use their setup script. The downloaded file has some ELF shared objects, but they were compiled for the x86 and x86_64 architecture. Maybe not everything requires the plugin, but some printers does.

I described the problem with some technical details, before getting to know the bug report was created. If you're interested, you can check here: https://answers.launchpad.net/hplip/+question/224343

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: HPLIP plugin for ARM

Fri Mar 15, 2013 9:57 pm

Well I have a current model HP ePrinter Deskjet 3055A and it works out-of-the box in a fully updated Raspbian "wheezy"

FYI Gentoo for ARMv6 Pi is still in BETA Testing

So the question I wish to ask is does this bug happen on all ARMv6 Pi Operating Systems, because the Pi is not the only device using an ARMv6 CPU based SoC ?
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

rafael
Posts: 5
Joined: Tue Jan 03, 2012 4:58 pm

Re: HPLIP plugin for ARM

Fri Mar 15, 2013 11:31 pm

Spid wrote:So the question I wish to ask is does this bug happen on all ARMv6 Pi Operating Systems, because the Pi is not the only device using an ARMv6 CPU based SoC ?
As far as I'm concerned, it happens on all non-x86 systems, but with devices that require the HPLIP plugin.

If you download the plugin (http://hplipopensource.com/hplip-web/pl ... plugin.run) and extract it to some directory (sh hplip-3.13.3-plugin.run --noexec --keep --target <somedirectory>), you'll notice the x86 files I'm talking about. ;)

Your printer doesn't seem to need the plugin. Lucky you! :lol:

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: HPLIP plugin for ARM

Sat Mar 16, 2013 12:14 am

"Your printer doesn't seem to need the plugin. Lucky you! " :oops:


Not lucky, just undertook research before buying, when I replaced my Canon Printer. caveat emptor! :roll:

http://hplipopensource.com/hplip-web/su ... index.html


The HPLIP version in Raspbian "wheezy" is 3.12.6-3.1 and alarmpi is 3.13.3-2
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

rafael
Posts: 5
Joined: Tue Jan 03, 2012 4:58 pm

Re: HPLIP plugin for ARM

Fri Mar 22, 2013 4:23 am

My only problem with HPLIP before this was the time when the configuration script used to give me the wrong download link to plugin. :lol: Did you use your Canon printer with linux/cups? How was your experience like?

My HPLIP version is 3.13.3 and my portage was updated last Sunday.

MajinJoko
Posts: 15
Joined: Wed Apr 24, 2013 9:17 am

Re: HPLIP plugin for ARM

Mon Jul 22, 2013 4:01 pm

I successfully installed my printer (p1005), the firmware is loaded when the usb is connected, but the epic fail is when I try to print anything: "filter error" on cups. Seems related to the ppd file, but the same configuration works on my laptop (both archlinux, arm for rpi and x64 for laptop..) :cry:

nlaney
Posts: 2
Joined: Sat May 10, 2014 6:40 pm

Re: HPLIP plugin for ARM

Sat May 10, 2014 7:16 pm

The bug on launchpad is https://bugs.launchpad.net/hplip/+bug/1152219, There hasn't been any activity since it was opened and assigned. Log on and vote!

I expect ARM support is coming, maybe voting and commenting will provide some motivation!

nlaney
Posts: 2
Joined: Sat May 10, 2014 6:40 pm

Re: HPLIP plugin for ARM

Sat May 10, 2014 8:48 pm

OK, I was able to install a print a test page from Ubuntu 12.04.4 on a Samsung ARM Chromebook using http://foo2zjs.rkkda.com/

The printer was an HP p1102w. I was looking into using Raspberry Pi as a printserver for my various ChromeOS and Android devices, and have found Google Cloud Print to be decently supported by HP at least on cloud ready printers.

I was surprised to find the lack of support on the ARM processor, so maybe one of these workarounds will suffice until support arrives. Unfortunately, I don't see Google Cloud Print support in Chromium as a print option, only the CUPS print management, so the foo2zjs may be the only option on the RPi, or a printer not requiring the proprietary driver. So, even though printing can be done only through a locally installed printer, it can then be registered on Google Cloud Print to print to from any device and shared. Cheers!

sandeep444
Posts: 3
Joined: Fri Sep 16, 2016 12:21 pm

Re: HPLIP plugin for m1136mfp

Fri Oct 07, 2016 5:19 am

hi sir, i am trying to connect raspberry pi to hp printer. after installation of cups it showing filter failed message.can u help me in that.

fruitoftheloom
Posts: 17276
Joined: Tue Mar 25, 2014 12:40 pm

Re: HPLIP plugin for m1136mfp

Fri Oct 07, 2016 6:35 am

sandeep444 wrote:hi sir, i am trying to connect raspberry pi to hp printer. after installation of cups it showing filter failed message.can u help me in that.

Code: Select all

sudo apt-get update
sudo apt-get install hplip
When configuring CUPS to add printer, ensure it is using the hplip driver, this is for a different printer but the procedure is same:

http://www.penguintutor.com/raspberrypi/printing-cups
Adieu

jameseverest
Posts: 1
Joined: Fri Jan 26, 2018 4:45 am

Re: HPLIP plugin for ARM

Fri Jan 26, 2018 4:52 am

After installing this and using every user and password in my playbook I was perpetually refused because I did not have permission.

Code: Select all

sudo apt-get install hplip-gui
Then I found this gem. Fixed my problem. Did not even ask a single question.

Code: Select all

gksudo hp-setup
Now my network printer is working the same on all my devices ... and not my pi.

User avatar
PeterO
Posts: 4236
Joined: Sun Jul 22, 2012 4:14 pm

Re: HPLIP plugin for ARM

Thu Mar 01, 2018 8:21 am

I just did the same :-) I'm sure the last time I looked there was no support for ARM or Raspbian. They I noticed this morning that my desktop MINT machine seemed to be compiling code when it did an update of hplip, so I wondered if that means it could be ported to ARM, and YES it has been :-)
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

mssahota1986
Posts: 1
Joined: Mon Aug 27, 2018 3:20 am

Re: HPLIP plugin for ARM

Mon Aug 27, 2018 3:26 am

Worked for me with HP LaserJet M1319f MFP:

Download and Install
Click the link, or cut and paste the whole command line below to download the driver.
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
Now unpack it:

Unpack:
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
Now compile and install it. The INSTALL file contains more detailed instructions; please read it now.

Compile:
$ make


Optional: Get extra files from the web, such as .ICM profiles for color correction,
and firmware. Select the model number for your printer:
$ ./getweb P1005 # Get HP LaserJet P1005 firmware file
$ ./getweb P1006 # Get HP LaserJet P1006 firmware file
$ ./getweb P1007 # Get HP LaserJet P1007 firmware file
$ ./getweb P1008 # Get HP LaserJet P1008 firmware file
$ ./getweb P1505 # Get HP LaserJet P1505 firmware file
or
$ ./getweb all # Get all extra files

Install driver, foomatic XML files, and extra files:
$ su OR $ sudo make install
# make install

(Optional) Configure hotplug (USB; HP LJ P1005/P1006/P1007/P1008/P1505):
# make install-hotplug OR $ sudo make install-hotplug

(Optional) If you use CUPS, restart the spooler:
# make cups OR $ sudo make cups

Reference: http://foo2xqx.rkkda.com/

All respect to original author

Return to “General discussion”

Who is online

Users browsing this forum: DarkPlatinum, Google [Bot], Paul Hutch, topguy, tyurkevich and 56 guests