Enabling parallel support for HP printers

Asked by Jos Visser

I have just installed 10.10. Everything is fine except my parallel connected HP laserjet 1005 printer which does not react at all although Ubuntu recognises it. Apparently the automatic installer does not enable parallel support for hplip. WHY NOT ??? I was told to get the instructions for installing this printer from the hplipopensource.com website. WHY ?? This website has been down for maintenance for quite some time now. So where do I go from here?

Please help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Solved by:
Jos Visser
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Works fine here:

http://sourceforge.net/projects/hplip/files/hplip/3.10.9/

Grab the run file and run it in a terminal (don't use sudo with it, you will be prompted for the password when it is needed).

Your printer isn't working so you need to get the driver is WHY. It's the same in Windows. If you want your hardware to work you need the driver....

The HPLIP driver does support parallel printers. Where did you get this information from?

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#2
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

(You should follow actionparsnip's answer first. It directly addresses what you are trying to do. I hadn't seen it when I posted mine.)

Revision history for this message
Jos Visser (josvis) said :
#4

Thanks actionparsnip but your advice did not work. Yes I did run that 3.10.9 file. It created a 3.10.9 folder/directory with lots of files and folders but the printer remains quiet. Then I had a look at the log file. After my password was accepted I found the following :
"warning: There are 7 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: This installer cannot install 'gcc' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer."

As a newcomer to Linux/Ubuntu I frankly do not know what this is all about. I expected the installer to handle it all. Like Windows7 does. That is why I am in "absolute beginner talk".

To answer your 3rd sentence : A friend had the same problem when he installed 10.04. He handed me a paper copy of the instructions he downloaded from http://hplipopensource.com/node 217. (The website now defunct) In it the following statement is made :
"Important: The automatic installer no longer enables the parallel support for hplip. To enable parallel support HPLIP will need to be manually installed."
Then the following instructions (which is classic Greek to me !) are given for 10.04 after the latest hplip file is downloaded:
./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-ru
make
sudo make install

I hope this makes sense to you. I am disappointed that the installer does not sort this out

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

This is HPs fault, the installer usually makes things ok. If you don'y have gcc installed then run:

sudo apt-get install build-essential

and it should give whatever is needed. Win7 is a totally different OS so the activities between the 2 OSes will be drastically different.

Revision history for this message
Jos Visser (josvis) said :
#6

Thanks actionparsnip but please have a look at my answer in launchpad

Quoting actionparsnip <email address hidden>:

> Your question #142011 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/142011
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> Works fine here:
>
> http://sourceforge.net/projects/hplip/files/hplip/3.10.9/
>
> Grab the run file and run it in a terminal (don't use sudo with it, you
> will be prompted for the password when it is needed).
>
> Your printer isn't working so you need to get the driver is WHY. It's
> the same in Windows. If you want your hardware to work you need the
> driver....
>
> The HPLIP driver does support parallel printers. Where did you get this
> information from?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/142011
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Looks like you need the tar.gz file and compile it yourself. If HP have removed the parallel portion of the driver then that is HPs fault and is no fault of Linux / Ubuntu. HP maintain the .run file. They have however given the source which you can compile the parallel functionality back in.

Grab that tar.gz file and extract it, in a terminal, cd into the folder created and run the command you have and it will make the driver WITH the parallel functionality you need

Revision history for this message
Jos Visser (josvis) said :
#8

Thanks actionparsnip. I've done everything you've told me. It takes time moving around in Ubuntu when you're not used to it.
After the first command I get the following: 'configure: error: "cannot find libjpeg support"'. My 10.10 is updated daily. Thanks for your support.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

sudo apt-get install libjpeg62-dev

Then rerun the command. Does it run ok or do you need more packages?

Revision history for this message
Jos Visser (josvis) said :
#10

The following error was found : 'configure: error: cannot find net-snmp support (or --disable-network-build)'

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Then run:

./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-ru --disable-network-build

Should do it

Revision history for this message
Jos Visser (josvis) said :
#12

I'm afraid not. The first line after your instruction says the following :

configure: WARNING: unrecognized options: --enable-udev-acl-ru

and the last line says :

configure: error: cannot find libcups support

I hope you are a patient person

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

sudo apt-get install libcups2-dev

Then rerun the configure command

Hope this nails it

Revision history for this message
Jos Visser (josvis) said :
#14

Thanks, Actionparsnip. Installation of libcup2..... went off smoothly

But which of these two configure commands must I run?

'./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-ru' with 'make' and 'sudo make install' after that

or

'./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-ru --disable-network-build'

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

The new one:

./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-ru --disable-network-build

This is now your build command :)

Revision history for this message
Jos Visser (josvis) said :
#16

I'm still not smiling. The first line after your command says :

configure: WARNING: unrecognized options: --enable-udev-acl-ru

and the last line says :

configure: error: cannot find libusb support

and the printer remains quiet

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#17

sudo apt-get install libusb-dev

try taking the option out that is causing an error. Basically all I am doing is getting the -dev package for whatever your error says.

configure: error: cannot find libusb support - libusb-dev
configure: error: cannot find libcups support - libcups2-dev

just keep going in this manner, you will get there. This will make you more autonomous. Just keep following this pattern

Revision history for this message
Jos Visser (josvis) said :
#18

I dont know what i'm doing but am trying my best

last line : configure: error: cannot find sane-backends-devel support (or --disable-scan-build)

my command : sudo apt-get install sane-backends-dev

gave me :E: Unable to locate package sane-backends-dev

Please help

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#19

Ok well the error gives 2 options

1. Give me sane-backends-dev
2. add another configure option (--disable-scan-build)

As your printer most likely does NOT have a scanner attached we can add the extra configure option

./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-ru --disable-network-build --disable-scan-build

Should do it, sounds close, sane is quite abstracted so you have worked near to the top of the pile :)

Revision history for this message
Jos Visser (josvis) said :
#20

Last line : configure: error: cannot find dbus-devel support: No package 'dbus-1' found

Tried to install dbus-1-dev and then dbus-dev. In both cases the response was :

E: Unable to locate package ..............

If it had'nt been for your last comment I would have dropped out - for the first time in my life

Revision history for this message
Jos Visser (josvis) said :
#21

Voila !! hplipopensource is back on the web where I found hplipopensource.com/hplip-web/install/manual/hp-setup.html where you are shown how to setup your parallel printer. Thanks to Actionparsnip for your support. You stuck with me right to the end. A lot is said about the support from the Ubuntu community which I dismissed as sales talk but scrolling upwards its there for all to see. How can I get a case of our best wines to you?

But ......

Imagine getting to a car dealer in Stuttgart. You want to test drive the latest MLX. You turn the key and it wont start. What would you do. I would go south to München, stick with my old firm and get the latest BMW.- Windows7

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#22

This is entirely the car manufacturer's fault (HP in this case). They have removed the parallel support from their driver. Most new printers are USB based so this is not too unreasonable but users DO still use parallel printers (My HP Deskjet 960c is parallel based and I had to do pretty much the same thing)

HP do support Linux very well and actively make drivers for their model. I am very loyal to HP personally because of this support, it's also why I ONLY buy nvidia video cards. Companies supporting Linux get my money when I am purchasing products and services.

I understand your frustration and glad you got the gold but your feelings are towards HP, not Linux. Hopefully others having the same issue will bump into this thread and get the driver made just the same :)

Revision history for this message
Patricia Hughes (petrarch555) said :
#23

Dear actionparsnip,
I am having problems with getting my new linux to see my printer. I've put in several hp drivers, moved the printer several times, plugged in everything I can find and pressed every button I can. My printer works well from my windows7 laptop but linux says it's not enabled and won't tell me which magic button to push. Should I simply throw the linux in the bin? I'm no computer expert but I've never had this much trouble before.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#24

Partricia, please create your own question

Revision history for this message
Patricia Hughes (petrarch555) said :
#25

Hello actionparsnip,

My problem is that I have a linux computer and an HP printer (HP 4500 G510g
- m) which literally do not see eye-to-eye. I have installed hplip and all
necessary drivers and checked them carefully in case I made a mistake; I
configured the computer to accept it and made sure the printer was operating
well. Everything is going well except that the printer is not enabled. I
have enabled it twenty times, but each time the enabled tag says it is not
enabled.
Incidentally my linux computer doesn't want to enable Evolution ormany of
the other ubuntu functions either.

On Fri, Apr 15, 2011 at 12:58 PM, actionparsnip <
<email address hidden>> wrote:

> Question #142011 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/142011
>
> actionparsnip posted a new comment:
> Partricia, please create your own question
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Patricia

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#26

@Patricia Hughes
actionparsnip is asking you to create your own question in which to ask for help with the problem you're experiencing, instead of continuing to post about it in this one. Please do that. You can use this link: https://answers.launchpad.net/ubuntu/+source/hplip/+addquestion

Revision history for this message
Patricia Hughes (petrarch555) said :
#27

Thanks Eliah.

On Fri, Apr 15, 2011 at 8:16 PM, Eliah Kagan <
<email address hidden>> wrote:

> Question #142011 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/142011
>
> Eliah Kagan posted a new comment:
> @Patricia Hughes
> actionparsnip is asking you to create your own question in which to ask for
> help with the problem you're experiencing, instead of continuing to post
> about it in this one. Please do that. You can use this link:
> https://answers.launchpad.net/ubuntu/+source/hplip/+addquestion
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Patricia

Revision history for this message
Patricia Hughes (petrarch555) said :
#28

LinkedIn
------------

I'd like to add you to my professional network on LinkedIn.

- Patricia

Patricia Hughes
LanguageLearningLtd Director
Coventry, United Kingdom

Confirm that you know Patricia Hughes:
https://www.linkedin.com/e/v16b19-h1m1ah72-6y/isd/6877653613/Lv4ccmn8/?hs=false&tok=0Xl7aBkpmyHRc1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/v16b19-h1m1ah72-6y/vaHqOx4d9y65SHLQjudsNW4O33U6xeC_i6qb5iRca_tSS6L-jnee_f/goo/question142011%40answers%2Elaunchpad%2Enet/20061/I2366764730_1/?hs=false&tok=1gr4uc5oWyHRc1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Revision history for this message
Patricia Hughes (petrarch555) said :
#29

LinkedIn
------------

I'd like to add you to my professional network on LinkedIn.

- Patricia

Patricia H.
Writer / Publisher at Hues Books
Other

Confirm that you know Patricia H.:
https://www.linkedin.com/e/v16b19-hy5nzzae-6h/isd/5899473231932313601/kdpEqD1X/?hs=false&tok=36430CdXfwISk1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/v16b19-hy5nzzae-6h/vaHqOx4d9y65SHLQjudsNW4O33U6xeC_i6qb5iRca_tSS6L-jnee_f/goo/question142011%40answers%2Elaunchpad%2Enet/20061/I7550463055_1/?hs=false&tok=35L-uzdvbwISk1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.