1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY cups-download-http "https://github.com/OpenPrinting/cups/releases/download/v&cups-version;/cups-&cups-version;-source.tar.gz">
|
---|
8 | <!ENTITY cups-download-ftp " ">
|
---|
9 | <!ENTITY cups-md5sum "b8ca6027eaeeed6171178cc526879ff5">
|
---|
10 | <!ENTITY cups-size "7.8 MB">
|
---|
11 | <!ENTITY cups-buildsize "76 MB (Add 60 MB for tests)">
|
---|
12 | <!ENTITY cups-time "0.5 SBU (Add 1.6 SBU for tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="cups" xreflabel="Cups-&cups-version;">
|
---|
16 | <?dbhtml filename="cups.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Cups-&cups-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="cups">
|
---|
22 | <primary sortas="a-Cups">Cups</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Cups</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The Common Unix Printing System (CUPS) is a print spooler and
|
---|
30 | associated utilities. It is based on the "Internet Printing
|
---|
31 | Protocol" and provides printing services to most PostScript
|
---|
32 | and raster printers.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | &lfs120_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&cups-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&cups-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &cups-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &cups-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &cups-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &cups-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">Cups Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
74 | <para role="required">
|
---|
75 | <xref linkend="gnutls"/>
|
---|
76 | </para>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
79 | <para role="recommended">
|
---|
80 | <xref linkend="colord"/>,
|
---|
81 | <xref linkend="dbus"/>,
|
---|
82 | <xref linkend="libusb"/>,
|
---|
83 | <xref linkend="linux-pam"/>, and
|
---|
84 | <xref linkend="xdg-utils"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="avahi"/>,
|
---|
90 | <xref linkend="libpaper"/>,
|
---|
91 | <xref linkend="mitkrb"/>,
|
---|
92 | <!--<xref linkend="openjdk"/>, Not found in 2.4.0 -->
|
---|
93 | <xref linkend="php"/>, and
|
---|
94 | <xref linkend="python2"/>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <bridgehead renderas="sect4">Required (Postinstall)</bridgehead>
|
---|
98 | <para role="required">
|
---|
99 | <xref role="runtime" linkend="cups-filters"/>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect4">Optional (Postinstall)</bridgehead>
|
---|
103 | <para role="optional">
|
---|
104 | <xref role="runtime" linkend="gutenprint"/> and
|
---|
105 | <ulink role="runtime" url="https://developers.hp.com/hp-linux-imaging-and-printing">hplip</ulink> (HP printers)
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <para condition="html" role="usernotes">Editor Notes:
|
---|
109 | <ulink url="&blfs-wiki;/cups"/>
|
---|
110 | </para>
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="kernel" id="cups-kernel">
|
---|
114 | <title>Kernel Configuration</title>
|
---|
115 |
|
---|
116 | <note>
|
---|
117 | <para>
|
---|
118 | There used to be a conflict between the <application>Cups</application>
|
---|
119 | <application>libusb</application> backend and the usblp kernel driver.
|
---|
120 | This is no longer the case and cups will work with both of these
|
---|
121 | enabled.
|
---|
122 | </para>
|
---|
123 | </note>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | If you want to use the kernel usblp driver (for example, if you wish to
|
---|
127 | use <application>escputil</application> from <xref
|
---|
128 | linkend="gutenprint"/>) enable the following options in your kernel
|
---|
129 | configuration and recompile the kernel:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
133 | href="usb-printer-kernel.xml"/>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | If you have a parallel printer, enable the following options in your
|
---|
137 | kernel configuration and recompile the kernel:
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
141 | href="parallel-printer-kernel.xml"/>
|
---|
142 |
|
---|
143 | <indexterm zone="cups cups-kernel">
|
---|
144 | <primary sortas="d-cups">cups</primary>
|
---|
145 | </indexterm>
|
---|
146 |
|
---|
147 | </sect2>
|
---|
148 |
|
---|
149 | <sect2 role="installation">
|
---|
150 | <title>Installation of Cups</title>
|
---|
151 |
|
---|
152 | <para>
|
---|
153 | You will need to add an <systemitem class="username">lp</systemitem>
|
---|
154 | user, as <application>Cups</application> will create some files owned
|
---|
155 | by this user. (The <systemitem class="username">lp</systemitem> user
|
---|
156 | is the default used by <application>Cups</application>, but may be
|
---|
157 | changed to a different user by passing a parameter to the
|
---|
158 | <command>configure</command> script.) Use the following command as
|
---|
159 | the <systemitem class="username">root</systemitem> user:
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | <screen role="root"><userinput>useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp</userinput></screen>
|
---|
163 |
|
---|
164 | <para>
|
---|
165 | You will also need a dedicated group that will contain users allowed to
|
---|
166 | do <application>Cups</application> administrative tasks. Add the group
|
---|
167 | by running the following command as the
|
---|
168 | <systemitem class="username">root</systemitem> user:
|
---|
169 | </para>
|
---|
170 |
|
---|
171 | <screen role="root"><userinput>groupadd -g 19 lpadmin</userinput></screen>
|
---|
172 |
|
---|
173 | <para>
|
---|
174 | If you want to add a user to the <application>Cups</application>
|
---|
175 | administrative group, run the following command as the
|
---|
176 | <systemitem class="username">root</systemitem> user:
|
---|
177 | </para>
|
---|
178 |
|
---|
179 | <screen role="root"><userinput>usermod -a -G lpadmin <replaceable><username></replaceable></userinput></screen>
|
---|
180 |
|
---|
181 | <para>
|
---|
182 | If you didn't install <xref linkend="xdg-utils"/>, use the following
|
---|
183 | <command>sed</command> to change the default browser that will be used
|
---|
184 | to access the <application>Cups</application> web interface:
|
---|
185 | </para>
|
---|
186 |
|
---|
187 | <screen><userinput>sed -i 's#@CUPS_HTMLVIEW@#firefox#' desktop/cups.desktop.in</userinput></screen>
|
---|
188 |
|
---|
189 | <para>
|
---|
190 | Replace <command>firefox</command> with the web browser of your
|
---|
191 | choice.
|
---|
192 | </para>
|
---|
193 |
|
---|
194 | <!-- Fixed in 2.4.1
|
---|
195 | <para revision="systemd">
|
---|
196 | Fix a bug that causes the <filename>cups.service</filename> systemd unit
|
---|
197 | to be placed into a non-existent target:
|
---|
198 | </para>
|
---|
199 |
|
---|
200 | <screen revision="systemd"><userinput remap="pre">sed -e "s/printers.target/printer.target/" \
|
---|
201 | -i configure \
|
---|
202 | config-scripts/cups-defaults.m4</userinput></screen>
|
---|
203 | -->
|
---|
204 |
|
---|
205 | <para>
|
---|
206 | Build <application>Cups</application> by running the following commands:
|
---|
207 | </para>
|
---|
208 |
|
---|
209 | <screen revision="sysv"><userinput>./configure --libdir=/usr/lib \
|
---|
210 | --disable-systemd \
|
---|
211 | --with-rcdir=/tmp/cupsinit \
|
---|
212 | --with-rundir=/run/cups \
|
---|
213 | --with-system-groups=lpadmin \
|
---|
214 | --with-docdir=/usr/share/cups/doc-&cups-version; &&
|
---|
215 | make</userinput></screen>
|
---|
216 |
|
---|
217 | <screen revision="systemd"><userinput>./configure --libdir=/usr/lib \
|
---|
218 | --with-rundir=/run/cups \
|
---|
219 | --with-system-groups=lpadmin \
|
---|
220 | --with-docdir=/usr/share/cups/doc-&cups-version; &&
|
---|
221 | make</userinput></screen>
|
---|
222 |
|
---|
223 | <para>
|
---|
224 | To test the results, issue: <command>LC_ALL=C make -k check</command>. An already
|
---|
225 | active graphical session with bus address is necessary to run the tests.
|
---|
226 | Make sure that there is not other instance of <application>Cups</application>
|
---|
227 | running, otherwise at least 4 tests will fail with "address in use".
|
---|
228 | </para>
|
---|
229 |
|
---|
230 | <para>
|
---|
231 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
232 | </para>
|
---|
233 |
|
---|
234 | <!-- dev note: make BUILDROOT=<DESTDIR> install -->
|
---|
235 |
|
---|
236 | <screen role="root"><userinput>make install &&
|
---|
237 | ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen>
|
---|
238 |
|
---|
239 | <para revision="sysv">
|
---|
240 | Remove the shipped bootscript, which is incompatible with LFS:
|
---|
241 | </para>
|
---|
242 |
|
---|
243 | <screen role="root" revision="sysv"><userinput>rm -rf /tmp/cupsinit &&</userinput></screen>
|
---|
244 |
|
---|
245 | <para>
|
---|
246 | Create a basic <application>Cups</application> client configuration file
|
---|
247 | by running the following command as the <systemitem
|
---|
248 | class="username">root</systemitem> user:
|
---|
249 | </para>
|
---|
250 |
|
---|
251 | <screen role="root"><userinput>echo "ServerName /run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
|
---|
252 |
|
---|
253 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
254 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
255 |
|
---|
256 | </sect2>
|
---|
257 |
|
---|
258 | <sect2 role="commands">
|
---|
259 | <title>Command Explanations</title>
|
---|
260 |
|
---|
261 | <para revision="sysv">
|
---|
262 | <parameter>--disable-systemd</parameter>: Systemd is not supported by
|
---|
263 | this version of BLFS.
|
---|
264 | </para>
|
---|
265 |
|
---|
266 | <para revision="sysv">
|
---|
267 | <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells the
|
---|
268 | build process to install the shipped bootscript into <filename
|
---|
269 | class="directory">/tmp</filename> instead of <filename
|
---|
270 | class="directory">/etc/rc.d</filename>.
|
---|
271 | </para>
|
---|
272 |
|
---|
273 | <para>
|
---|
274 | <parameter>--with-rundir=/run/cups</parameter>: This switch prevents
|
---|
275 | the package from referring to the deprecated
|
---|
276 | <filename class='directory'>/var/run</filename> directory.
|
---|
277 | </para>
|
---|
278 |
|
---|
279 | <para>
|
---|
280 | <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
|
---|
281 | that only <systemitem class="groupname">lpadmin</systemitem> will be used
|
---|
282 | as the <application>Cups</application> administrative group.
|
---|
283 | </para>
|
---|
284 |
|
---|
285 | <para>
|
---|
286 | <option>--disable-libusb</option>: Use this switch if you have installed
|
---|
287 | <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
|
---|
288 | </para>
|
---|
289 |
|
---|
290 | <para>
|
---|
291 | <option>--enable-libpaper</option>: Use this switch if you have installed
|
---|
292 | <application>libpaper</application> and wish to use it with
|
---|
293 | <application>Cups</application>.
|
---|
294 | </para>
|
---|
295 |
|
---|
296 | </sect2>
|
---|
297 |
|
---|
298 | <sect2 role="configuration">
|
---|
299 | <title>Configuring Cups</title>
|
---|
300 |
|
---|
301 | <sect3 id="cups-config">
|
---|
302 | <title>Config Files</title>
|
---|
303 |
|
---|
304 | <para>
|
---|
305 | <filename>/etc/cups/*</filename>
|
---|
306 | </para>
|
---|
307 |
|
---|
308 | <indexterm zone="cups cups-config">
|
---|
309 | <primary sortas="e-etc-cups">/etc/cups/*</primary>
|
---|
310 | </indexterm>
|
---|
311 |
|
---|
312 | </sect3>
|
---|
313 |
|
---|
314 | <sect3>
|
---|
315 | <title>Configuration Information</title>
|
---|
316 |
|
---|
317 | <para>
|
---|
318 | Normally, printers are set up via a web browser. The
|
---|
319 | <application>Cups</application> server will normally connect via
|
---|
320 | the url http://localhost:631. From there printers, print
|
---|
321 | jobs, and the server configuration can be set up and managed.
|
---|
322 | Remote system administration can also be set up. Configuration
|
---|
323 | can also be done from the command line via the
|
---|
324 | <command>lpadmin</command>, <command>lpoptions</command>,
|
---|
325 | and <command>lpstat</command> commands.
|
---|
326 | </para>
|
---|
327 |
|
---|
328 | <para>
|
---|
329 | Configuration of <application>Cups</application> is dependent on
|
---|
330 | the type of printer and can be complex. Generally, PostScript printers
|
---|
331 | are easier. For detailed instructions on configuration and use of
|
---|
332 | <application>Cups</application>, see <ulink
|
---|
333 | url="https://www.cups.org/documentation.html"/>.
|
---|
334 | </para>
|
---|
335 |
|
---|
336 | <para>
|
---|
337 | For non-PostScript printers to print with
|
---|
338 | <application>Cups</application>, you need to install <xref
|
---|
339 | linkend="gs"/> to convert PostScript to raster images and a driver
|
---|
340 | (e.g. from <xref linkend="gutenprint"/>) to convert the resulting
|
---|
341 | raster images to a form that the printer understands. <ulink
|
---|
342 | url="https://wiki.linuxfoundation.org/openprinting/database/foomatic">Foomatic</ulink>
|
---|
343 | drivers use <xref linkend="gs"/> to convert PostScript to a printable
|
---|
344 | form directly, but this is considered suboptimal by
|
---|
345 | <application>Cups</application> developers.
|
---|
346 | </para>
|
---|
347 |
|
---|
348 | </sect3>
|
---|
349 |
|
---|
350 | <sect3>
|
---|
351 | <title>Linux PAM Configuration</title>
|
---|
352 |
|
---|
353 | <para>
|
---|
354 | If <application>CUPS</application> has been built with
|
---|
355 | <application>Linux PAM</application> support, you need to create a
|
---|
356 | <application>PAM</application> configuration file to get it working
|
---|
357 | correctly with BLFS.
|
---|
358 | </para>
|
---|
359 |
|
---|
360 | <para>
|
---|
361 | Issue the following command as the <systemitem
|
---|
362 | class="username">root</systemitem> user to create the configuration
|
---|
363 | file for <application>Linux PAM</application>:
|
---|
364 | </para>
|
---|
365 |
|
---|
366 | <screen role="root"><userinput>cat > /etc/pam.d/cups << "EOF"
|
---|
367 | <literal># Begin /etc/pam.d/cups
|
---|
368 |
|
---|
369 | auth include system-auth
|
---|
370 | account include system-account
|
---|
371 | session include system-session
|
---|
372 |
|
---|
373 | # End /etc/pam.d/cups</literal>
|
---|
374 | EOF</userinput></screen>
|
---|
375 |
|
---|
376 | </sect3>
|
---|
377 |
|
---|
378 | <sect3 id="cups-init">
|
---|
379 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
380 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
381 |
|
---|
382 | <para revision="sysv">
|
---|
383 | If you want the <application>Cups</application> print service to start
|
---|
384 | automatically when the system is booted, install the init script
|
---|
385 | included in the <xref linkend="bootscripts"/> package:
|
---|
386 | </para>
|
---|
387 |
|
---|
388 | <para revision="systemd">
|
---|
389 | To start the <command>cupsd</command> daemon when something tries to
|
---|
390 | access it, enable the previously installed systemd units by running
|
---|
391 | the following command as the
|
---|
392 | <systemitem class="username">root</systemitem> user:
|
---|
393 | </para>
|
---|
394 |
|
---|
395 | <indexterm zone="cups cups-init">
|
---|
396 | <primary sortas="f-cups">cups</primary>
|
---|
397 | </indexterm>
|
---|
398 |
|
---|
399 | <screen role="root" revision="sysv"><userinput>make install-cups</userinput></screen>
|
---|
400 |
|
---|
401 | <screen role="root" revision="systemd"><userinput>systemctl enable cups</userinput></screen>
|
---|
402 |
|
---|
403 | </sect3>
|
---|
404 |
|
---|
405 | </sect2>
|
---|
406 |
|
---|
407 | <sect2 role="content">
|
---|
408 | <title>Contents</title>
|
---|
409 |
|
---|
410 | <segmentedlist>
|
---|
411 | <segtitle>Installed Programs</segtitle>
|
---|
412 | <segtitle>Installed Libraries</segtitle>
|
---|
413 | <segtitle>Installed Directories</segtitle>
|
---|
414 |
|
---|
415 | <seglistitem>
|
---|
416 | <seg>
|
---|
417 | <!--accept,--> cancel, cupsaccept, <!--cupsaddsmb,--> cups-config,
|
---|
418 | cupsctl, cupsd, cupsdisable, cupsenable, cupsfilter, cupsreject,
|
---|
419 | <!--cupstestdsc,--> cupstestppd, ippeveprinter, ippfind, ipptool, lp,
|
---|
420 | lpadmin, lpc, lpinfo, lpmove, lpoptions, lpq, lpr, lprm, lpstat, ppdc,
|
---|
421 | ppdhtml, ppdi, ppdmerge, and ppdpo <!--and reject-->
|
---|
422 | </seg>
|
---|
423 | <seg>
|
---|
424 | <!--libcupscgi.so,--> libcupsimage.so <!--libcupsmime.so,-->
|
---|
425 | <!--libcupsppdc.so,--> and libcups.so
|
---|
426 | </seg>
|
---|
427 | <seg>
|
---|
428 | /etc/cups,
|
---|
429 | /usr/{include,lib,share}/cups,
|
---|
430 | /usr/share/doc/cups-&cups-version;, and
|
---|
431 | /var/{cache,log,run,spool}/cups
|
---|
432 | </seg>
|
---|
433 | </seglistitem>
|
---|
434 | </segmentedlist>
|
---|
435 |
|
---|
436 | <variablelist>
|
---|
437 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
438 | <?dbfo list-presentation="list"?>
|
---|
439 | <?dbhtml list-presentation="table"?>
|
---|
440 |
|
---|
441 | <!--
|
---|
442 | <varlistentry id="accept">
|
---|
443 | <term><command>accept</command></term>
|
---|
444 | <listitem>
|
---|
445 | <para>
|
---|
446 | instructs the printing system to accept print jobs to the
|
---|
447 | specified destinations.
|
---|
448 | </para>
|
---|
449 | <indexterm zone="cups accept">
|
---|
450 | <primary sortas="b-accept">accept</primary>
|
---|
451 | </indexterm>
|
---|
452 | </listitem>
|
---|
453 | </varlistentry>
|
---|
454 | -->
|
---|
455 |
|
---|
456 | <varlistentry id="cancel-cups">
|
---|
457 | <term><command>cancel</command></term>
|
---|
458 | <listitem>
|
---|
459 | <para>
|
---|
460 | cancels existing print jobs from the print queues
|
---|
461 | </para>
|
---|
462 | <indexterm zone="cups cancel-cups">
|
---|
463 | <primary sortas="b-cancel">cancel</primary>
|
---|
464 | </indexterm>
|
---|
465 | </listitem>
|
---|
466 | </varlistentry>
|
---|
467 |
|
---|
468 | <varlistentry id="cupsaccept">
|
---|
469 | <term><command>cupsaccept</command></term>
|
---|
470 | <listitem>
|
---|
471 | <para>
|
---|
472 | accept jobs sent to a destination
|
---|
473 | </para>
|
---|
474 | <indexterm zone="cups cupsaccept">
|
---|
475 | <primary sortas="b-cupsaccept">cupsaccept</primary>
|
---|
476 | </indexterm>
|
---|
477 | </listitem>
|
---|
478 | </varlistentry>
|
---|
479 |
|
---|
480 | <!--
|
---|
481 | <varlistentry id="cupsaddsmb">
|
---|
482 | <term><command>cupsaddsmb</command></term>
|
---|
483 | <listitem>
|
---|
484 | <para>
|
---|
485 | exports printers to the <application>Samba</application>
|
---|
486 | software for use with Windows clients.
|
---|
487 | </para>
|
---|
488 | <indexterm zone="cups cupsaddsmb">
|
---|
489 | <primary sortas="b-cupsaddsmb">cupsaddsmb</primary>
|
---|
490 | </indexterm>
|
---|
491 | </listitem>
|
---|
492 | </varlistentry>
|
---|
493 | -->
|
---|
494 |
|
---|
495 | <varlistentry id="cups-config-prog">
|
---|
496 | <term><command>cups-config</command></term>
|
---|
497 | <listitem>
|
---|
498 | <para>
|
---|
499 | is a <application>Cups</application>
|
---|
500 | program configuration utility
|
---|
501 | </para>
|
---|
502 | <indexterm zone="cups cups-config-prog">
|
---|
503 | <primary sortas="b-cups-config">cups-config</primary>
|
---|
504 | </indexterm>
|
---|
505 | </listitem>
|
---|
506 | </varlistentry>
|
---|
507 |
|
---|
508 | <varlistentry id="cupsctl">
|
---|
509 | <term><command>cupsctl</command></term>
|
---|
510 | <listitem>
|
---|
511 | <para>
|
---|
512 | updates or queries the cupsd.conf file for a server
|
---|
513 | </para>
|
---|
514 | <indexterm zone="cups cupsctl">
|
---|
515 | <primary sortas="b-cupsctl">cupsctl</primary>
|
---|
516 | </indexterm>
|
---|
517 | </listitem>
|
---|
518 | </varlistentry>
|
---|
519 |
|
---|
520 | <varlistentry id="cupsd">
|
---|
521 | <term><command>cupsd</command></term>
|
---|
522 | <listitem>
|
---|
523 | <para>
|
---|
524 | is the scheduler for the Common Unix Printing System
|
---|
525 | </para>
|
---|
526 | <indexterm zone="cups cupsd">
|
---|
527 | <primary sortas="b-cupsd">cupsd</primary>
|
---|
528 | </indexterm>
|
---|
529 | </listitem>
|
---|
530 | </varlistentry>
|
---|
531 |
|
---|
532 | <varlistentry id="cupsdisable">
|
---|
533 | <term><command>cupsdisable</command></term>
|
---|
534 | <listitem>
|
---|
535 | <para>
|
---|
536 | stop printers and classes
|
---|
537 | </para>
|
---|
538 | <indexterm zone="cups cupsdisable">
|
---|
539 | <primary sortas="b-cupsdisable">cupsdisable</primary>
|
---|
540 | </indexterm>
|
---|
541 | </listitem>
|
---|
542 | </varlistentry>
|
---|
543 |
|
---|
544 | <varlistentry id="cupsenable">
|
---|
545 | <term><command>cupsenable</command></term>
|
---|
546 | <listitem>
|
---|
547 | <para>
|
---|
548 | start printers and classes
|
---|
549 | </para>
|
---|
550 | <indexterm zone="cups cupsenable">
|
---|
551 | <primary sortas="b-cupsenable">cupsenable</primary>
|
---|
552 | </indexterm>
|
---|
553 | </listitem>
|
---|
554 | </varlistentry>
|
---|
555 |
|
---|
556 | <varlistentry id="cupsfilter">
|
---|
557 | <term><command>cupsfilter</command></term>
|
---|
558 | <listitem>
|
---|
559 | <para>
|
---|
560 | is a front-end to the <application>Cups</application>
|
---|
561 | filter subsystem which allows you to convert a file
|
---|
562 | to a specific format
|
---|
563 | </para>
|
---|
564 | <indexterm zone="cups cupsfilter">
|
---|
565 | <primary sortas="b-cupsfilter">cupsfilter</primary>
|
---|
566 | </indexterm>
|
---|
567 | </listitem>
|
---|
568 | </varlistentry>
|
---|
569 |
|
---|
570 | <varlistentry id="cupsreject">
|
---|
571 | <term><command>cupsreject</command></term>
|
---|
572 | <listitem>
|
---|
573 | <para>
|
---|
574 | reject jobs sent to a destination
|
---|
575 | </para>
|
---|
576 | <indexterm zone="cups cupsreject">
|
---|
577 | <primary sortas="b-cupsreject">cupsreject</primary>
|
---|
578 | </indexterm>
|
---|
579 | </listitem>
|
---|
580 | </varlistentry>
|
---|
581 | <!--
|
---|
582 | <varlistentry id="cupstestdsc">
|
---|
583 | <term><command>cupstestdsc</command></term>
|
---|
584 | <listitem>
|
---|
585 | <para>
|
---|
586 | tests the conformance of PostScript files.
|
---|
587 | </para>
|
---|
588 | <indexterm zone="cups cupstestdsc">
|
---|
589 | <primary sortas="b-cupstestdsc">cupstestdsc</primary>
|
---|
590 | </indexterm>
|
---|
591 | </listitem>
|
---|
592 | </varlistentry>
|
---|
593 | -->
|
---|
594 |
|
---|
595 | <varlistentry id="cupstestppd">
|
---|
596 | <term><command>cupstestppd</command></term>
|
---|
597 | <listitem>
|
---|
598 | <para>
|
---|
599 | tests the conformance of PPD files
|
---|
600 | </para>
|
---|
601 | <indexterm zone="cups cupstestppd">
|
---|
602 | <primary sortas="b-cupstestppd">cupstestppd</primary>
|
---|
603 | </indexterm>
|
---|
604 | </listitem>
|
---|
605 | </varlistentry>
|
---|
606 |
|
---|
607 | <varlistentry id="ippeveprinter">
|
---|
608 | <term><command>ippeveprinter</command></term>
|
---|
609 | <listitem>
|
---|
610 | <para>
|
---|
611 | is an IPP Everywhere printer for CUPS
|
---|
612 | </para>
|
---|
613 | <indexterm zone="cups ippeveprinter">
|
---|
614 | <primary sortas="b-ippeveprinter">ippeveprinter</primary>
|
---|
615 | </indexterm>
|
---|
616 | </listitem>
|
---|
617 | </varlistentry>
|
---|
618 |
|
---|
619 | <varlistentry id="ippfind">
|
---|
620 | <term><command>ippfind</command></term>
|
---|
621 | <listitem>
|
---|
622 | <para>
|
---|
623 | finds Internet Printing Protocol printers
|
---|
624 | </para>
|
---|
625 | <indexterm zone="cups ippfind">
|
---|
626 | <primary sortas="b-ippfind">ippfind</primary>
|
---|
627 | </indexterm>
|
---|
628 | </listitem>
|
---|
629 | </varlistentry>
|
---|
630 |
|
---|
631 | <varlistentry id="ipptool">
|
---|
632 | <term><command>ipptool</command></term>
|
---|
633 | <listitem>
|
---|
634 | <para>
|
---|
635 | sends IPP requests to the specified URI and tests
|
---|
636 | and/or displays the results
|
---|
637 | </para>
|
---|
638 | <indexterm zone="cups ipptool">
|
---|
639 | <primary sortas="b-ipptool">ipptool</primary>
|
---|
640 | </indexterm>
|
---|
641 | </listitem>
|
---|
642 | </varlistentry>
|
---|
643 |
|
---|
644 | <varlistentry id="lp-cups">
|
---|
645 | <term><command>lp</command></term>
|
---|
646 | <listitem>
|
---|
647 | <para>
|
---|
648 | submits files for printing or alters a pending job
|
---|
649 | </para>
|
---|
650 | <indexterm zone="cups lp-cups">
|
---|
651 | <primary sortas="b-lp">lp</primary>
|
---|
652 | </indexterm>
|
---|
653 | </listitem>
|
---|
654 | </varlistentry>
|
---|
655 |
|
---|
656 | <varlistentry id="lpadmin">
|
---|
657 | <term><command>lpadmin</command></term>
|
---|
658 | <listitem>
|
---|
659 | <para>
|
---|
660 | configures printer and class queues provided by
|
---|
661 | <application>Cups</application>
|
---|
662 | </para>
|
---|
663 | <indexterm zone="cups lpadmin">
|
---|
664 | <primary sortas="b-lpadmin">lpadmin</primary>
|
---|
665 | </indexterm>
|
---|
666 | </listitem>
|
---|
667 | </varlistentry>
|
---|
668 |
|
---|
669 | <varlistentry id="lpc-cups">
|
---|
670 | <term><command>lpc</command></term>
|
---|
671 | <listitem>
|
---|
672 | <para>
|
---|
673 | provides limited control over printer and class queues
|
---|
674 | provided by <application>Cups</application>
|
---|
675 | </para>
|
---|
676 | <indexterm zone="cups lpc-cups">
|
---|
677 | <primary sortas="b-lpc">lpc</primary>
|
---|
678 | </indexterm>
|
---|
679 | </listitem>
|
---|
680 | </varlistentry>
|
---|
681 |
|
---|
682 | <varlistentry id="lpinfo">
|
---|
683 | <term><command>lpinfo</command></term>
|
---|
684 | <listitem>
|
---|
685 | <para>
|
---|
686 | lists the available devices or drivers known to the
|
---|
687 | <application>Cups</application> server
|
---|
688 | </para>
|
---|
689 | <indexterm zone="cups lpinfo">
|
---|
690 | <primary sortas="b-lpinfo">lpinfo</primary>
|
---|
691 | </indexterm>
|
---|
692 | </listitem>
|
---|
693 | </varlistentry>
|
---|
694 |
|
---|
695 | <varlistentry id="lpmove">
|
---|
696 | <term><command>lpmove</command></term>
|
---|
697 | <listitem>
|
---|
698 | <para>
|
---|
699 | moves the specified job to a new destination
|
---|
700 | </para>
|
---|
701 | <indexterm zone="cups lpmove">
|
---|
702 | <primary sortas="b-lpmove">lpmove</primary>
|
---|
703 | </indexterm>
|
---|
704 | </listitem>
|
---|
705 | </varlistentry>
|
---|
706 |
|
---|
707 | <varlistentry id="lpoptions">
|
---|
708 | <term><command>lpoptions</command></term>
|
---|
709 | <listitem>
|
---|
710 | <para>
|
---|
711 | displays or sets printer options and defaults
|
---|
712 | </para>
|
---|
713 | <indexterm zone="cups lpoptions">
|
---|
714 | <primary sortas="b-lpoptions">lpoptions</primary>
|
---|
715 | </indexterm>
|
---|
716 | </listitem>
|
---|
717 | </varlistentry>
|
---|
718 |
|
---|
719 | <varlistentry id="lpq-cups">
|
---|
720 | <term><command>lpq</command></term>
|
---|
721 | <listitem>
|
---|
722 | <para>
|
---|
723 | shows the current print queue status on the named printer
|
---|
724 | </para>
|
---|
725 | <indexterm zone="cups lpq-cups">
|
---|
726 | <primary sortas="b-lpq">lpq</primary>
|
---|
727 | </indexterm>
|
---|
728 | </listitem>
|
---|
729 | </varlistentry>
|
---|
730 |
|
---|
731 | <varlistentry id="lpr-cups">
|
---|
732 | <term><command>lpr</command></term>
|
---|
733 | <listitem>
|
---|
734 | <para>
|
---|
735 | submits files for printing
|
---|
736 | </para>
|
---|
737 | <indexterm zone="cups lpr-cups">
|
---|
738 | <primary sortas="b-lpr">lpr</primary>
|
---|
739 | </indexterm>
|
---|
740 | </listitem>
|
---|
741 | </varlistentry>
|
---|
742 |
|
---|
743 | <varlistentry id="lprm-cups">
|
---|
744 | <term><command>lprm</command></term>
|
---|
745 | <listitem>
|
---|
746 | <para>
|
---|
747 | cancels print jobs that have been queued for printing
|
---|
748 | </para>
|
---|
749 | <indexterm zone="cups lprm-cups">
|
---|
750 | <primary sortas="b-lprm">lprm</primary>
|
---|
751 | </indexterm>
|
---|
752 | </listitem>
|
---|
753 | </varlistentry>
|
---|
754 |
|
---|
755 | <varlistentry id="lpstat-cups">
|
---|
756 | <term><command>lpstat</command></term>
|
---|
757 | <listitem>
|
---|
758 | <para>
|
---|
759 | displays status information about the current classes, jobs,
|
---|
760 | and printers
|
---|
761 | </para>
|
---|
762 | <indexterm zone="cups lpstat-cups">
|
---|
763 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
764 | </indexterm>
|
---|
765 | </listitem>
|
---|
766 | </varlistentry>
|
---|
767 |
|
---|
768 | <varlistentry id="ppdc">
|
---|
769 | <term><command>ppdc</command></term>
|
---|
770 | <listitem>
|
---|
771 | <para>
|
---|
772 | compiles PPDC source files into one or more PPD files
|
---|
773 | </para>
|
---|
774 | <indexterm zone="cups ppdc">
|
---|
775 | <primary sortas="b-ppdc">ppdc</primary>
|
---|
776 | </indexterm>
|
---|
777 | </listitem>
|
---|
778 | </varlistentry>
|
---|
779 |
|
---|
780 | <varlistentry id="ppdhtml">
|
---|
781 | <term><command>ppdhtml</command></term>
|
---|
782 | <listitem>
|
---|
783 | <para>
|
---|
784 | reads a driver information file and produces a HTML summary
|
---|
785 | page that lists all of the drivers in a file and the
|
---|
786 | supported options
|
---|
787 | </para>
|
---|
788 | <indexterm zone="cups ppdhtml">
|
---|
789 | <primary sortas="b-ppdhtml">ppdhtml</primary>
|
---|
790 | </indexterm>
|
---|
791 | </listitem>
|
---|
792 | </varlistentry>
|
---|
793 |
|
---|
794 | <varlistentry id="ppdi">
|
---|
795 | <term><command>ppdi</command></term>
|
---|
796 | <listitem>
|
---|
797 | <para>
|
---|
798 | imports one or more PPD files into a PPD compiler source file
|
---|
799 | </para>
|
---|
800 | <indexterm zone="cups ppdi">
|
---|
801 | <primary sortas="b-ppdi">ppdi</primary>
|
---|
802 | </indexterm>
|
---|
803 | </listitem>
|
---|
804 | </varlistentry>
|
---|
805 |
|
---|
806 | <varlistentry id="ppdmerge">
|
---|
807 | <term><command>ppdmerge</command></term>
|
---|
808 | <listitem>
|
---|
809 | <para>
|
---|
810 | merges two or more PPD files into a single, multi-language
|
---|
811 | PPD file
|
---|
812 | </para>
|
---|
813 | <indexterm zone="cups ppdmerge">
|
---|
814 | <primary sortas="b-ppdmerge">ppdmerge</primary>
|
---|
815 | </indexterm>
|
---|
816 | </listitem>
|
---|
817 | </varlistentry>
|
---|
818 |
|
---|
819 | <varlistentry id="ppdpo">
|
---|
820 | <term><command>ppdpo</command></term>
|
---|
821 | <listitem>
|
---|
822 | <para>
|
---|
823 | extracts UI strings from PPDC source files and
|
---|
824 | updates either a GNU gettext or Mac OS X strings
|
---|
825 | format message catalog source file for translation
|
---|
826 | </para>
|
---|
827 | <indexterm zone="cups ppdpo">
|
---|
828 | <primary sortas="b-ppdpo">ppdpo</primary>
|
---|
829 | </indexterm>
|
---|
830 | </listitem>
|
---|
831 | </varlistentry>
|
---|
832 | <!--
|
---|
833 | <varlistentry id="reject">
|
---|
834 | <term><command>reject</command></term>
|
---|
835 | <listitem>
|
---|
836 | <para>
|
---|
837 | instructs the printing system to reject print jobs to the
|
---|
838 | specified destinations.
|
---|
839 | </para>
|
---|
840 | <indexterm zone="cups reject">
|
---|
841 | <primary sortas="b-reject">reject</primary>
|
---|
842 | </indexterm>
|
---|
843 | </listitem>
|
---|
844 | </varlistentry>
|
---|
845 | -->
|
---|
846 | <varlistentry id="libcups">
|
---|
847 | <term><filename class="libraryfile">libcups.so</filename></term>
|
---|
848 | <listitem>
|
---|
849 | <para>
|
---|
850 | contains the <application>Cups</application> API functions
|
---|
851 | </para>
|
---|
852 | <indexterm zone="cups libcups">
|
---|
853 | <primary sortas="c-libcups">libcups.so</primary>
|
---|
854 | </indexterm>
|
---|
855 | </listitem>
|
---|
856 | </varlistentry>
|
---|
857 |
|
---|
858 | </variablelist>
|
---|
859 |
|
---|
860 | </sect2>
|
---|
861 |
|
---|
862 | </sect1>
|
---|