Gentoo Archives: gentoo-dev

From: Collins Richey <erichey2@××××.com>
To: gentoo <gentoo-dev@g.o>
Subject: [gentoo-dev] Fw: cups installation and configuration
Date: Sun, 16 Sep 2001 20:19:26
Message-Id: 20010916203055.1f27ca30.erichey2@home.com
1 Oops, hit the send key before I was done; one more attachment.
2
3 Begin forwarded message:
4
5 Date: Sun, 16 Sep 2001 20:28:54 -0600
6 From: Collins Richey <erichey2@××××.com>
7 To: gentoo <gentoo-dev@g.o>
8 Subject: cups installation and configuration
9
10
11 Here's how to get cups up and functional on gentoo. Note that cups
12 has an lpd-daemon interface that allows you to route and query print
13 via the normal lpr, lpq, lpstat, etc. methods. For this to word,
14 (x)inetd is required to invoke the appropriate program cups-lpr, etc.
15 The cups ebuild really should have a dependancy for (x)inetd, but it
16 doesn't. Some programs (Netscape, kde stuff, etc.) don't have any way
17 to allow you to configure the printing service - lpr is invoked
18 automatically, so you need the daemon to make this work. The
19 gimp-print stuff provides additional printer definition files over and
20 above the precious few in base cups.
21
22 Install packages
23 --------------------
24 emerge net-print/cupsd/cups-1.1.9.ebuild
25 emerge net-print/gimp-print-cups/gimp-print-cups-4.1.1.ebuild
26 emerge sys-apps/xinetd/xinetd-2.3.3-r6.ebuild
27
28 If you are using remote printers, also pick a package from
29 net-fs/samba (I'm not using samba at present)
30
31 Configuration files
32 ------------------------
33 I'm attaching a copy of my files. There are other configuration files
34 for xinetd to support other services that I don't use. Let me know if
35 you need them. I ripped the xinetd configuration from my jblinux 2.2
36 distro.
37
38 /etc/xinetd.conf
39 /etc/xinetd.d (a directory)
40 /etc/xinetd.d/cups-lpd
41 /etc/cups (a directory) (I didn't need to change any of the cups
42 configuration files)
43
44 Init files and runlevel links
45 ---------------------------------
46 I cloned the /etc/init.d/xinetd script and created /etc/init.d/cupsd
47 (this is attached)
48 You need to create the following links to invoke the scripts
49 ln -s /etc/init.d/xinetd /etc/runlevels/default/xinetd
50 ln -s /etc/init.d/cupsd /etc/runlevels/default/cupsd
51
52 Reboot or restart net, and you are in business
53
54 Configuring a printer
55 ---------------------------
56 Once cupsd and xinetd are running, configure your printers from your
57 favorite guid browser by going to
58 http://localhost:631. If you are not root, you will be prompted for
59 id and password.
60
61 Enjoy,
62 ---
63 Collins Richey
64 Denver Area
65 gentoo_rc6 xfce+sylpheed
66
67
68
69 --
70 Collins Richey
71 Denver Area
72 gentoo_rc6 xfce+sylpheed

Attachments

File name MIME type
cupsd application/octet-stream