source: pst/printing/cups-systemd.xml@ e4fd69a

systemd-11177
Last change on this file since e4fd69a was e4fd69a, checked in by Krejzi <krejzi@…>, 10 years ago

Merged trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13762 af4574ff-66df-0310-9fd7-8a98e5e911e0

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