← Back to team overview

sslug-teknik team mailing list archive

Re: Cups og Slackware

 

Carl Andersen wrote:

Jeg har instaleret Slackware 9.1, og har fået sat mus,tastatur samt grafiken korekt op , og instaleret dropline gnome (rigtig flot). Nu mangler jeg at sætte Cups op. Hvordan gør man det i Slackware. Jeg har prøvet at google efter nogle Howto, men har ikke kunne finde nogen. Har nogen af jer et godt link specifikt til opsætning i Slackware.

Jeg fandt dette her http://www.linuxquestions.org/questions/showthread.php?=s&threadid=74064&highlight=cups+and+espgs Som skulle være Slackware specifikt


1.) Download the latest cups package from your favorite Slackware ftp mirror. You can find it in the Slack9/patches/packages folder.

2.) Install the cups package by doing:
# installpkg cups-version.tgz

3.) Reboot. You should see cups start with output "Cups scheduler started".

3.) Go to Linuxprinting.org <http://www.linuxprinting.org>. On the left side navigation bar, select The Database-> Printer Listings. Select your make/model printer, then click on the Show button. The next page will give you the option to generate a ppd file for your printer. Click on download PPD and save the file to /usr/share/cups/model. The file should be in a model.ppd format, if not, then rename it to my_printer.ppd.

4.) Restart cups by doing # /etc/rc.d/rc.cups restart.

5.) Go here <http://www.linuxprinting.org/download/foomatic/> and download the latest foomatic-filters.tar.gz (version 3.0 as of this writing). Then do the following:

# tar -xzf foomatic-filters-3.0.0.tar.gz
# ./configure
# make
# cp foomatic-rip /usr/lib/cups/filter/

6.) Open your favorite browser and point it to http://localhost:631

7.) Under Administrative Tasks, add your printer. Just follow the directions.

8.) That's all there is to it!

Jeg har gået frem efter opskriften på nær at jeg havde instaleret cups på forhånd. Jeg vælger tiføj ny printer og skriver
Name: OKIPAGE 10ex
Location:  /dev/lp0
Discripition: Default Printer
Men jeg får smidt i hovedet Error: The printer nasme may only contain up to 127 printable charters (det er der jo ikke så hvad er galt)
Ved opstart af maskinen finder den både port og printer.

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: Printer, OKI DATA CORP OKIPAGE 10ex
lp0: using parport0 (polling).

Hvordan kommer jeg vidre.

mvh/ Carl Andersen


References