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