LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 02-01-2006, 08:06 AM   #1
noorudin
Member
 
Registered: Jan 2006
Posts: 47

Rep: Reputation: 15
Hplip Intallation


How to install latest version of hplip on suse 9.3?
Pls try to give me a step by step procedure?
 
Old 02-01-2006, 08:18 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
http://hpinkjet.sourceforge.net/install.php
 
Old 03-02-2006, 07:40 AM   #3
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
same issue on SuSE 10

Hi,
I have a problem printing in duplex mode with my HP Laserjet 1022. Maybe it is related with hplip. Therefore I am trying to update hplip on SuSE 10 installed on my laptop. The version that comes shiped with SuSE 10 is 0.9.4. The available version is 0.9.8. It is not available as rpm however, which would be the preferred way of installation for me, since I am new to SuSE and Linux in general.
I am (for the first time) trying to install this manually, following instructions on the page mentioned by abisco00 in the reply above.

First thing I did was to uninstall the current version of hplip via Yast
then I downloaded the .tar file from the website above and unpacked it with konqueror

in a console window I changed to the respective path of the unpacked hplip files
in a console window I typed ./configure --prefix=/usr
got an error saying configure: error: no acceptable C compiler found in $PATH
installed gcc via Yast
in a console window I typed again ./configure --prefix=/usr
got an error saying configure: error: cannot find cups-devel support
installed cups-devel via Yast
in a console window I typed again ./configure --prefix=/usr
got an error saying configure: error: cannot find net-snmp support (or --disable-network-build)
checked back in Yast, but net-snmp is installed

Where do I go from here?

Thanks
Tobias
 
Old 03-02-2006, 07:45 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Did you install net-snmp-devel?

A general rule: if you need it for compiling, install the respective devel-package.
 
Old 03-02-2006, 08:11 AM   #5
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
hi,
thanks for the reply, of course I didnt have the devel package intalled. Now yes, and after another devel package I had to install, the process finished without an error like this:

configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

I typed: make
a lot of stuff happend and it stopped with yet another error reading like this:

./depcomp: line 504: exec: g++: not found
make[1]: *** [hpiod.o] Error 127
make[1]: Leaving directory `/home/tobias/downloads/hplip-0.9.8'
make: *** [all-recursive] Error 1

how do I install g++? It is not available as YaST package.

Thanks for your help.
Tobias
 
Old 03-02-2006, 08:36 AM   #6
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
me again,

I guessed that the package might be gcc-c++ that I had to install.
So I did, but after typing make again, I got another error message reading like this:

/usr/bin/python setup.py build
Traceback (most recent call last):
File "setup.py", line 22, in ?
from distutils.core import setup, Extension, Command
ImportError: No module named distutils.core
make[1]: *** [build-pcardext] Error 1
make[1]: Leaving directory `/home/tobias/downloads/hplip-0.9.8'
make: *** [all-recursive] Error 1

whats next?
Sorry for being so dumb, I am just very new to all this and I have the feeling I lack some important conceptual parts.

Tobias
 
Old 03-02-2006, 08:50 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Good guess! Did you check the link I posted above? A bit further down the page you'll find a list of required packages for SUSE:

cups-devel
python-devel
python-xml
kdebindings3-python
net-snmp-devel
openssl
libjpeg-devel
 
Old 03-02-2006, 09:32 AM   #8
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
Yeah!

I also guessed that I would have to install the python-devel package from your advice to always install the corresponding devel package and since the error I got looked like a python error.
make worked out fine, make install also, I even configured the printer via hp-setup, a command line tool.

But still, the printer does not print duplex.

So, good, for the first time I compiled something, but unfortunately without the desired outcome.

Thank you abisko00 for your help. If anybody knows how to make this printer print duplex (I already tried to check the corresponding boxes in CUPS, in the KDE printing manager and in the print dialog in kpdf), please let me know.

One more question about hirarchies: CUPS is the top level, right? So any changes done to the printer in the CUPS web interface (localhost:631/) does affect its behavior in KDE?

Thanks

Tobias
 
Old 03-02-2006, 09:44 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Try to use a different ppd file.
I had the same problem, but when I selected the foomatic/postscript ppd, duplex mode became available.
 
Old 03-02-2006, 10:15 AM   #10
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
the ppd used is called HP LaserJet 1022 Foomatic/hpijs.
Which other one should I choose, and how do I install it?
 
Old 03-02-2006, 10:52 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I didn't install any new files. Simply choose another one :

-> YaST
-> Hardware
-> Printer
-> select printer
-> edit
-> select "PPD file"
-> edit
-> pick one and see if it does the job
 
Old 03-02-2006, 11:09 AM   #12
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
Hi,
tried this already, there seems to be only one ppd file available. It reads as follows:
HP LaserJet 1022 Foomatic/hpijs (recommended) (foomatic-ppds/HP/HP-LaserJet_1022-hpijs.ppd.gz)

Do you think it makes sense to deinstall the updated hplip package and re-install the SuSE default one?

Thanks for your help

Tobias
 
Old 03-02-2006, 11:19 AM   #13
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Have a look at the ppd they provide at www.linuxprinting.org :
http://www.linuxprinting.org/show_pr...-LaserJet_1022
Did you check the "double sided printing" option in the printer properties (when you actually print: Properties -> Driver Settings)?
 
Old 03-02-2006, 12:00 PM   #14
Tobitas
Member
 
Registered: Feb 2006
Location: Barcelona
Distribution: SuSE 10.0, xubuntu breezy
Posts: 47

Rep: Reputation: 15
the .ppd file available following your link seems to be identical to the one that is already used (has same name and the same size, 17419 byte. When I open both files, they read the same as well).

Marking duplex printing in the print dialog of, e.g. kpdf results in single pages being printed with the back being white. When I select 2 pages on one side (different option), it does exactly what it should do (two pages on one side, back side white), so it is really only a duplex problem.

Actually, it should be quite simple to solve this. If the printer would first print all even pages in reverse, then ask the user to shove the paper back in the printer upside down, then print all odd pages in normal order the outcome is exactly what duplex printing does on this printer. I don't know how to program this though, since I am a biochemist and not a programmer.

Maybe editing the ppd file would solve the problem. Not something I can do without guidance.

Gotto go now, back tomorrow! Thanks for all the help.

Tobias
 
Old 03-03-2006, 03:31 AM   #15
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Now I got a little confused. Are you telling me that the printer has no (hardware) duplex module installed and you are looking for an option to achieve this manually (by turning the paper)? In this case I can't help, since I am a biochemist myself and not a programmer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hplip thoyyib Linux - Hardware 1 12-01-2005 12:35 PM
HPLIP for hp usb all-in-one simcox1 Slackware 1 10-03-2005 12:44 AM
Newbie asking for intallation help user27519298 Yoper 4 03-16-2005 10:28 PM
kmess intallation nanabaffoe Linux - Software 1 08-10-2003 07:55 PM
Java / RH 9.0 intallation 777SPy Linux - Software 6 07-21-2003 05:46 PM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration