LinuxQuestions.org
Register a domain and help support LQ
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 06-09-2004, 02:26 PM   #1
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
Printing in Slack 9.1-HowTo


I don't know about the rest of us, but I haven't been able to get the stock CUPS install working with my Samsung ML-1210 LaserJet.

Here's how I got it working:

1.) Uninstall CUPS...that's right...dump it...use #pkgtool.
2.) Really uninstall CUPS: delete these folders as well- /usr/share/cups; /usr/lib/cups; /etc/cups. The object here is to make room for a clean CUPS installation.
3.) Get CUPS: Go to the CUPS site and download it. Latest of this writing is 1.1.21rc1.
4.) Get foomatic: you need 2 files, foomatic-filters and foomatic-db-engine.
5.) Get checkinstall: go to your fave Slackware mirror in the /extras folder and download checkinstall. Install it.
6.) Compile CUPS:
a.) #tar zxvf cups*
b.) #cd cups*
c.) #./configure
d.) #make
e.) #checkinstall (accept defaults)
7.) Compile foomatic-filters: same way you did with CUPS.
8.) Compile foomatic-db-engine: same way.
9.) get your printer driver. Go to the linuxprinting database here, plug-in the name and model of your printer, click "Show" then click "download PPD". Save this PPD file to /usr/share/cups/model.
10.) Start CUPS: #cupsd
11.) Go to the admin page http://localhost:631 and set-up your printer.
12.) Enjoy!
Note1: the CUPS install will create a RH-style init.d and runtime folders so that it auto-starts at boot.
Note2: I've successfully installed this on Slack 9.1 AND SlackCurrent.

Last edited by jymbo; 06-09-2004 at 02:31 PM.
 
Old 06-09-2004, 07:53 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Per the email from Pat in the root mail account. I just reinstalled CUPS to override the lprng links. Then use pkgtool to have cups start at boot (or use chmod to make executable). The proper way to start cups without rebooting is "/etc/rc.d/rc.cups start". Then jump to your #11. Worked for my HP USB printer.
 
Old 06-09-2004, 11:37 PM   #3
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 33
I just upgraded my whole system to current (since my cups server was already loaded at boot)
tinkered with a driver only for red hat (rpm based instller) for my pinter and my printer works perfectly, no need to reinstall or deinstall any software...
 
Old 06-11-2004, 05:09 AM   #4
cassiusclay
LQ Newbie
 
Registered: Jun 2004
Location: Atlanta, GA
Distribution: Slackware and OpenBSD
Posts: 22

Rep: Reputation: 15
im running slackware 9.1 - cups runs fine for me - only thing i had to do was change over lpr to a symbolic link to lpr-cups - thats with an hp laserjet1100 connected via printserver
 
Old 07-07-2004, 11:59 AM   #5
gdiv
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Rep: Reputation: 15
I have a few questions

1.) Uninstall CUPS...that's right...dump it...use #pkgtool.

Does this also need to be done for lprng?

2.) Really uninstall CUPS: delete these folders as well- /usr/share/cups; /usr/lib/cups; /etc/cups. The object here is to make room for a clean CUPS installation.

Does this also need to be done for lprng?

3.) Get CUPS: Go to the CUPS site and download it. Latest of this writing is 1.1.21rc1.

After download, which directory should it reside in?

4.) Get foomatic: you need 2 files, foomatic-filters and foomatic-db-engine.

Which directory does this belong in?

5.) Get checkinstall: go to your fave Slackware mirror in the /extras folder and download checkinstall. Install it.

Which directory does this belong in?

9.) get your printer driver. Go to the linuxprinting database here, plug-in the name and model of your printer, click "Show" then click "download PPD". Save this PPD file to /usr/share/cups/model.

My exact model isn't there: ML-1740. Should I just use the closest one?

Thanks. I've been agonizing for days now, sometimes I get a printer whirr with the fan turning on when I try to print (but no actual print), and sometimes, nothing.

I am using 10.0 and the 2.6.7 kernel.

Last edited by gdiv; 07-07-2004 at 12:01 PM.
 
Old 07-07-2004, 01:28 PM   #6
erraticassassin
Member
 
Registered: Feb 2004
Distribution: Slackware 13.1
Posts: 127

Rep: Reputation: 18
Hmm. My net access is currently limited to Windows at the moment. I have downloaded the appropriate PPD file and transferred it across to my laptop, which runs Slack 9.1. ROX-filer displays the other PPD files generated by CUPS as text files, but thinks the PPD I've downloaded is an executable. Buh?

Any ideas?
 
  


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
slack: usb memstick howto? nadroj Linux - Hardware 10 10-12-2005 10:09 PM
HOWTO : Slack + Mandrake + Windoze piratu Slackware 2 11-06-2003 04:38 PM
printing in slack e1000 Slackware 1 10-20-2003 05:16 PM
Looking for simple font howto, slack 9 itsjustme Slackware 12 05-24-2003 03:11 AM
slack printing ixion Linux - Newbie 8 01-03-2003 08:14 AM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration