source: pst/printing/cups-systemd.xml@ 7fb40ca

systemd-13485
Last change on this file since 7fb40ca was 86245b1e, checked in by Krejzi <krejzi@…>, 10 years ago

build with clang has been unbroken.

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

  • Property mode set to 100644
File size: 25.5 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 " ">
[b52dab73]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
[c0beb85]39 &lfs76_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>
[c2bcc50]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"/>,
[b52dab73]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;
[c2bcc50]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
241./configure --libdir=/usr/lib \
242 --with-rcdir=/tmp/cupsinit \
[89475857]243 --with-docdir=/usr/share/cups/doc \
[c2bcc50]244 --with-system-groups=lpadmin \
245 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
[536fac5]246make</userinput></screen>
247
[89475857]248 <para>
[f0cd0274]249 To test the results, issue: <command>make -k check</command>. An already
250 active graphical session with bus address is necessary to run the tests.
251 A small number of tests fail for unknown reasons.
[89475857]252 </para>
[24962f9]253
[89475857]254 <para>
255 Now, as the <systemitem class="username">root</systemitem>
256 user:
257 </para>
[536fac5]258
[2cf3f8a]259<!-- dev note: make BUILDROOT=<DESTDIR> install -->
260
[5c52c23]261<screen role="root"><userinput>make install &amp;&amp;
[89475857]262rm -rf /tmp/cupsinit &amp;&amp;
[c0beb85]263ln -svf ../cups/doc /usr/share/doc/cups-&cups-version;</userinput></screen>
[89475857]264
265 <para>
[2946338a]266 Create a basic <application>Cups</application> client configuration
[3a55bfe]267 file by running the following command as the
268 <systemitem class="username">root</systemitem> user:
269 </para>
270
271<screen role="root"><userinput>echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
272
273 <para>
[2946338a]274 Remove filters that are now part of the <application>Cups Filters</application>
[3a55bfe]275 package by running the following commands as the
[89475857]276 <systemitem class="username">root</systemitem> user:
277 </para>
[536fac5]278
[3a55bfe]279<screen role="root"><userinput>rm -rf /usr/share/cups/banners &amp;&amp;
280rm -rf /usr/share/cups/data/testprint</userinput></screen>
[89475857]281
[3ce3eb5]282 <note>
283 <para>
284 If you reinstall or update <application>Cups</application>, commands
[c0beb85]285 above will break <xref linkend="cups-filters"/>, so it needs to be
286 reinstalled.
287 </para>
[3ce3eb5]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
[89475857]298 <para>
299 <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells
[2946338a]300 the build process to install the shipped bootscript into
[89475857]301 <filename class="directory">/tmp</filename> instead of
302 <filename class="directory">/etc/rc.d</filename>.
303 </para>
304
305 <para>
306 <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
[2946338a]307 that only <systemitem class="groupname">lpadmin</systemitem> will be used as
[89475857]308 the <application>Cups</application> administrative group.
309 </para>
[47dc0bf]310
[c2bcc50]311 <para>
312 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>:
313 This switch is used to set the correct installation directory for
314 systemd units.
315 </para>
316
[89475857]317 <para>
318 <option>--disable-libusb</option>: Use this switch if you have installed
319 <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
320 </para>
[47dc0bf]321
[89475857]322 <para>
323 <option>--enable-libpaper</option>: Use this switch if you have installed
324 <application>libpaper</application> and wish to use it with
325 <application>Cups</application>.
326 </para>
[47dc0bf]327
[89475857]328 <para>
[2946338a]329 <option>--disable-gnutls --enable-openssl</option>: This switch tells the build
[89475857]330 process to use <xref linkend="openssl"/> instead of <xref linkend="gnutls"/>.
[2946338a]331 The current version of <application>GnuTLS</application> might produce lot of
[89475857]332 warnings during the <application>Cups</application> build.
333 </para>
[536fac5]334
335 </sect2>
336
337 <sect2 role="configuration">
[47dc0bf]338 <title>Configuring Cups</title>
[536fac5]339
[2cf3f8a]340 <sect3 id="cups-config">
341 <title>Config Files</title>
[89475857]342
[2cf3f8a]343 <para><filename>/etc/cups/*</filename></para>
344
345 <indexterm zone="cups cups-config">
346 <primary sortas="e-etc-cups">/etc/cups/*</primary>
347 </indexterm>
348
349 </sect3>
350
351 <sect3>
352 <title>Configuration Information</title>
353
354 <para>
355 Configuration of <application>Cups</application> is dependent on
356 the type of printer and can be complex. Generally, PostScript printers
357 are easier. For detailed instructions on configuration and use of
358 <application>Cups</application>, see <ulink
359 url="http://www.cups.org/documentation.php"/>. The Software
360 Administrators Manual and Software Users Manual are particularly useful.
361 </para>
362
363 <para>
364 For non-PostScript printers to print with
365 <application>Cups</application>, you need to install <xref linkend="gs"/>
366 to convert PostScript to raster images and a driver (e.g., from
367 <xref linkend="gutenprint"/>) to convert the resulting raster images to a
368 form that the printer understands.
369 <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
370 drivers use Ghostscript to convert PostScript to a printable form directly,
371 but this is considered to be a hack by <application>Cups</application>
372 developers.
373 </para>
374
375 </sect3>
[89475857]376
[32d0e29]377 <sect3 id="cups-init">
[c2bcc50]378 <title>Systemd Units</title>
[536fac5]379
[89475857]380 <para>
[c2bcc50]381 To start the <command>cupsd</command> daemon when something tries to
382 access it, enable the previously installed systemd units by running
383 the following command as the
384 <systemitem class="username">root</systemitem> user:
[89475857]385 </para>
[536fac5]386
387 <indexterm zone="cups cups-init">
388 <primary sortas="f-cups">cups</primary>
389 </indexterm>
390
[c2bcc50]391<screen role="root"><userinput>systemctl enable cups</userinput></screen>
[536fac5]392
393 </sect3>
394
395 </sect2>
396
397 <sect2 role="content">
398 <title>Contents</title>
399
400 <segmentedlist>
401 <segtitle>Installed Programs</segtitle>
402 <segtitle>Installed Libraries</segtitle>
403 <segtitle>Installed Directories</segtitle>
404
405 <seglistitem>
[89475857]406 <seg>
407 accept, cancel, cupsaccept, cupsaddsmb, cups-config,
408 cupsctl, cupsd, cupsdisable, cupsenable, cupsfilter,
[95a4ee3]409 cupsreject, cupstestdsc, cupstestppd, ippfind, ipptool,
410 lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
[89475857]411 lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge,
412 ppdpo and reject
413 </seg>
414 <seg>
415 libcupscgi.so, libcupsimage.so, libcupsmime.so,
416 libcupsppdc.so and libcups.so
417 </seg>
418 <seg>
419 /etc/cups,
420 /usr/include/cups,
421 /usr/lib/cups,
422 /usr/share/cups,
423 /usr/share/doc/cups-&cups-version;,
424 /var/cache/cups,
425 /var/log/cups,
426 /var/run/cups and
427 /var/spool/cups
428 </seg>
[536fac5]429 </seglistitem>
430 </segmentedlist>
431
432 <variablelist>
433 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
434 <?dbfo list-presentation="list"?>
435 <?dbhtml list-presentation="table"?>
436
437 <varlistentry id="accept">
438 <term><command>accept</command></term>
439 <listitem>
[89475857]440 <para>
441 instructs the printing system to accept print jobs to the
442 specified destinations.
443 </para>
[536fac5]444 <indexterm zone="cups accept">
445 <primary sortas="b-accept">accept</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="cancel-cups">
451 <term><command>cancel</command></term>
452 <listitem>
[89475857]453 <para>
454 cancels existing print jobs from the print queues.
455 </para>
[536fac5]456 <indexterm zone="cups cancel-cups">
457 <primary sortas="b-cancel">cancel</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
[89475857]462 <varlistentry id="cupsaddsmb">
463 <term><command>cupsaddsmb</command></term>
464 <listitem>
465 <para>
466 exports printers to the <application>Samba</application>
467 software for use with Windows clients.
468 </para>
469 <indexterm zone="cups cupsaddsmb">
470 <primary sortas="b-cupsaddsmb">cupsaddsmb</primary>
471 </indexterm>
472 </listitem>
473 </varlistentry>
474
[2cf3f8a]475 <varlistentry id="cups-config-prog">
[536fac5]476 <term><command>cups-config</command></term>
477 <listitem>
[89475857]478 <para>
479 is a <application>Cups</application>
480 program configuration utility.
481 </para>
[2cf3f8a]482 <indexterm zone="cups cups-config-prog">
[536fac5]483 <primary sortas="b-cups-config">cups-config</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
[89475857]488 <varlistentry id="cupsctl">
489 <term><command>cupsctl</command></term>
[536fac5]490 <listitem>
[89475857]491 <para>
492 updates or queries the cupsd.conf file for a server.
493 </para>
494 <indexterm zone="cups cupsctl">
495 <primary sortas="b-cupsctl">cupsctl</primary>
[536fac5]496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="cupsd">
501 <term><command>cupsd</command></term>
502 <listitem>
[89475857]503 <para>
504 is the scheduler for the Common Unix Printing System.
505 </para>
[536fac5]506 <indexterm zone="cups cupsd">
507 <primary sortas="b-cupsd">cupsd</primary>
508 </indexterm>
509 </listitem>
510 </varlistentry>
511
[89475857]512 <varlistentry id="cupsfilter">
513 <term><command>cupsfilter</command></term>
[536fac5]514 <listitem>
[89475857]515 <para>
[0d7900a]516 is a front-end to the <application>Cups</application>
[89475857]517 filter subsystem which allows you to convert a file
518 to a specific format.
519 </para>
520 <indexterm zone="cups cupsfilter">
521 <primary sortas="b-cupsfilter">cupsfilter</primary>
[536fac5]522 </indexterm>
523 </listitem>
524 </varlistentry>
525
[89475857]526 <varlistentry id="cupstestdsc">
527 <term><command>cupstestdsc</command></term>
[536fac5]528 <listitem>
[89475857]529 <para>
530 tests the conformance of PostScript files.
531 </para>
532 <indexterm zone="cups cupstestdsc">
533 <primary sortas="b-cupstestdsc">cupstestdsc</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="cupstestppd">
539 <term><command>cupstestppd</command></term>
540 <listitem>
541 <para>
542 tests the conformance of PPD files.
543 </para>
544 <indexterm zone="cups cupstestppd">
545 <primary sortas="b-cupstestppd">cupstestppd</primary>
[536fac5]546 </indexterm>
547 </listitem>
548 </varlistentry>
549
[95a4ee3]550 <varlistentry id="ippfind">
551 <term><command>ippfind</command></term>
552 <listitem>
553 <para>
554 finds internet printing protocol printers.
555 </para>
556 <indexterm zone="cups ippfind">
557 <primary sortas="b-ippfind">ippfind</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
[89475857]562 <varlistentry id="ipptool">
563 <term><command>ipptool</command></term>
[536fac5]564 <listitem>
[89475857]565 <para>
566 sends IPP requests to the specified URI and tests
567 and/or displays the results.
568 </para>
569 <indexterm zone="cups ipptool">
570 <primary sortas="b-ipptool">ipptool</primary>
[536fac5]571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="lp-cups">
576 <term><command>lp</command></term>
577 <listitem>
[89475857]578 <para>
579 submits files for printing or alters a pending job.
580 </para>
[536fac5]581 <indexterm zone="cups lp-cups">
582 <primary sortas="b-lp">lp</primary>
583 </indexterm>
584 </listitem>
585 </varlistentry>
586
587 <varlistentry id="lpadmin">
588 <term><command>lpadmin</command></term>
589 <listitem>
[89475857]590 <para>
591 configures printer and class queues provided by
592 <application>Cups</application>.
593 </para>
[536fac5]594 <indexterm zone="cups lpadmin">
595 <primary sortas="b-lpadmin">lpadmin</primary>
596 </indexterm>
597 </listitem>
598 </varlistentry>
599
600 <varlistentry id="lpc-cups">
601 <term><command>lpc</command></term>
602 <listitem>
[89475857]603 <para>
604 provides limited control over printer and class queues
605 provided by <application>Cups</application>.
606 </para>
[536fac5]607 <indexterm zone="cups lpc-cups">
608 <primary sortas="b-lpc">lpc</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="lpinfo">
614 <term><command>lpinfo</command></term>
615 <listitem>
[89475857]616 <para>
617 lists the available devices or drivers known to the
618 <application>Cups</application> server.
619 </para>
[536fac5]620 <indexterm zone="cups lpinfo">
621 <primary sortas="b-lpinfo">lpinfo</primary>
622 </indexterm>
623 </listitem>
624 </varlistentry>
625
626 <varlistentry id="lpmove">
627 <term><command>lpmove</command></term>
628 <listitem>
[89475857]629 <para>
630 moves the specified job to a new destination.
631 </para>
[536fac5]632 <indexterm zone="cups lpmove">
633 <primary sortas="b-lpmove">lpmove</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="lpoptions">
639 <term><command>lpoptions</command></term>
640 <listitem>
[89475857]641 <para>
642 displays or sets printer options and defaults.
643 </para>
[536fac5]644 <indexterm zone="cups lpoptions">
645 <primary sortas="b-lpoptions">lpoptions</primary>
646 </indexterm>
647 </listitem>
648 </varlistentry>
649
650 <varlistentry id="lppasswd">
651 <term><command>lppasswd</command></term>
652 <listitem>
[89475857]653 <para>
654 adds, changes or deletes passwords in the
655 <application>Cups</application> digest password file
656 <filename>passwd.md5</filename>.
657 </para>
[536fac5]658 <indexterm zone="cups lppasswd">
659 <primary sortas="b-lppasswd">lppasswd</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="lpq-cups">
665 <term><command>lpq</command></term>
666 <listitem>
[89475857]667 <para>
668 shows the current print queue status on the named printer.
669 </para>
[536fac5]670 <indexterm zone="cups lpq-cups">
671 <primary sortas="b-lpq">lpq</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="lpr-cups">
677 <term><command>lpr</command></term>
678 <listitem>
[89475857]679 <para>
680 submits files for printing.
681 </para>
[536fac5]682 <indexterm zone="cups lpr-cups">
683 <primary sortas="b-lpr">lpr</primary>
684 </indexterm>
685 </listitem>
686 </varlistentry>
687
688 <varlistentry id="lprm-cups">
689 <term><command>lprm</command></term>
690 <listitem>
[89475857]691 <para>
692 cancels print jobs that have been queued for printing.
693 </para>
[536fac5]694 <indexterm zone="cups lprm-cups">
695 <primary sortas="b-lprm">lprm</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 <varlistentry id="lpstat-cups">
701 <term><command>lpstat</command></term>
702 <listitem>
[89475857]703 <para>
704 displays status information about the current classes, jobs,
705 and printers.
706 </para>
[536fac5]707 <indexterm zone="cups lpstat-cups">
708 <primary sortas="b-lpstat">lpstat</primary>
709 </indexterm>
710 </listitem>
711 </varlistentry>
712
[89475857]713 <varlistentry id="ppdc">
714 <term><command>ppdc</command></term>
715 <listitem>
716 <para>
717 compiles PPDC source files into one or more PPD files.
718 </para>
719 <indexterm zone="cups ppdc">
720 <primary sortas="b-ppdc">ppdc</primary>
721 </indexterm>
722 </listitem>
723 </varlistentry>
724
725 <varlistentry id="ppdhtml">
726 <term><command>ppdhtml</command></term>
727 <listitem>
728 <para>
729 reads a driver information file and produces a HTML summary
730 page that lists all of the drivers in a file and the
731 supported options.
732 </para>
733 <indexterm zone="cups ppdhtml">
734 <primary sortas="b-ppdhtml">ppdhtml</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="ppdi">
740 <term><command>ppdi</command></term>
741 <listitem>
742 <para>
743 imports one or more PPD files into a PPD compiler source file.
744 </para>
745 <indexterm zone="cups ppdi">
746 <primary sortas="b-ppdi">ppdi</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
751 <varlistentry id="ppdmerge">
752 <term><command>ppdmerge</command></term>
753 <listitem>
754 <para>
755 merges two or more PPD files into a single, multi-language
756 PPD file.
757 </para>
758 <indexterm zone="cups ppdmerge">
759 <primary sortas="b-ppdmerge">ppdmerge</primary>
760 </indexterm>
761 </listitem>
762 </varlistentry>
763
764 <varlistentry id="ppdpo">
765 <term><command>ppdpo</command></term>
766 <listitem>
767 <para>
768 extracts UI strings from PPDC source files and
769 updates either a GNU gettext or Mac OS X strings
770 format message catalog source file for translation.
771 </para>
772 <indexterm zone="cups ppdpo">
773 <primary sortas="b-ppdpo">ppdpo</primary>
774 </indexterm>
775 </listitem>
776 </varlistentry>
777
[536fac5]778 <varlistentry id="reject">
779 <term><command>reject</command></term>
780 <listitem>
[89475857]781 <para>
782 instructs the printing system to reject print jobs to the
783 specified destinations.
784 </para>
[536fac5]785 <indexterm zone="cups reject">
786 <primary sortas="b-reject">reject</primary>
787 </indexterm>
788 </listitem>
789 </varlistentry>
790
[89475857]791 <varlistentry id="libcups">
792 <term><filename class="libraryfile">libcups.so</filename></term>
793 <listitem>
794 <para>
795 contains the <application>Cups</application> API functions.
796 </para>
797 <indexterm zone="cups libcups">
798 <primary sortas="c-libcups">libcups.so</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
[536fac5]803 </variablelist>
804
805 </sect2>
[c78533e]806
807</sect1>
Note: See TracBrowser for help on using the repository browser.