I have been trying to install HPLIP with CUPS since about 1.0.7 (with varying degrees of failure) to get both scanning and printing to work.
I have tried compiling from source, installing RPM packages and Slackware packages as Alien packages along with any dependancies the pupget packages manager identified as missing, and by modifying PAKT's CUPS install script to use HPLIP instead of HPIJS all with no success. Yet I know that at least one person has succeeded. So I am obviously doing something wrong.
Can someone post a step by step of how to go about this correctly here for myself and anyone else having the same problem please.

I am currently testing the Beta of Puppy 2.10 Pro C.E._________________Linux = Learning through doing
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.Last edited by Billwho? on Thu 23 Nov 2006, 08:17; edited 1 time in total

If Req'd... you may edit report verbosity level - ( may not be needed )
Caveat - Please do not paste in full log content - most is redundant.
If wished - set /etc/cups/cups.d,conf to # LogLevel) debug (or) debug2

Aside - once printing enabled - use cups (local host:631) Browser print admin page - to kill any jobs:
If not your printer will spit out until all buffered tasks are completed.
Killing the cups daemon or stopping printer will NOT delete jobs !

Scanner use > will require "sane" for front end
{Search Forum (keyword) sane}
Without having CE - no idea where CUPS/Sane configurations are located.
(Not even familiar to what CLI tools are included in varied PUPPY versions.)

Have you already browsed the HOW-To's here & KLHrevolutionist sources ?
Or searched for any "printer related" posts > some suggest other methods to trouble -shoot/test
BTW Gimp-print may have an alternative print driver.

Please never hesitate to post - any Tmp glitch is a mutual concern here.

Hi Gn2
While I am no longer a Linux newbie, I still consider myself to be no more than a novice so may not be able to answer all your questions but will do my best.

I have not tried to install in 2.10 yet, but had been using 2.01 when I made my last attempt to get it all working.
In any case I always boot off a Live CD with the pup_2xx.sfs file and devx_xxx.sfs sitting on the same partition as the pup_save3sf file.

Afrer editing etc/rc.d/rc.local to replace the comma with a period and rebooting I was able to set up another printer using the HP PSC 1400 series PPD which had not been in the list before. The test page printed perfectly.

Scanning
This is my main problem.
At the moment despite having Sane, Xsane and hplip all installed when I try to use the scanner I can not get any further than the configuration dialog box asking what type of connection I am using. I answer USB, click OK and another dialog box opens telling me that it is scanning for devices follewed by "No devices available".

I had checked the forum for anything sane related a while back but there was nothing that helped at the time. I just did another search and found a few posibilities. will give them a try shortly.

Note
I have recently re-read the instruction page for the source code I tried to use early on and it appears that HPLIP is incompatable with the Puppy 1xx series as it uses the wrong kernel (2.4.x not 2.6.x or later) of course I could be wrong and it is only that I was trying to use the wrong version of HPLIP._________________Linux = Learning through doing
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

So using a different ppd it printed - it is unclear if you used the same printer ?
My impression > it did not

Quote:

set up ANOTHER printer using the HP PSC 1400 series PPD

Unless you meant - re-configured to add new Cups entry ?
You were fortunate any RPM Pkges worked (version matches) Except for HPLIP by looks of it

If Sane (or ANY added-in Pkge) reports wrong kernel version - Yes you have an incompatibility glitch: (It searches for uname reporting version)

If any supplied PUP Pkge doesn't work - you would need to compile own - or wait for a version that has all defaults enabled
If you compiled on own - why not do so for any ?

Variance of kernel - 2.4-xx <> 2.6.xx likely related to hot-plug of USB devices (Devfs <vs> Udev)
Some source code will compile using only headers - many require the full kernel source -
Or it doesn't contain the kernel version header WHICH EXISTS ONLY as a source file (.c) until compiled.

I have attempted "work -around" of some by just copying over from another O/system -
Then the App compile completed.
But other dependencies usually thwarted somewhere down the line.

This is always a problem when using (pre-supplied defaults) compiled binaries
User must wait for developers to ensure all co-exist - or as I prefer ~ take full control and use sources only.

Perhaps the packager might be able to inform which will include correct matches HPLIP -Sane -Kernel
All above is also a common problem when O/System versions keep changing
Then Puppy throw in own curves - user supplied variations !

My conclusion - only ONE way to ensure compatibility
Roll your own - start from whichever base preferred:
Add in Apps/tools only as Req'd.
Never re-install again

IMNSHO The whole point of Linux - take back control
Official Documentation fills in gaps.
Forums are great - but too much unsubstantiated subjective opinions -
Then "group genufluctions to Political-Correctness rears ugly head"

Trouble is - we can never have sufficient time to cover all bases
You seem well on way & just as capable as any to own goals

Best of success - if can try to help in any way - my pleasure :
In that manner we ALL learn

So using a different ppd it printed - it is unclear if you used the same printer ?
My impression > it did not

Quote:

set up ANOTHER printer using the HP PSC 1400 series PPD

Unless you meant - re-configured to add new Cups entry ?

Yes, re-configured using the same printer was what I meant:
1 Open http://localhost:631/
2 Click on Manage printers
3 Click on add printer
etc.
I now have 2 entries on the Printers page. 1 using the 3320 PPD. I had originaly configured and 1 using the PSC1400 PPD. Both these PPD's are running the same printer.

Gn2 wrote:

My conclusion - only ONE way to ensure compatibility
Roll your own - start from whichever base preferred:
Add in Apps/tools only as Req'd.
Never re-install again

My preference is to compile my own whenever I can. Unfortunately I am not always successful and I don't have enough experience yet to track down what went wrong most of the time.

I downloaded and installed the latest sane dotpups into 2.10 Pro this week. For a while it looked like another failure untill I located the documentation that was installed at the same time. After I added the line
/usr/local/lib
to /etc/ld.so.conf and entered ldconfig in a console scanning was suddenly possible.

Funny how its the simple things that cause so much hassle._________________Linux = Learning through doing
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

I really didn't follow what you did - genuine newbie here - and haven't tried it as yet BECAUSE my scanner is an Ethernet device.

So; is there any chance of getting mine to work?

Some step-by-step assistance would be lovely.

Until then it's back to Windoze for scanning which is a real shame.

Nic

I don't know what sort of chance you have of getting scanning to work with SANE and XSANE as they only seem give the option of either a USB or Parallel conection to the scanner.
I suggest that you start a new thread with the title "Can I set up Scanning with an Ethernet connection" or someting similar. With luck one of the Gurus will be able to help you out.
Im not surprised that you are not sure just what I did , It was really a fairly maessy and complicated way of going about things and I get a bit lost myself . If you don't do any good with a new thread send me PM and Ill see what I can do for you here.

trapster wrote:

I could never get the PyQt installed. Though my printer prints fine, I would love the extras from HPLIP.

The hp_toolbox and hp_setup complain about no PyQt.

What versions of HPLIP ,Sip, Qt, PyQt and Python do you have installed. Although I seem to have managed to get PyQt to install I do still have problems accessing the HPLIP extras.

Good luck trapster and have fun. Me I'm still using 2.10 Pro_________________Linux = Learning through doing
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

Posted: Thu 15 Nov 2007, 10:29 Post subject:
Scanning on Puppy LinuxSubject description: How to get scanners to work on puppy 3.01

The sane_backend-1.0.18.pet package on puppy linux 3.01 is pretty much broken. Symptoms are that sane-find-scanner will see your scanner. but scanimage -L will not. I think maybe that scanimage(1) is miscompiled and cannot work. In addition, the /etc/sane.d directory is missing from the package, but adding it manually does not resolve the trouble.

The solution is to use the sane_backend-1.0.17.pet package, available from
ibiblio ( http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-2/sane_backends-1.0.17.pet ). This package also uses the 1.0.18 sane libraries, which are the latest-and-greatest stable version.

This package has a dependency on gphoto2, also available on
ibiblio ( http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-2/libgphoto-2.1.6.pet ). The sane-find-scanner command will not run without this library.

You will need the gimp or a similar image manipulation tool in order to convert the scanned image from tiff/pnm format, which is what scanimage(1) will output for you.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum