LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-06-2005, 10:08 PM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
HP PSC 1315 - Printer detected under CUPs but not working (hplip/hpijs driver)


Edit:
This problem has been solved by me. I have googled around and found that many others have similar problems. Read the problem description below. If you have similar problems printing/scanning with the HP PSC 1310 device (I cannot say whether other HP MFD models will work with this)

The solution has been posted in post #6.

Thanks



I just installed CUPS and hplip/hpijs for the HP PSC 1315 multifunction printer that I have. The driver recommended was hplip on one website and hpijs on another. So I installed both through synaptic.

CUPs detects the printer as follows:
Code:
Printer State: idle, accepting jobs.
Device URI: hp:/usb/psc_1310_series_?serial=MY524CC1F0O2
When I click on print test page in CUPs web-interface or through the HP printer manager (hp-toolbox), I get the following message in jobs

Code:
 	 processing since
Tue Jun 7 07:33:19 2005
But there is no activity in the printer. I am unable to find a solution to this. Is there anything that I have to do or diagnose to find out the solution to this problem?

I can confirm that when the printer is switched off, CUPs identifies this state and gives a message saying that
Code:
"open device failed; will retry in 30 seconds..."
Device URI: hp:/usb/psc_1310_series_?serial=MY524CC1F0O2
The printer works fine under Windows. Can anybody help me?

Regards.

Last edited by vharishankar; 06-07-2005 at 03:55 AM.
 
Old 06-06-2005, 11:36 PM   #2
servantofgandalf
LQ Newbie
 
Registered: May 2005
Location: Calgary, Alberta, Canada
Distribution: Debian (plan to use Gentoo and Slackware as well)
Posts: 5

Rep: Reputation: 0
HP PSC 1315 Printer Issues

I would suggest first uninstalling both drivers, and try the hpijs driver. If that one doesn't work, uninstall it and try the other. The HCL here on linuxquestions.org claims that the hpijs driver is the one to use with that printer.

I have that printer myself, though I haven't tried to use it with Linux yet... I don't have a working linux machine at this point

Hope this helps!
 
Old 06-06-2005, 11:44 PM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I'll try with hpijs again, although I'm sure that the hplip driver has superceded both the hpoj and hpijs drivers.

The recommended driver (according to http://hpinkjet.sourceforge.net) is the hplip driver for this model.

I'll keep everyone up to date on this. I searched google/linux and found a similar thread at justlinux.com but nobody seems to have a solution to this.

Regards.
 
Old 06-07-2005, 12:42 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I keep getting this error when I restart the automatically cancelled jobs:
Code:
client-error-not-possible
Just that. How annoying
 
Old 06-07-2005, 01:33 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
It works now. I removed the hplip driver and just reconfigured the printer device in CUPs as
Code:
Device URI: usb:/dev/usb/lp0
I'm not sure whether changing the URI did it or removing hplip did it. But I'll try both now that I've got it working and see what happens.

Regards.
 
Old 06-07-2005, 03:51 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Success! Printing and scanning both work with the device HP PSC 1315 Multifunction Printer under Linux. These instructions apply for local USB setup only. Instructions may be different for setting up a remote network printer.

NOTE: If you are a Debian user like me , save yourself all the trouble and install CUPS, hpijs, hpoj, sane and other related programs from apt-get or synaptic. All required packages are available from the Debian repositories.

<--- BEGIN Debian Related Instructions --->
What (Debian) packages you need (you may not need some of them, but I installed them anyway. Some packages may also be installed as dependencies, but I cannot remember all that so I'm listing them all here )
  1. hpijs
  2. hpoj
  3. hpoj-xojpanel
  4. sane
  5. sane-utils
  6. libsane
  7. libsane-extras
  8. Packages related to CUPS
In general, search for all CUPS related packages. If you feel that you may need them, install them. Does no harm at all if you install anything extra. If you don't use Debian, continue below and follow generic installation instructions from the links below.
<--- END Debian Related Instructions --->

Installing CUPS

I assume that you have all installed CUPs. In case you haven't you can find excellent documentation here at:
http://www.linuxprinting.org/cups-doc.html

You can get CUPS here (in case your distro doesn't come with it): http://www.cups.org/software.php

Check out that site. It's great and provides great info on which printers are supported under Linux and which printers are not.

Printing and Scanning Support in HP PSC 1310 series instructions

1. For printing installing the hpijs driver works.
2. For scanning, install the sane utilities and libraries and the hpoj driver.

Detailed instructions for installing these drivers can be found at: http://hpinkjet.sourceforge.net

For printing (hpijs installation) check out this page:
http://hpinkjet.sourceforge.net/install_hpijs.php

For scanning (hpoj installation) check out this thread at LQ.org:
http://www.linuxquestions.org/questi...5&pagenumber=1

Do NOT install the hplip drivers.

For scanning install the hpoj drivers and then when configuring the device (post-installation), keep the device switched on. This will automatically recognize the device and that's it! All you need to do is to test scan an image using kooka or xsane!

Notes:[list=1][*]You might need to restart the CUPS daemon a few times during the installation process. For this the command is as shown in the next point.[*]Both printing and scanning will work. However, note that sometimes after scanning, printing might not work. The error message might be that the USB port is busy. Try turning off and then turning on the device and if this doesn't work restart the CUPS daemon as root.
Code:
/etc/init.d/cupsys restart
(Slackware users might have to type /etc/rc.d/rc.cups restart or a similar command.
  • Keep the device switched off after installing the hpijs driver while adding the printer device using CUPS (Type http://localhost:631 in your browser for CUPS setup). Please select the printer device as (in case you are using a local USB printer) USB Printer #1 in the CUPS printer setup. Make sure that the device URI is usb:/dev/usb/lp0.
  • Keep the device switched on when installing the hpoj drivers. This will automatically detect the device connected to USB port and you need perform no other steps. Just take a sample scan from kooka or xsane to make sure it works.

Best of luck to anybody reading this. If you need any help, please post in this thread

Last edited by vharishankar; 06-07-2005 at 04:33 AM.
 
Old 06-13-2005, 03:34 PM   #7
Nuselec
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
Harishankar,

Thanks for the detail instructions. My printer works, but using CUPS to configure HP PSC 1315/1310 doesn't show up in "Model/Driver for HPPSC1310. Also, the device URI is: ptal:mlc:usbsc_1310_series_. Mandriva 10.1 is the OS.

What are the commands to print from Firefox and Adobe Reader?

TIA,

Nuselec
 
Old 06-14-2005, 10:07 PM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Hi, I haven't figured out how to print from Adobe Reader either.

I think that you might have to change the print command in the printing dialog box.
 
Old 06-14-2005, 10:53 PM   #9
Nuselec
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
Harishankar,

Do you know what the command is for Firefox? Also, how many pages per minute do you get?

Thanks
 
Old 06-14-2005, 11:01 PM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
HI,

The printing seems to work under Firefox for me. At least the printer seems to respond when I give the print command. I haven't tested with an actual paper yet.

What does the "printer" field say under Firefox?

Also is your printer URI in CUPS?

It should be usb:/dev/usb/lp0 if it is a USB connected printer. This is very important.
 
Old 06-15-2005, 04:40 PM   #11
Nuselec
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
Hi,

Quote:
What does the "printer" field say under Firefox?
lpr -P HPPSC1310

Quote:
Also is your printer URI in CUPS?

It should be usb:/dev/usb/lp0 if it is a USB connected printer. This is very important.
Look at my first post. Using CUPS, the driver for HP PSC 1310 is NOT listed. Days ago, when I tried what you suggested, the printer didn't work.

Thanks for you reply.
 
Old 06-15-2005, 10:16 PM   #12
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I don't get it. When the device list appears, you should choose

USB Printer #1 (for USB connected printer)

The driver *will* be listed for HP PSC 1310 series in the next screens.

In the Make screen, choose HP and in the next one, choose HP PSC 1310 Foomatic/hpijs (recommended).

Do not choose the device URI as hp:/usb/psc_1310_series_?serial=MY524CC1F0O2.

Three suggestions:

1) There is no reason why it should not work if you've installed the hpijs driver.

2) Make sure also that you have the latest version of CUPS.

3) Can you post screenshots of your CUPS configuration page so that I can check if there's anything you've missed?

Last edited by vharishankar; 06-15-2005 at 10:19 PM.
 
Old 06-17-2005, 07:41 PM   #13
Nuselec
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
Harishankar,

One thing I didn't mention, there's another printer listed (right now it's not hooked up to the computer)

Once USB Printer #2 was selected, the rest was as you said.

CUPS-1.1.21-0.rc.1.7.4 is the version installed. (It's not the lastest, but this should still work, shouln't it?)

With the configuration as it is now, I can't print.

Under "Forum Rules" it says "You may not post attachements." So I can't post the screenshoot, but basically what it shows is listed below.
***********************************************************
Printer

Default Destination: HPPSC1310

EPSONStylusC82 Epson Stylus C82 Foomatic/gimp-print-ijs (recommended)
Description: EPSON Stylus C82
Location:
Printer State: idle, accepting jobs.
Device URI: usb://EPSON/Stylus%20C82



HPPSC1310 HP PSC 1310 Foomatic/hpijs (recommended)
Description: HP PSC 1310
Location:
Printer State: processing, accepting jobs.
"Printer not connected; will retry in 30 seconds..."
Device URI: usb:/dev/usb/lp1
***********************************************************

Mandriva 10.1 is the OS.

Thanks,

Nuselec
 
Old 06-17-2005, 10:52 PM   #14
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Did you try removing the other printer's configuration?

Also I had this problem
Code:
Printer State: processing, accepting jobs.
"Printer not connected; will retry in 30 seconds..."
But it usually works after I restart CUPS. Also did you activate the printer using the CUPS configuration "Start Printer" button?

Sorry I cannot think of anything else that might be a problem there!

Regards.
 
Old 06-18-2005, 10:38 AM   #15
Nuselec
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
Quote:
Did you try removing the other printer's configuration?
No, but it shouldn't make a difference.

Quote:
Also did you activate the printer using the CUPS configuration "Start Printer" button?
Yes.

Quote:
Sorry I cannot think of anything else that might be a problem there!
Harishankar, thank you for your patience and continual assistance.

Maybe in the near feature, printing in Linux will be straightforward . It will be simple to print from Web browsers, Adobe Reader etc...

Nuselec
 
  


Reply

Tags
cups, cupsys, deskjet, hp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP PSC printer not detected by Ubuntu vincebs Ubuntu 2 06-22-2005 11:36 PM
Cups configuration, hp psc 1315 printer ArchArael Linux - Hardware 0 05-13-2005 05:18 AM
Xsane freezes - Scanner:HP PSC 1315v - Driver:hplip drewblay Linux - Hardware 1 05-07-2005 09:33 AM
Printing with CUPS using hp psc 2110 and hpijs driver Ikana *BSD 3 08-26-2004 07:44 PM
Printing with CUPS using hp psc 2110 and hpijs driver Ikana Linux - Software 0 08-15-2004 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration