LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Printing in Slack 9.1-HowTo (http://www.linuxquestions.org/questions/slackware-14/printing-in-slack-9-1-howto-191612/)

jymbo 06-09-2004 02:26 PM

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.:cool:

ringwraith 06-09-2004 07:53 PM

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.

ProtoformX 06-09-2004 11:37 PM

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...

cassiusclay 06-11-2004 05:09 AM

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

gdiv 07-07-2004 11:59 AM

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.

erraticassassin 07-07-2004 01:28 PM

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?


All times are GMT -5. The time now is 12:43 PM.