LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-01-2002, 02:37 PM   #1
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Rep: Reputation: 30
to install usb printer?


Hi guys. Having got rid of mdk8.2, I'm now suffering with Slack 8.1.

My HP 656c usb printer (works in windows) was not detected during install. Is not detected when I try to install new usb printer.
I think all usb support is loaded on boot. (/dev/usb/lp0 exists). Do I need a separate driver? Sorry, still newbie after 8 months.
 
Old 12-01-2002, 02:59 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I believe there are at least two modules required. They are usb-core and printer. To see if they are loaded, use the command "lsmod" to list the modules. If not loaded, then use "modprobe printer" to load them. That should activate the usb. Now use the "dmesg" command to see if the printer was detected and assigned. Should be at the end of the listing.

Once that is done you will need a filter to print to the printer. CUPS offers a HP DeskJet 600 Series driver that might work well for you. However, CUPS is not part of the Slack install. It is built as a Slack package in the "extras" tree. You will need two packages, CUPS and the ghostscript package "espgs". The later provides the ghostscript for CUPS to use.

I think apsfilter is an alternative to CUPS. But if you were using Mandy then you should be familiar with CUPS.

Good luck.
 
Old 12-01-2002, 03:41 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Once the modules are loaded try to send a file to the printer. Ex. cat anytextfile > /dev/usb/lp0 and see if it prints. If it doesn't then the printer is not detected, or some modules aren't loaded. If it worked you can go ahed setting up APSfilter or CUPS.
HTH
-NSKL
 
Old 12-03-2002, 02:56 PM   #4
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
Modules are loaded and I've downloaded the cups tarball. There is no read me file, do I make install or what, there are now files scattered in /usr/share and /usr/var ?


Feeling really stupid...
 
Old 12-03-2002, 03:20 PM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
If you downloaded the Slack packages, then run "installpkg" from the directory where you downloaded the files. You should have two, cups and espgs.

/Edit
Sorry, but I was thinking of the program "pkgtool" and NOT "installpkg".
Pkgtool provides ncurses menu interface.


Last edited by Excalibur; 12-08-2002 at 08:28 PM.
 
Old 12-03-2002, 10:08 PM   #6
flgator
LQ Newbie
 
Registered: Nov 2002
Distribution: slack 8.1
Posts: 16

Rep: Reputation: 0
I downloaded both cups-1.1.15-i386-2.tgz and espgs-7.05.2_1-i386-1.tgz.

I did installpkg for both, but now cannot find the command to start cups. Anyone now what it is?

These don't work:
"/etc/rc.d/init.d/cups start"
"/etc/init.d/cups start"
 
Old 12-03-2002, 10:50 PM   #7
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Try:

/etc/rc.d/rc.cups start
 
Old 12-04-2002, 05:22 AM   #8
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
I'm going to try all that again, I may well have the wrong packages!!
 
Old 12-04-2002, 01:21 PM   #9
flgator
LQ Newbie
 
Registered: Nov 2002
Distribution: slack 8.1
Posts: 16

Rep: Reputation: 0
Excalibur,

Thanks after many hours/days/weeks/months of trying, I finally got my printer to work with Slack.

Here is a real newbie question. Where do I put "/etc/rc.d/rc.cups start" to always start when I start the computer?
 
Old 12-04-2002, 01:43 PM   #10
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I use the /etc/rc.d/rc.local file for all of my additions. it is the simplest place to keep track of things in a central file. Also, it is not very likely to be overwritten by installing a package or something.
 
Old 12-05-2002, 12:39 AM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
I use cups, foomatic and the hpijs driver for my Deskjet 810c, gives a better output than any other driver.
 
Old 12-05-2002, 03:13 PM   #12
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
I tried:
bash-2.05a# installpkg cups-1.1.16-i386-1.tgz
Cannot install cups-1.1.16-i386-1.tgz: package does not end in .tgz

What next?
 
Old 12-05-2002, 04:17 PM   #13
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Try just running installpkg without any arguments from the directory where you downloaded the package.

Also, I just checked the Slack ftp site and 1.1.16 is available from the current-tree but not for 8.1 extras or the 8.1 patches directory. Make sure the package you have is built for the Slack installation that you have. If you have the current-tree package and are running Slack 8.1, it probably will not work. There are a lot of differences in the current-tree (beta version) than the distributed 8.1 system.
 
Old 12-05-2002, 10:04 PM   #14
flgator
LQ Newbie
 
Registered: Nov 2002
Distribution: slack 8.1
Posts: 16

Rep: Reputation: 0
Agreed. Make sure you get these versions: cups-1.1.15-i386-2.tgz and espgs-7.05.2_1-i386-1.tgz.
 
Old 12-09-2002, 03:23 PM   #15
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
I've downloaded and decompressed the correct cups file. What command is neede to install it? There is no readme file. Files have been installed in /usr/bin, lib, share, doc, sbin and others...Where is the install or config script file?
 
  


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
how install usb printer (epson stylus color 480sxu) ? Xavius Slackware 10 10-15-2004 05:29 PM
install usb printer in debian hellpos Linux - Hardware 0 08-03-2004 08:40 AM
usb printer install in debian woody heathpitts Debian 4 12-12-2003 12:07 PM
how can i install my Epson C41UX - USB Printer in RH 8? kublador Linux - Hardware 2 03-02-2003 11:10 AM
I install my Epson 880(usb) printer in RH 7.2 but nothing happens oudent Linux - Software 4 12-19-2001 01:43 PM

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

All times are GMT -5. The time now is 01:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration