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