source: pst/printing/cups.xml@ a0f03b0

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 a0f03b0 was a0f03b0, checked in by Archaic <archaic@…>, 20 years ago

Inserting sect1info

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

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