source: pst/printing/cups.xml@ a77c2fb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a77c2fb was a77c2fb, checked in by Pierre Labastie <pieere@…>, 10 years ago

Patch CUPS in order to remove the dependency on Avahi
+ typo

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13013 af4574ff-66df-0310-9fd7-8a98e5e911e0

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