source: pst/printing/cups.xml@ 1c8a066f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1c8a066f was 1c8a066f, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to cups-2.1.4.
Update to poppler-0.45.0.
Update to gnupg-2.1.13.
Update to gnutls-3.5.1.

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

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