Hplip Intallation
How to install latest version of hplip on suse 9.3?
Pls try to give me a step by step procedure? |
|
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 |
Did you install net-snmp-devel?
A general rule: if you need it for compiling, install the respective devel-package. |
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 |
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 |
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 |
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 |
Try to use a different ppd file.
I had the same problem, but when I selected the foomatic/postscript ppd, duplex mode became available. |
the ppd used is called HP LaserJet 1022 Foomatic/hpijs.
Which other one should I choose, and how do I install it? |
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 |
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 |
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)? |
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 |
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. ;)
|
All times are GMT -5. The time now is 10:22 AM. |