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