SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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:
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.
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?
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.