Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
|
|
07-04-2009, 06:47 PM
|
#1
|
Member
Registered: Jul 2008
Posts: 154
Rep:
|
Installing Driver for HP Laserjet 1020
I accidentally deleted the printer driver for the above printer.I forgot how to re-install it. Can someone explain to me how to do it.
Ubuntu 9.04
Thanks
|
|
|
07-04-2009, 07:16 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Did you delete the printer driver or the print queue The latter is a common name for what gets set up when you "install a printer" to an OS. To actually delete the driver file would take a bit of digging.
Have you tried installing the printer using the Ubuntu utility or the web interface? ( http://localhost:631)
|
|
|
07-05-2009, 06:22 AM
|
#4
|
Member
Registered: Jul 2008
Posts: 154
Original Poster
Rep:
|
Printer Drivers
What next?
daniel@daniel-desktop:~$ sudo apt-get install hplip
Reading package lists... Done
Building dependency tree
Reading state information... Done
hplip is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.28-11-generic linux-headers-2.6.28-11
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
daniel@daniel-desktop:~$
|
|
|
07-05-2009, 07:00 AM
|
#5
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
What happens when you run hp-setup (in a terminal, as your user)? Post up any errors you see.
|
|
|
07-05-2009, 09:37 AM
|
#6
|
Member
Registered: Jul 2008
Posts: 154
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
What happens when you run hp-setup (in a terminal, as your user)? Post up any errors you see.
|
daniel@daniel-desktop:~$ hp-setup
HP Linux Imaging and Printing System (ver. 3.9.2)
Printer/Fax Setup Utility ver. 8.0
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
daniel@daniel-desktop:~$
|
|
|
07-05-2009, 10:17 AM
|
#7
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
It looks as though you need to run "hp-setup --qt3" as it natively looks for QT4. If you aren't using KDE4, you won't have it.
|
|
|
07-05-2009, 10:21 AM
|
#8
|
Member
Registered: Jul 2008
Posts: 154
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
It looks as though you need to run "hp-setup --qt3" as it natively looks for QT4. If you aren't using KDE4, you won't have it.
|
How do I do that?
|
|
|
07-05-2009, 10:21 AM
|
#9
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Open a terminal and type in
|
|
|
07-05-2009, 10:35 AM
|
#10
|
Member
Registered: Jul 2008
Posts: 154
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
Open a terminal and type in
|
USB, automatic: $ hp-setup -i --auto 001:002
Parallel, $ hp-setup -i -a -x /dev/parport0
automatic, no
testpage:
Parallel, choose $ hp-setup -i -b par
device:
Notes:
1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.
2. Using 'lsusb' to obtain USB IDs: (example)
$ lsusb
Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
$ hp-setup --auto 003:011
(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)
3. Parameters -a, -f, -p, or -t are not valid in GUI (-u) mode.
See Also:
hp-makeuri
hp-probe
error: option --qt3 not recognized
daniel@daniel-desktop:~$
|
|
|
07-05-2009, 12:06 PM
|
#11
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
How did you uninstall the printer?
|
|
|
07-05-2009, 02:16 PM
|
#12
|
Member
Registered: Jul 2008
Posts: 154
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
How did you uninstall the printer?
|
I deleted the box that said hp1020
Forgive me I don't know all of the terminology.
|
|
|
07-05-2009, 04:03 PM
|
#14
|
Member
Registered: Jul 2008
Posts: 154
Original Poster
Rep:
|
Detected Printer
Ubuntu detected my printer, but the printer does not function.
|
|
|
07-05-2009, 04:35 PM
|
#15
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Do you get any errors? Have you looked at http://localhost/:631 and what happens when you try to set up the printer using the Gnome system admin tools? Post up error messages/screen shots so we can see what's happening.
|
|
|
All times are GMT -5. The time now is 06:06 AM.
|
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
|
|