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