LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-25-2009, 03:55 AM   #1
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Rep: Reputation: 15
USB printer not working


Hello all,

I have a HP LaserJet 5L which I've been using via LPT, and it's been working just fine. Now I've replaced the printer-LPT port cable with a printer-USB one, but printing doesn't work anymore. When the USB cable is unplugged, lsusb gives:

Bus 003 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

When I plug it in, lsusb gives:

Bus 003 Device 005: ID 04b4:4100 Cypress Semiconductor Corp.
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

So something seems to be there, but I don't quite know what to do. I've tried setting the printer's connection type from LPT to USB in Control Center, but it hasn't helped. The printer seems not to have contact with the computer, as it even switches itself to standby when something is supposedly being sent into it.

Any suggestions..?
 
Old 02-25-2009, 04:48 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
How did you replace the cable ?

This printer does not seem to have an USB output, or am I wrong

Anyhow I find no entry for this printer in my /usr/share/usb.ids file and Hewlett Packard's vendor number is 03f0.

EDIT may be you mean that you use a parallel to USB adapter. But there is no entry for vendor #04b4 and product #4100 (could be the adapter ?) in my usb.ids

Last edited by Didier Spaier; 02-25-2009 at 06:25 AM.
 
Old 02-25-2009, 06:39 AM   #3
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Didier Spaier View Post
How did you replace the cable ?

This printer does not seem to have an USB output, or am I wrong
You're correct, it doesn't have a USB output. I'm not totally familiar with the proper terms and abbreviations, so probably I'm being unclear.

The new cable has the same "printer-end socket" at the one end as the old cable, but where the old one had an LPT socket at the other end (to be plugged into the computer), the new one has USB.

The cable hassle is because my laptop has an LPT (and I was able to print just fine), but my girlfriend's laptop hasn't. Instead of buying a USB printer we thought to solve the problem this way, as we don't print so often as to justify buying another printer.
 
Old 02-25-2009, 06:55 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
My guess (only a guess) is that what you need is not a cable with an USB output, but an "USB to parallel" adapter or converter. Search Google for it and try to check if it can be used under Linux (you probably will need a specific driver for it).

I had a similar problem trying to use a "USB to VGA" adapter because the VGA output of my laptop is broken. Unfortunately I couldn't find a Linux driver for it, so I ended up using the Windows driver for it; to do that I had to install Windows 7 beta in a virtual machine in my laptop, which took me _some_time_.

So if you do not need to print that often, may be you would be better off buying a cheap color inkjet printer -- but first check that in can be used in Linux (all HP printers can, as you probably know) !
 
Old 02-25-2009, 08:07 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
It might be easiest to have your GF share your printer over your network. This is easy if she is running linux, and I am sure it is possible if she is running windows
 
Old 02-25-2009, 08:17 AM   #6
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Didier Spaier View Post
My guess (only a guess) is that what you need is not a cable with an USB output, but an "USB to parallel" adapter or converter.
What, in your opinion, would be the crucial difference of this solution to the one I tried..? Offhand the adapter seems like just a shorter version of the cable I have.
 
Old 02-25-2009, 09:30 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Not sure of the answer, but I think that you need some kind of software (included in the adapter) to convert parallel signals to serial ones.

Anyhow, I think that Tredegar proposed the good way to go: you could share your printer over your network.

Last edited by Didier Spaier; 02-25-2009 at 04:37 PM.
 
Old 03-05-2009, 02:31 AM   #8
minaesm
Member
 
Registered: Oct 2008
Posts: 38
Blog Entries: 3

Rep: Reputation: 15
hi
i have a hp printer , when i put the usb in my laptop it seems that everything is ok and my system(ubuntu) know it , but when i want to print any document there is no answer , in the screen it shows the printer icon but it doesn't print .how can i solve this problem?
 
Old 03-05-2009, 07:08 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
Bus 003 Device 005: ID 04b4:4100 Cypress Semiconductor Corp.
This device is a USB to parallel port adapter.

I believe the module name is sl811hs. You can check the output of the dmesg and lsmod commands to see if the device is fully recognized and to see if the module is being loaded.
A /dev/usblp0 device should be created.

If all this seems to be working then you need to change cups for the printer from /dev/lp0 to /dev/usblp0.
 
  


Reply



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
Printer with long USB cord not working shaji00 Linux - Hardware 3 11-27-2006 12:33 AM
how do I make USB ports work so I can get my printer working? M$ISBS Linux - Newbie 22 07-19-2005 02:04 PM
USB Printer Not Working Baryonic Being Linux - Hardware 5 07-10-2004 06:31 AM
USB printer quit working TSloth Linux - Hardware 4 05-02-2004 10:58 PM
USB Lexmark Printer Not Working vi0lat0r Slackware 8 04-03-2004 06:00 AM

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

All times are GMT -5. The time now is 05:30 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