source: pst/printing/cups.xml@ a9fd38e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a9fd38e was e12e05b, checked in by Randy McMurchy <randy@…>, 20 years ago

Added sed command to enable finding PAM headers and added optional dependencies to CUPS

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

  • Property mode set to 100644
File size: 8.6 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY cups-download-http "http://multivac.cwru.edu/mirror/packages/cups-&cups-version;-source.tar.bz2">
7 <!ENTITY cups-download-ftp "ftp://ftp.easysw.com/pub/cups/&cups-version;/cups-&cups-version;-source.tar.bz2">
8 <!ENTITY cups-size "3.7 MB">
9 <!ENTITY cups-buildsize "24 MB">
10 <!ENTITY cups-time "0.67 SBU">
11]>
12
13<sect1 id="cups" xreflabel="CUPS-&cups-version;">
14<?dbhtml filename="cups.html"?>
15<title>CUPS-&cups-version;</title>
16
17<sect2>
18<title>Introduction to
19<application><acronym>CUPS</acronym></application></title>
20
21<para>The Common Unix Printing System (<acronym>CUPS</acronym>) is a print
22spooler and associated utilities. It is based on the "Internet Printing
23Protocol" and provides printing services to most PostScript and raster
24printers.</para>
25
26<sect3><title>Package information</title>
27<itemizedlist spacing='compact'>
28<listitem><para>Download (HTTP): <ulink url="&cups-download-http;"/></para></listitem>
29<listitem><para>Download (FTP): <ulink url="&cups-download-ftp;"/></para></listitem>
30<listitem><para>Download size: &cups-size;</para></listitem>
31<listitem><para>Estimated Disk space required: &cups-buildsize;</para></listitem>
32<listitem><para>Estimated build time: &cups-time;</para></listitem></itemizedlist>
33</sect3>
34
35<sect3><title><application><acronym>CUPS</acronym></application> dependencies
36</title>
37<sect4><title>Optional</title>
38<para><xref linkend="libjpeg"/>, <xref linkend="libpng"/>,
39<xref linkend="libtiff"/>, <xref linkend="openssl"/> or
40<ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
41needs <ulink
42url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>,
43<ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink> and
44<ulink url="ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/">opencdk</ulink>,
45in that order), <xref linkend="Linux_PAM"/>, <xref linkend="php"/>,
46<xref linkend="Python"/>, <xref linkend="j2sdk"/>,
47<ulink url="http://www.openslp.org/">OpenSLP</ulink>, <ulink
48url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink> and
49<ulink url="http://valgrind.kde.org/">Valgrind</ulink> (optionally used if
50running the test suites)</para></sect4>
51</sect3>
52
53</sect2>
54
55<sect2>
56<title>Installation of
57<application><acronym>CUPS</acronym></application></title>
58
59<para>If you utilize <application>Linux-<acronym>PAM</acronym></application>,
60you need to modify some files so
61<application><acronym>CUPS</acronym></application> can find needed headers.
62Make the appropriate modifications using the following command:</para>
63
64<screen><userinput><command>sed -i -e "s@pam/pam@security/pam@g" \
65{config-scripts/cups-pam.m4,scheduler/auth.c,configure}</command></userinput></screen>
66
67<para>Install <application><acronym>CUPS</acronym></application> by
68running the following commands:</para>
69
70<screen><userinput><command>./configure &amp;&amp;
71make &amp;&amp;
72make install</command></userinput></screen>
73
74</sect2>
75
76<sect2>
77<title>Command explanations</title>
78
79<para>The basic default behavior of the installation is appropriate for
80<acronym>LFS</acronym> systems. <application><acronym>CUPS</acronym>
81</application> files are placed in
82<filename class="directory">/usr/bin</filename>,
83<filename class="directory">/usr/sbin</filename>,
84<filename class="directory">/var</filename> and
85<filename class="directory">/etc/cups</filename>.</para>
86
87</sect2>
88
89<sect2>
90<title>Configuring <application><acronym>CUPS</acronym></application></title>
91
92<para>Configuration of <application><acronym>CUPS</acronym></application> is
93dependent on the type of printer and can be complex. Generally, PostScript
94printers are easier. For detailed instructions on configuration and use of
95<application><acronym>CUPS</acronym></application>, see
96<ulink url="http://www.cups.org/documentation.php"/>. The Software
97Administrators Manual and Software Users Manual are particularly useful.</para>
98
99<para>For non-PostScript printers to print with CUPS, you need to install
100<xref linkend="espgs"/> to convert PostScript to raster images
101and a driver (e.g., from <xref linkend="gimp-print"/>) to convert
102the resulting raster images to a form that the printer understands.
103<ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
104drivers use Ghostscript to convert PostScript to a printable form directly, but
105this is considered to be a hack by
106<application><acronym>CUPS</acronym></application> developers.</para>
107
108<para>During the install, <application><acronym>CUPS</acronym></application>
109created the startup file <filename>/etc/rc.d/init.d/cups</filename>. The file
110works, but you may want to change it to a more conventional
111<acronym>LFS</acronym> startup file by installing the script included in the
112<xref linkend="intro-important-bootscripts"/> package:</para>
113
114<screen><userinput><command>make install-cups</command></userinput></screen>
115
116</sect2>
117
118<sect2>
119<title>Contents</title>
120
121<para><application><acronym>CUPS</acronym></application> provides
122<command>accept</command>,
123<command>cupsaddsmb</command>,
124<command>cupsd</command>,
125<command>cupstestppd</command>,
126<command>lpadmin</command>,
127<command>lpc</command>,
128<command>lpinfo</command>,
129<command>lpmove</command>,
130<command>reject</command>,
131<command>cancel</command>,
132<command>cups-config</command>,
133<command>disable</command>,
134<command>enable</command>,
135<command>lp</command>,
136<command>lpoptions</command>,
137<command>lppasswd</command>,
138<command>lpq</command>,
139<command>lpr</command>,
140<command>lprm</command>,
141<command>lpstat</command>,
142<filename class="libraryfile">libcups</filename>,
143<filename class="libraryfile">libcupsimage</filename> and various
144scripts and filters.</para>
145
146<sect3><title>lpc</title>
147<para><command>lpc</command> provides limited control over printer
148and class queues provided by <application><acronym>CUPS</acronym>
149</application>.
150</para></sect3>
151
152<sect3><title>cupsd</title>
153<para><command>cupsd</command> is the scheduler for the Common Unix Printing
154System.
155</para></sect3>
156
157<sect3><title>accept</title>
158<para><command>accept</command> instructs the printing system to accept print
159jobs to the specified destinations.
160</para></sect3>
161
162<sect3><title>reject</title>
163<para><command>reject</command> instructs the printing system to
164reject print jobs to the specified destinations.
165</para></sect3>
166
167<sect3><title>cupsaddsmb</title>
168<para><command>cupsaddsmb</command> exports printers to the SAMBA software for
169use with Windows clients.
170</para></sect3>
171
172<sect3><title>lpadmin</title>
173<para><command>lpadmin</command> configures printer and class queues provided
174by <acronym>CUPS</acronym>.
175</para></sect3>
176
177<sect3><title>lpinfo</title>
178<para><command>lpinfo</command> lists the available devices or drivers known to
179the <acronym>CUPS</acronym> server.
180</para></sect3>
181
182<sect3><title>lpmove</title>
183<para><command>lpmove</command> moves the specified job to a new destination.
184</para></sect3>
185
186<sect3><title>cupstestppd</title>
187<para><command>cupstestppd</command> tests the conformance of
188<filename>PPD</filename> files.
189</para></sect3>
190
191<sect3><title>lpq</title>
192<para><command>lpq</command> shows the current print queue status on the named
193printer.
194</para></sect3>
195
196<sect3><title>lpr</title>
197<para><command>lpr</command> submits files for printing.
198</para></sect3>
199
200<sect3><title>lprm</title>
201<para><command>lprm</command> cancels print jobs that have been queued for
202printing.
203</para></sect3>
204
205<sect3><title>cancel</title>
206<para><command>cancel</command> cancels existing print jobs.
207</para></sect3>
208
209<sect3><title>disable</title>
210<para><command>disable</command> stops the named printers or classes.
211</para></sect3>
212
213<sect3><title>enable</title>
214<para><command>enable</command> starts the named printers or classes.
215</para></sect3>
216
217<sect3><title>lp</title>
218<para><command>lp</command> submits files for printing or alters a pending job.
219</para></sect3>
220
221<sect3><title>lpoptions</title>
222<para><command>lpoptions</command> displays or sets printer options and
223defaults.
224</para></sect3>
225
226<sect3><title>lpstat</title>
227<para><command>lpstat</command> displays status information about the
228current classes, jobs, and printers.</para></sect3>
229
230<sect3><title>lppasswd</title>
231<para><command>lppasswd</command> adds, changes or deletes passwords in
232the <application><acronym>CUPS</acronym></application> digest password file
233<filename>passwd.md5</filename>.
234</para></sect3>
235
236<sect3><title>cups-config</title>
237<para><command>cups-config</command> is the <application><acronym>CUPS
238</acronym></application> program configuration utility.
239</para></sect3>
240
241</sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.