LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Setup HP PSC 1315 / 1310 - Scanner (https://www.linuxquestions.org/questions/linux-general-1/setup-hp-psc-1315-1310-scanner-275259/)

zparihar 01-08-2005 02:22 AM

Setup HP PSC 1315 / 1310 - Scanner
 
Since its fairly simple to setup the Printing side of the HP PSC 1315 / 1310, i'm gonna explain how i did the scanner. (took me a month to figure out. - i ended up finding the documentation and it was dead simple)

Just to clear up - the hp psc 1315 is the same as 1310 - USE THE VALUE 1310
NOT 1315

How to Install HP PSC 1315 All-In-One

***Scanner***

make sure the hp psc 1315 is plugged in.

#1 Make sure you have the following installed:

libsane-hpoj-0.91-9
hpoj-0.91-9
hpijs-1.6-2

#2 on a terminal, type 'ptal-init setup', and answer the questions (its short and
straightforward)

#3 now you wanna type 'ptal-init start' to start the scanner

#4 to test the scanner type in scanimage -d hpoj:mlc:usb:psc_1310_series_ --test

(if you don't have the 1315/1310 replace it that line with the device name:
scanimage -d hpoj:device --test

to find out the name of your device type 'scanimage --list-devices' and replace
the device name in the previous command to test it...

#5 now startup a scanning program like xsane or kooka :

For Kooka -
kooka -d hpoj:mlc:usb:psc_1310_series_

For Xsane -
xsane hpoj:mlc:usb:psc_1310_series_

THATS IT!!


you'll probably want to make sure 'ptal-init start' gets started each time the computer reboots.
Put it in a startup script or something...

Hoped this helped...
Zubin
zparihar@yahoo.com

Beck24 01-08-2005 12:06 PM

Thanx zparihar,

I have a psc 1210 that prints fine but I can't get it to scan, I'll try that only using the 1200 series. Hopefully that will work.

zparihar 01-09-2005 08:29 PM

Let me know if it works or not...
 
Let me know if it works or not...

Beck24 01-12-2005 03:28 PM

So far it hasn't worked but that's because I can't seem to install hpoj and hpijs. They keep complaining about dependencies, when I have them installed.
I'll let you know when I get them resolved

zparihar 01-13-2005 01:10 AM

source installation?
 
have you thought about installing from source?

doesn't suse 9.1 Pro have a package manager where you can install it through yast?

kapat 01-25-2005 11:52 PM

thanks zubin
 
zubin thanks for your details.. I just bought a HP PSC 1315, and got it to work. Btw, I had installed the hplip and hplip_data which was giving me a HP frontend for the printer and scanner. But when I installed hpoj, it removed these two packages ( I was hesitant in the begining, but thought of giving it a try). And thankfully it worked. I was able to get my scanner working. Why are these two incompatible ?

Secondly, I suppose this printer has a max resolution of 1200 dpi, but all of the scanning options offer a max of 600dpi. Why is that ?

kapat

zparihar 01-27-2005 01:17 AM

I've got to check it out
 
Hey kapat,

I've actually i've been wondering about that too....

I just haven't had the time to look into it...but then again 600 DPI is not that bad...

I'll try find out when i've got time and let you know...


Zubin Parihar

sporks 01-27-2005 08:27 AM

Re: thanks zubin
 
Quote:

Originally posted by kapat
zubin thanks for your details.. I just bought a HP PSC 1315, and got it to work. Btw, I had installed the hplip and hplip_data which was giving me a HP frontend for the printer and scanner. But when I installed hpoj, it removed these two packages ( I was hesitant in the begining, but thought of giving it a try). And thankfully it worked. I was able to get my scanner working. Why are these two incompatible ?

Secondly, I suppose this printer has a max resolution of 1200 dpi, but all of the scanning options offer a max of 600dpi. Why is that ?

kapat

hplip is the replacement for hpoj/hpijs as I understand it.
One stop shopping rather than two different files.

I've used it for my PSC750.

Your scanner didn't work with the hplip?

According to this, http://hpinkjet.sourceforge.net/productsmf.php , the 1310 is supported by hplip.

kapat 01-30-2005 02:24 PM

hey sparky,
i had followed the instructions on the link u r refering to. before that i had installed, hpijs. then hplip. and yes the scanner was not recognised !! i'll give it another shot, removing hpij and hpoj, as u say, if hplip is hpij+hpoj then it shoukd work. i'll let u kow what turns up..

thanks guys...

kapat 01-30-2005 09:06 PM

Okay Sparky, here are my findings, after i removed hpoj, hpijs and installed hpijs, hplip.
1. hplip depends on sane for recognising the scanner. (lol !)
2. sane does not recognise, hp's PSC devices !! here is the link..
http://www.sane-project.org/lists/sa...al.html#S-HPOJ

3. sane-find-scanner gives the following output...

~$ sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0, product=0x3f11) at libusb:001:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.

4. But, hp's page http://hpinkjet.sourceforge.net/productsmf.php says it gives a FULL support !!! Boy, let it support first !

btw, when u start hplip toolbox, and then configure it, what frontend do u use for scanning ?

any more lights ?

sporks 01-30-2005 09:14 PM

I just use Kooka for scanning.

I know I have sane installed.

Never thought abou it much.

zparihar 01-30-2005 11:31 PM

Scroll up
 
Scroll up to my original posting...

It should work...its dead simple!


Zubin Parihar

kapat 01-30-2005 11:56 PM

zubin, i kow it works and IS simple. thanx 4 ur original posting.
i was just curious to retry hplip. i'll go back and get rid of hplip.
the hpoj project seems to have met a dead end.. just look at this..
http://hpoj.sourceforge.net/news.shtm ????

sporks 01-31-2005 08:40 AM

Quote:

Originally posted by kapat
zubin, i kow it works and IS simple. thanx 4 ur original posting.
i was just curious to retry hplip. i'll go back and get rid of hplip.
the hpoj project seems to have met a dead end.. just look at this..
http://hpoj.sourceforge.net/news.shtm ????

Because it's been replaced by hplip.

I know it works.

I've used it.

Follow these instructions here:
http://hpinkjet.sourceforge.net/install.php#HPLIP

It's dead simple.

I had to edit my Slackware init scripts to start hplip not hpoj other than that it functions no diffently and is supported unlike hpoj it would seem.

bernie 02-05-2005 09:51 PM

pls give me the directions installing hp psc 1315 all in one series
 
my scanner doesnt work but hte hp psc 1315 is properly installed.will you please give me some reasons why my scanner doesnt work and will you please give me the directions how can i use my scanner..thank you..

zparihar 02-11-2005 03:01 AM

do you have the folowing packages installed?

libsane-hpoj-0.91-9
hpoj-0.91-9
hpijs-1.6-2

make sure these packages are installed.. and then in a terminal type:


1 ) ptal-init setup
2 ) ptal-init start
3 ) scanimage -d hpoj:mlc:usb:psc_1310_series_ --test


tell me if the scanner makes some noise...


Zubin Parihar

tphman 02-17-2005 03:12 AM

zparihar::

Success with the psc 1200 series!!
Worked on my psc1210.
Found an update to sane through yast (using packman as an installation source).
Downloaded then did a './configure', 'make', then 'make install' to the the hpos and hpijs src files.

From a konsole I typed the following

1 ) ptal-init setup (the prompts were very easy)

2 ) ptal-init start (simple enough)

3 ) scanimage -d hpoj:mlc:usb:psc_1200_series --test
(this test was smooth)...

Then I opened Kooka from KMenu>Graphics>Scanning and the rest was history.....

Thank you so much for the original Howto Post!!!

zparihar 02-19-2005 10:20 PM

no prob

Zubin Parihar

Ingla 11-02-2005 02:51 PM

HP All-in-One - PROBLEM
 
Hello.

I realize this post is old, but I hope someone can help.

I followed the instructions in the original post except that these are the versions I have installed (because that's what Synaptic had):

libsane-hpoj-0.91-9 (doesn't seem to be there)
hpoj-0.91-6
hpijs-2.1.5 +0.9.5-2ubuntu2

I can't find libsane.

Anyway, I got the scanner working successfully, but now I can copy but not print. Apparently, the drivers are wrong. Can anyone tell me where to get them (apt-get doesn't find them)?

If I have to make a choice, the printer is certainly more important. Can anyone help with this?

zparihar 11-07-2005 01:54 PM

did your printing work before?

Try an 'apt-get remove' of those packages or go back to synaptic and uncheck them.

Thats really strange I've been able to install that printer on a lot of different distro including Debian Xandros. And got it working properly.

Maybe i'll set up a Ubuntu box out and give it a try.


TTY soon.

Zubin

zparihar 11-07-2005 02:01 PM

You know what I just realized, when Installed the printer on my Grandfathers Xandros computer, I had to use the Debian Sources to get that printer working (quite a few months ago).

Anyways... once you remove those previous packages, try commenting out your 'sources.list' repositories and then add the debian repositories to that file. After you've done that... do an 'apt-get update' and then an 'apt-get install (hp packages)' or just go to Synaptic and find those packages and then install it.

If you need a more detailed answer, please say so and i'll give you the step-by-step instructions and see if you can get your printer and scanner going.

Zubin Parihar.

Ingla 11-07-2005 04:22 PM

Thanks very much for the reply. I had more or less given up hope of anyone seeing the post.

The printer originally worked on Ubuntu 5.10 "out of the box" using a default driver. After I got the scanner working, the printer wouldn't.

Now, things are working...sort of. The situation is like this:

I had installed

hpoj-0.91-6
hpijs-2.1.5 +0.9.5-2ubuntu2

when I made the previous post. I was unable to find libsane-hpoj-0.91-9.

After a long search, I found: libsane-hpoj-0.91-9.i386.rpm and hpoj-0.91-9.i386.rpm.

I used apt-get alien to convert the lipsane file to a deb and installed it.

I haven't done that yet with the hpoj because I don't know what will happen with the previously installed 0.91-6 (I'm very much a Linux newbie, but catching on pretty fast). Will apt-get replace it automatically or do I need to do something ?

I also have hpijs-1.6-2.i386.rpm, but don't know whether I should replace the hpijs-2.1.5 +0.9.5-2ubuntu2, which sounds like it's newer.

Anyway, the scanner works (Xsane) but, after I scan something the printer doesn't work. Print Manager indicates it is printing (not paused or stopped), but nothing happens.

After trying various things, I discovered that I need to turn the printer off (physically...with the button). I then turn it back on and it prints.

So, essentially, I have all functions of the all-in-one printer...just in a slightly roundabout, mild pain-in-the-neck sort of way.

So the question is whether I should count myself lucky and forget about further playing around with the system for fear of mucking something up...or whether I can expect to get full, "normal" function.

Comments gratefully accepted.

Thanks.

zparihar 11-07-2005 10:47 PM

I would remove those packages. And get it working correctly. Theirs no corrupt Window registry to deal with here... The best thing about Linux is that it is very straight forward. If you remove it then decide to reinstall it the same way it will definetely work just like you did the first time...

Anyways... 'apt-get remove (thePackages)'

(you could also use 'dpkg -r (thePackages)' - if you installed the rpm->alien->deb)

Change to the debian sources, 'apt-get install (thePackages)'

Then follow my setup instructions in the original post... and everything should work correctly.

(remember to change back to the Ubuntu sources afterwords)



It should work.. if not, you can always go back to the way you were using it before...which would be annoying...


Let me know if you need anymore details. I would like to test it out with UBUNTU soon, but i won't try it for the next couple of days because I got a lot on my plate right now...And i'll give you step-by-step instructions to let you know how I got mine working.

Anyways, good luck and post back here just to let me know if you've had any success with it... just interested.

Thanks,

Zubin Parihar

Ingla 11-08-2005 02:19 PM

Thanks very much for all the help.

I tried to use some Debian repositories once, but they returned error notices on apt-get update. So I commented them out.

The ones I know of are:

##deb http://security.debian.org/ stable/updates/updates main contrib non-free
##deb http:// secure-testing.debian.net/debian-secure-testing testing/secure-updates main contrib non-free
##deb http://http.us.debian.org/debian/ stable main contrib non-free
##deb http://http.us.debian.org/debian/ testing main contrib non-free
##deb http://http.us.debian.org/debian/ unstable main contrib non-free

Which ones are you referring to?

zparihar 11-08-2005 04:42 PM

Hey,

I just found my how to for xandros i wrote for my grandfather... (Xandros is also Debian based like Ubuntu)

here you go




1) comment out the ubuntu repository in the file /etc/apt/sources.list




2) install the the following debian sources in the same file ( /etc/apt/sources.list):

deb ftp://ftp.us.debian.org/debian stable main contrib non-free
deb ftp://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

3) do an 'apt-get install hpoj hpijs hp-ppd'

4) It will automatically run "hpoj setup"

5) follow the steps. You're device name should be something like: mlc:usb:psc_1310_series_


after this is done... try run your printer utility...for kde i believe its 'kprinter' -- if its not yet in the list of installed printer, there should be an add printer around there...for gnome..don't remember but there should be one around somewhere as far as I remember.


For the Scanner.


1) on a console/konsole/terminal type "scanimage -d hpoj:mlc:usb:psc_1310_series_ --test"

2) you should find that your scanner is now moving and doing some tests.

3) Now to run the scanning program 'Kooka' type:

kooka -d hpoj:mlc:usb:psc_1310_series_

4) It should now be working!



let me know how this went...
I'm gonna try setup ubuntu this weekend...

CandyAppleRed 06-04-2007 09:53 PM

Hi and I read your Post last night 2xs .
I have Winxp Pro Sp2 w/Ie 7
I do not have Linux. Does this solution ONLY work with Linux.I have the same problem but when I tried this part of your post:
How to Install HP PSC 1315 All-In-One

***Scanner***
make sure the hp psc 1315 is plugged in.

#1 Make sure you have the following installed:

libsane-hpoj-0.91-9
hpoj-0.91-9
hpijs-1.6-2


:mad: NONE came up in the start>search> entering each 1.

Plz 4give me if I sound as tho I do not know how to do this or even if i can accomplish this. :confused:

zparihar 06-06-2007 12:12 AM

No, That solution was only for Linux.

For Windows, download the Basic Driver on this page:

http://h10025.www1.hp.com/ewfrf/wc/s...374568&lang=en

and then double click it to install it.

Zubin Parihar


All times are GMT -5. The time now is 10:12 PM.