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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
06-06-2005, 10:08 PM
|
#1
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep:
|
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.
|
|
|
06-06-2005, 11:36 PM
|
#2
|
LQ Newbie
Registered: May 2005
Location: Calgary, Alberta, Canada
Distribution: Debian (plan to use Gentoo and Slackware as well)
Posts: 5
Rep:
|
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!
|
|
|
06-06-2005, 11:44 PM
|
#3
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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.
|
|
|
06-07-2005, 12:42 AM
|
#4
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
I keep getting this error when I restart the automatically cancelled jobs:
Code:
client-error-not-possible
Just that. How annoying
|
|
|
06-07-2005, 01:33 AM
|
#5
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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.
|
|
|
06-07-2005, 03:51 AM
|
#6
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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 ) - hpijs
- hpoj
- hpoj-xojpanel
- sane
- sane-utils
- libsane
- libsane-extras
- 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.
|
|
|
06-13-2005, 03:34 PM
|
#7
|
LQ Newbie
Registered: Feb 2005
Posts: 10
Rep:
|
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:usb sc_1310_series_. Mandriva 10.1 is the OS.
What are the commands to print from Firefox and Adobe Reader?
TIA,
Nuselec
|
|
|
06-14-2005, 10:07 PM
|
#8
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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.
|
|
|
06-14-2005, 10:53 PM
|
#9
|
LQ Newbie
Registered: Feb 2005
Posts: 10
Rep:
|
Harishankar,
Do you know what the command is for Firefox? Also, how many pages per minute do you get?
Thanks
|
|
|
06-14-2005, 11:01 PM
|
#10
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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.
|
|
|
06-15-2005, 04:40 PM
|
#11
|
LQ Newbie
Registered: Feb 2005
Posts: 10
Rep:
|
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.
|
|
|
06-15-2005, 10:16 PM
|
#12
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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.
|
|
|
06-17-2005, 07:41 PM
|
#13
|
LQ Newbie
Registered: Feb 2005
Posts: 10
Rep:
|
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
|
|
|
06-17-2005, 10:52 PM
|
#14
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
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.
|
|
|
06-18-2005, 10:38 AM
|
#15
|
LQ Newbie
Registered: Feb 2005
Posts: 10
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|