LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2012, 11:38 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Best way to install HP printer-scanner


What will be the best way to install HP printer-scanner in slackware: through a driver downloaded from HP's website or kde-settings or cups (localhost:631)? Thanks in advance.
 
Old 03-15-2012, 11:41 AM   #2
zbreaker
Member
 
Registered: Dec 2008
Location: New York
Distribution: Slack -current, siduction
Posts: 253

Rep: Reputation: 29
CUPS (localhost:631) has always worked flawlessly for me. HP's are very Linux friendly.
 
Old 03-15-2012, 12:08 PM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I tried kde> 'manage printers'. It opened CUPS in browser and I could install the printer without downloading any driver from HP's site. Thanks.
 
1 members found this post helpful.
Old 03-15-2012, 12:14 PM   #4
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Or use hp-setup. Works great as well although in the end it just adds a printer in cups. But it is useful for multifunctional devices, since it also sets up scanner and fax or whatever.
 
Old 03-16-2012, 08:56 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Slackware includes the HPLIP package (it's installed by default if you did a full install). HPLIP provides support for pretty much every printer HP makes; however, you may want to download the current version from HP if you have a brand-new printer (see below).

You do the printer installation by executing hp-setup in a terminal window like this:
Code:
su - or sudo
hp-setup
See http://hplipopensource.com/hplip-web.../hp_setup.html for guidance.

If your printer includes a scanner, you will need to add your user(s) account(s) to the lp and scanner groups. If you
Code:
groups
You should see
Code:
users lp floppy dialout audio video cdrom plugdev power usbfs netdev scanner
If lp and scanner do not appear in that list,
Code:
su - or sudo
usermod -a -G lp,scanner your_user_id
Now, if you have a brand-new printer model, HPLIP may not include support for it. So, you need to do a little work before you start. First, go to http://prdownloads.sourceforge.net/h...-3.12.2.tar.gz to download the current version of HPLIP (3.12.2).

Then, grab your Slackware CD/DVD, inset it in a drive and do something like this
Code:
su - or sudo
cd /usr/local
cp -pr /media/SlackDVD/source/ap/hplip .
cd hplip
delete the file named hplip-3.11.3a.tar.xz
delete the file named hplip*.t?z
move the tarball you downloaded into this directory
hplip.SlackBuild
wait a while
upgradepkg /tmp/hplip*.t?z
mv /tmp/hplip*.t?z .
What that did was upgraded you existing HPLIP to the current version; chances are, if you have a brand-new-model it will be fully supported.

Note that you may want to make this printer the system default. You do that in CUPS by navigating to http://localhost:631, click Printers, click the name of the printer you just installed, click Administration and finally click Set as Server Default.

Hope this helps some.

Last edited by tronayne; 03-16-2012 at 09:00 AM. Reason: Fumble-finger
 
Old 03-16-2012, 09:58 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
CUPS is the most reliable way, IMO. In Slackware 13.37, I believe the printer is auto-detected and auto-added, at least from what I see. I didn't need to add it at all, but I did need to make it the default in order to print using lp and lpr.
 
Old 03-18-2012, 04:09 PM   #7
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Oddly enough, I had a problem with hplip in 13.37 and current with my all-in-one f380. No problem printing or scanning from the desktop, but I'm sharing the thing on samba with cups.

There are several tweaks that need to be made to get it usable over the network for both Linux and Windows machines, at least in my experience, with a fresh install of slackware. There were no ppd files for the printer, for example, and there is no SANE setup.

However, I went to the HP website and downloaded the latest tarball and reinstalled, and was then able to set everything up just fine. So, I suspect there's something not quite right with the default installation.
 
  


Reply


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
Easy install Brother MFC-665CW printer scanner etc. paynejp Linux - Hardware 1 11-07-2009 07:21 PM
How to install HP Deskjet F4135 printer/scanner stormyk88 Linux - Hardware 2 01-14-2009 04:39 PM
Scanner/Printer Combo Unit - Scanner Works - Printer Does Not rrrssssss Linux - Hardware 1 03-04-2007 10:49 PM
How to install hardware like printer and scanner OldStd Linux - Hardware 2 09-22-2006 10:21 AM
HP All in One Printer Scanner Copier 1210 Install seanmaggs Linux - Hardware 1 03-28-2004 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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