source: pst/printing/cups.xml@ 00b6675

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 00b6675 was 00b6675, checked in by Randy McMurchy <randy@…>, 19 years ago

Added md5sums to CUPS, AFPL Ghostscript and ESP Ghostscript package instructions

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

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