source: pst/printing/cups/cups-config.xml@ 3f16459

10.0 10.1 11.0 11.1 11.2 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 3f16459 was 3f16459, checked in by Igor Živković <igor@…>, 19 years ago

update to cups-1.1.19

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1077 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<sect2>
2<title><acronym>CUPS</acronym> Configuration</title>
3
4<para>Configuration of <acronym>CUPS</acronym> is dependent on the type
5of printer and can be complex. Generally, postscript printers are easier.
6For detailed instructions on configuration and use of <acronym>CUPS</acronym>,
7see <ulink url="http://www.cups.org/documentation.php"/>. The Software
8Administrators Manual and Software Users Manual are particularly useful.</para>
9
10<para>During the install, <acronym>CUPS</acronym> created the startup file
11<filename>/etc/rc.d/init.d/cups</filename>. The file works, but you may
12want to change it to a more conventional <acronym>LFS</acronym> startup file:</para>
13
14<screen><userinput><command>cat &gt; /etc/rc.d/init.d/cups &lt;&lt; "EOF"
15#!/bin/sh
16# Begin $rc_base/init.d/cups
17
18# Start or stop the CUPS server based upon the first argument to the script.
19
20source /etc/sysconfig/rc
21source $rc_functions
22
23case $1 in
24 start)
25 echo "Starting CUPS Printserver..."
26 loadproc /usr/sbin/cupsd
27 ;;
28 stop)
29 echo "Stopping CUPS Printserver..."
30 killproc cupsd
31 ;;
32
33 reload)
34 echo "Reloading CUPS Printserver..."
35 reloadproc /usr/sbin/cupsd
36 ;;
37
38 restart)
39 $0 stop
40 sleep 1
41 $0 start
42 ;;
43
44 status)
45 statusproc cupsd
46 ;;
47
48 *)
49 echo "Usage: $0 {start|stop|reload|restart|status}"
50 exit 1
51 ;;
52esac
53
54# End $rc_base/init.d/cups startup script.
55EOF</command></userinput></screen>
56
57<para>Create the symbolic links to this file in the relevant
58<filename class="directory">rc.d</filename> directory
59with the following commands:</para>
60
61<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
62ln -sf ../init.d/cups ../rc0.d/K00cups &amp;&amp;
63ln -sf ../init.d/cups ../rc2.d/S99cups &amp;&amp;
64ln -sf ../init.d/cups ../rc3.d/S99cups &amp;&amp;
65ln -sf ../init.d/cups ../rc5.d/S99cups</command></userinput></screen>
66
67</sect2>
Note: See TracBrowser for help on using the repository browser.