source: pst/printing/cups-systemd.xml@ 237d47f

krejzi/svn
Last change on this file since 237d47f was fde7a06, checked in by Krejzi <krejzi@…>, 10 years ago

Printing section.

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

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