Unable To Scan With HP PSC 1401 and SUSE 10.0
#1
Posted 11 November 2005 - 01:12 AM
I downloaded and installed the PPD file for the HP 1400 series, since it was not in the YAST install list. All HP software is installed, as well.
In YAST, under scanners, I see the printer, but it shows as not configured. When I attempt to configure it, I get an error: Failed to set up the ptal system - failed ptal-init setup-usb. Incidentally, this is a USB printer.
Opening a terminal as su, I run usr/sbin/ptal-init setup. Everything looks fine there shown below:
Currently defined device names ([*]=default):
"mlc:usb:PSC_1400_series"
Model is "PSC 1400 series".
Serial number is "CN591230QP04GM".
Probe for USB-connected devices ([y]/n)? y
Probing "/dev/usb/lp0"...
Found "PSC 1400 series"
with serial number "CN591230QP04GM".
This device is already set up as "mlc:usb:PSC_1400_series".
Probing "/dev/usblp0"...
Found "PSC 1400 series"
with serial number "CN591230QP04GM".
This device is already set up as "mlc:usb:PSC_1400_series".
I then ran /usr/sbin/ptal-init start which stops, then restarts.
Then, as su, from a terminal, I ran /usr/sbin/ptal-init setup-usb. Here is the result:
Probing "/dev/usb/lp0"...
Found "PSC 1400 series"
with serial number "CN591230QP04GM".
This device is already set up as "mlc:usb:PSC_1400_series".
Probing "/dev/usblp0"...
Found "PSC 1400 series"
with serial number "CN591230QP04GM".
This device is already set up as "mlc:usb:PSC_1400_series".
Starting the HP OfficeJet Linux driver.
mlc:usb:PSC_1400_series
Reading the HP driver installation information, I did go to /etc/sane.d/dll.conf and made sure the comment was removed, as advised to do in the HP instructions.
I'm pretty new with all this, so any help would really be appreciated.
zenarcher
#2
Posted 11 November 2005 - 04:03 AM
The only thing I can think of is, is the hpoj package installed? After running the ptal-init setup, did you try to get it going with xsane?
#3
Posted 11 November 2005 - 05:28 AM
Here is another oddity I'm having. I have another box, just like this one. I took my old HP T45 off this machine (where it printed fine, except the color was getting some lines through it) and moved it over to the other system. The other system is the same motherboard (MSI KT6V), same SUSE 10.0...everything the same. But, on the other machine, I cannot install the HP T45 as it doesn't find the parallel port! I'm using the same parallel cable and everything. I even went into the BIOS and made sure the parallel port is set to ECC, just as this one is. Yet, it works on this box, but not the other, if anyone has any ideas there. It is not communicating with the parallel port, as it appears to me.
zenarcher
#4
Posted 11 November 2005 - 06:44 AM
Here's the deal, so maybe Dan can help me with this. Here is what I did:
I did some more reading and found that SOMETIMES, having both HP print drivers installed creates a problem. This printer unit requires you to use the old hpoj driver. So, I went into YAST and deleted the new hpijs(or something like that). I then went back into /etc/sane.d/dll.conf and had to remove the comment again on hopj, using the vi editor.
Now, I tried once again to scan and IT WORKED! Now, here is the problem:
I rebooted the computer and could not scan, following the reboot. I then went into a terminal as su and ran usr/sbin/ and ran ptal-init start Following that, I could once again scan!
So, apparently, upon reboot, I have to run usr/sbin/ptal-init start before I can scan.
Is there something I can do so I don't have to open a terminal as su, then run usr/sbin/ptal-init start, every time I reboot the system, before I can once again scan?
Regards,
zenarcher
#5
Posted 11 November 2005 - 08:29 AM
In /etc/rc.d/boot.local I had to add this line:
/usr/sbin/ptal-init start
Once I did that and rebooted the system, the scanner worked perfectly!
Now, just to figure out the parallel port problem on the other box....
zenarcher
#6
Posted 11 November 2005 - 10:24 AM
Regards,
zenarcher
#7
Posted 11 November 2005 - 10:59 AM
system-config-services
In SuSE it would be in Yast. In Mandriva, it would be in the Mandriva control center.
I'm using Slackware so I'd likely just put the command in /etc/rc.d/rc.local If I were going to use the scanner a lot. If I used it only occaisionally, (which is what I do) I'd likely just start it up when I needed it.
Strangely enough, I had to scan 12 pages for a friend tonight. We use a HP officejet v40xi, and it scans and copies perfectly.
As a tip, Gthumb is a really good utility to scale, crop and convert images with. A lot easier to do than with Gimp. With Gthumb you do one, then click "next" and do the next one.
I'm glad you got it working! Scanner are a real pain the first time around!
#8
Posted 11 November 2005 - 11:03 AM
Regards,
zenarcher
I'm pretty sure danleff has this very same problem with his printer/scanner. You have to stop sane in order to print and so on. Luckily enough, ours doesn't have this annoyance. At any rate, you're scanning and that's good news!
#9
Posted 11 November 2005 - 12:01 PM
Regards,
zenarcher
#10
Posted 11 November 2005 - 06:33 PM
I do remember reading an article about this a while back, as well.
Maybe a couple of shell scripts, one to turn on and another to turn off sane. Not the best solution, but a little better than switching back and forth via a console.
#11
Posted 11 November 2005 - 09:01 PM
I used to have a separate scanner and printer, but that was quite a long time ago. I went this way with the combo unit about six or seven years ago, trying to clear some desk space. One of the same reasons I went with the flat LCD monitor. I have a huge "L" shaped desk, but I still manage to clutter it up and most free space left on it ends up being occupied by our three black cats, who sleep on top of printers, computers and any other flat surface.
It just seems strange to me, especially since HP is fairly well supported with Linux, that the problem has not been addressed. It seems that the problem does not exist with high end HP units. It seems to me that these lower priced units would be the ones most often purchased by the average person. For example, this PSC 1401 is one of the "Wal-Mart Sales Items," right now. Wal-Mart is selling them for $49.95...you couldn't even buy two new print cartridges for that price, so I know a lot of them must sell. They are stacked to the ceiling in the local Wal-Mart and have been selling like mad. Due to the popularity of this and other similar models, it would really be nice to see an effort made for compatibility.
Regards,
zenarcher
#12
Posted 12 November 2005 - 02:25 AM
[code]
#!/bin/bash
/usr/sbin/ptal-init start |
xsane
You could put it in your home directory and call it scannerstart.
Make an icon on your desktop with the command:
[code]sh scannerstart.
...or some such thing. Just an idea...
#13
Posted 12 November 2005 - 02:39 AM
[code]
#!/bin/bash
/usr/sbin/ptal-init start |
xsane
You could put it in your home directory and call it scannerstart.
Make an icon on your desktop with the command:
[code]sh scannerstart.
...or some such thing. Just an idea...
Dan, I sort of understand what you're saying with the shell script, but I have one other question. How would I then turn it off, after I finished scanning, so I could print again?
Thanks,
zenarcher
Afterthought: I may have just been having a dumb moment here, Dan....I would probably create another one with "Stop" instead of "Start." Would that be correct?
zenarcher
#14
Posted 12 November 2005 - 03:39 AM
I just bought an HP Officejet 6210 this am. I am going to try the HP drivers with it and post my results.
#15
Posted 12 November 2005 - 04:40 AM
If you were going to create another shell script to shut it down, you would leave off the xsane part.
Sure whish I knew more about shell scripts. I never seem to be able to find the time to study up on it though...
Dapper
#16
Posted 12 November 2005 - 05:36 AM
I just bought an HP Officejet 6210 this am. I am going to try the HP drivers with it and post my results.
Ahh...you probably have one of the units that is totally compatible, danleff. I sure hope so. For some reason, I vaguely recall that the 6000 series was quite compatible.
Regards,
zenarcher
#17
Posted 12 November 2005 - 05:43 AM
If you were going to create another shell script to shut it down, you would leave off the xsane part.
Sure whish I knew more about shell scripts. I never seem to be able to find the time to study up on it though...
Dapper
Okay....I think I understand that part pretty well. The commands I use in a terminal, as su, are:
/usr/sbin/ptal-init start (that makes the scanner usable)
/usr/sbin/ptal-init stop (that stops the scanner and makes the printer usable again)
Now, what I'm not sure about. I know how to use vi to edit something...but I'm not real sure what I use to create the scripts, as you mention. Perhaps you could clarify that for me. Also, I'm figuring I would "Save As," when I finish them, putting them in the Home Directory. I guess "ScannerStart" and "ScannerStop" would be good names?
Regards,
zenarcher
#18
Posted 12 November 2005 - 06:29 AM
#19
Posted 12 November 2005 - 07:45 PM
Okay Dan, I'm having another dumb moment. I'm not real sure as to where I would put kdesu. I know you said before the command, but could you please clarify for me? Would that be the very first line, or would it be right before the /usr/sbin/ptal-init start |
Regards,
zenarcher

Help










