source: pst/printing/cups.xml@ 8e0eadd4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 8e0eadd4 was 8e0eadd4, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to List-MoreUtils-0.419 (Perl Module).
Remove sed for kerberos in cups.

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

  • Property mode set to 100644
File size: 29.1 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/v&cups-version;/cups-&cups-version;-source.tar.gz">
8 <!ENTITY cups-download-ftp " ">
9 <!ENTITY cups-md5sum "006a8156680a516e43c59034e31df8bf">
10 <!ENTITY cups-size "9.1 MB">
11 <!ENTITY cups-buildsize "55 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 &lfs80_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
206<!-- This does not appear to be needed any more, but leaving it in as
207 a comment for right now. - bdubbs 2017-04-07
208
209 <para>
210 Unless you have installed <xref linkend="mitkrb"/>, fix a configuration
211 file:
212 </para>
213
214<screen><userinput>sed -i '/kerberized/,$ d' conf/cupsd.conf.in</userinput></screen>
215-->
216
217 <!-- docdir is also document root for cups administration interface, so
218 let's just put it in /usr/share/cups/doc-&cups-version; and create symlink
219 in /usr/share/doc/cups-&cups-version;
220
221 When not using libdir switch, CUPS will install libraries into /usr/lib64
222 on a 64 bit system, and since /usr/lib64 is symlink to /usr/lib it might
223 introduce some difficulties with packaging -->
224
225 <para>
226 Build <application>Cups</application> by running the following commands:
227 </para>
228
229
230<screen revision="sysv"><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in &amp;&amp;
231sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4 &amp;&amp;
232sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 &amp;&amp;
233
234aclocal -I config-scripts &amp;&amp;
235autoconf -I config-scripts &amp;&amp;
236
237CC=gcc \
238./configure --libdir=/usr/lib \
239 --disable-systemd \
240 --with-rcdir=/tmp/cupsinit \
241 --with-system-groups=lpadmin \
242 --with-docdir=/usr/share/cups/doc-&cups-version; &amp;&amp;
243make</userinput></screen>
244
245<screen revision="systemd"><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in
246&amp;&amp;
247sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4
248&amp;&amp;
249sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4
250&amp;&amp;
251aclocal -I config-scripts &amp;&amp;
252autoconf -I config-scripts &amp;&amp;
253
254CC=gcc \
255./configure --libdir=/usr/lib \
256 --with-rcdir=/tmp/cupsinit \
257 --with-system-groups=lpadmin \
258 --with-docdir=/usr/share/cups/doc-&cups-version; &amp;&amp;
259make</userinput></screen>
260
261 <para>
262 To test the results, issue: <command>make -k check</command>. An already
263 active graphical session with bus address is necessary to run the tests.
264 Some tests fail for unknown reasons.
265 </para>
266
267 <para>
268 Now, as the <systemitem class="username">root</systemitem> user:
269 </para>
270
271<!-- dev note: make BUILDROOT=<DESTDIR> install -->
272
273<screen role="root"><userinput>make install &amp;&amp;
274rm -rf /tmp/cupsinit &amp;&amp;
275ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen>
276
277 <para>
278 Create a basic <application>Cups</application> client configuration file
279 by running the following command as the <systemitem
280 class="username">root</systemitem> user:
281 </para>
282
283<screen role="root"><userinput>echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
284
285 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
286 href="../../xincludes/gtk-update-icon-cache.xml"/>
287
288 </sect2>
289
290 <sect2 role="commands">
291 <title>Command Explanations</title>
292
293 <para>
294 <!-- hopefully, 2.2.2 only - https://github.com/apple/cups/issues/4947 -->
295 <command>sed -i '/kerberized/,$ d' conf/cupsd.conf.in</command>: when this
296 version of <application>cups</application> is compiled without kerberos
297 support, it nevertheless adds a policy entry at the end of
298 <filename>/etc/cups/cupsd.conf</filename>. But the daemon will error out
299 because it does not understand that entry, so remove it.
300 </para>
301
302 <para>
303 <command>sed ... Makedefs.in</command>: Fix files and directories
304 permissions.
305 </para>
306
307 <para>
308 <command>sed ... cups-manpages.m4</command>: This sed prevents
309 compression of the man pages by default.
310 </para>
311
312 <para>
313 <command>sed ... cups-ssl.m4</command>: Prevent
314 <command>configure</command> script from searching
315 <command>libgcrypt-config</command>, because
316 <application>libgcrypt</application> is not used anywere else in the
317 package.
318 </para>
319
320 <para>
321 <envar>CC=gcc</envar>: This environment variable ensures that gcc is used,
322 if clang is installed. Remove it, if you prefer to use clang. Using clang
323 almost doubles build time and slightly decreases build disk space.
324 Installed disk space is not appreciably modified.
325 </para>
326<!--
327 <para>
328 <command>sed ... test/ippserver.c</command>: This sed fixes a bug,
329 which shows up when <application>avahi</application> is not present.
330 </para>-->
331
332 <para revision="sysv">
333 <parameter>--disable-systemd</parameter>: Systemd is not supported by
334 BLFS.
335 </para>
336
337 <para>
338 <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells the
339 build process to install the shipped bootscript into <filename
340 class="directory">/tmp</filename> instead of <filename
341 class="directory">/etc/rc.d</filename>.
342 </para>
343
344 <para>
345 <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
346 that only <systemitem class="groupname">lpadmin</systemitem> will be used
347 as the <application>Cups</application> administrative group.
348 </para>
349
350 <para>
351 <option>--disable-libusb</option>: Use this switch if you have installed
352 <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
353 </para>
354
355 <para>
356 <option>--enable-libpaper</option>: Use this switch if you have installed
357 <application>libpaper</application> and wish to use it with
358 <application>Cups</application>.
359 </para>
360
361 </sect2>
362
363 <sect2 role="configuration">
364 <title>Configuring Cups</title>
365
366 <sect3 id="cups-config">
367 <title>Config Files</title>
368
369 <para><filename>/etc/cups/*</filename></para>
370
371 <indexterm zone="cups cups-config">
372 <primary sortas="e-etc-cups">/etc/cups/*</primary>
373 </indexterm>
374
375 </sect3>
376
377 <sect3>
378 <title>Configuration Information</title>
379
380 <para>
381 Normally, printers are set up via a web browser. The
382 <application>Cups</application> server will normally connect via
383 the url http://localhost:631. From there printers, print
384 jobs, and the server configuration can be set up and managed.
385 Remote system administration can also be set up. Configuration
386 can also be done from the command line via the
387 <command>lpadmin</command>, <command>lpoptions</command>,
388 and <command>lpstat</command> commands.
389 </para>
390
391 <para>
392 Configuration of <application>Cups</application> is dependent on
393 the type of printer and can be complex. Generally, PostScript printers
394 are easier. For detailed instructions on configuration and use of
395 <application>Cups</application>, see <ulink
396 url="http://www.cups.org/documentation.php"/>.
397 </para>
398
399 <para>
400 For non-PostScript printers to print with
401 <application>Cups</application>, you need to install <xref
402 linkend="gs"/> to convert PostScript to raster images and a driver
403 (e.g. from <xref linkend="gutenprint"/>) to convert the resulting
404 raster images to a form that the printer understands. <ulink
405 url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
406 drivers use <xref linkend="gs"/> to convert PostScript to a printable
407 form directly, but this is considered suboptimal by
408 <application>Cups</application> developers.
409 </para>
410
411 </sect3>
412
413 <sect3>
414 <title>Linux PAM Configuration</title>
415
416 <para>
417 If <application>CUPS</application> has been built with
418 <application>Linux PAM</application> support, you need to create a
419 <application>PAM</application> configuration file to get it working
420 correctly with BLFS.
421 </para>
422
423 <para>
424 Issue the following command as the <systemitem
425 class="username">root</systemitem> user to create the configuration
426 file for <application>Linux PAM</application>:
427 </para>
428
429<screen role="root"><userinput>cat &gt; /etc/pam.d/cups &lt;&lt; "EOF"
430<literal># Begin /etc/pam.d/cups
431
432auth include system-auth
433account include system-account
434session include system-session
435
436# End /etc/pam.d/cups</literal>
437EOF</userinput></screen>
438
439 </sect3>
440
441 <sect3 id="cups-init">
442 <title><phrase revision="sysv">Boot Script</phrase>
443 <phrase revision="systemd">Systemd Unit</phrase></title>
444
445 <para revision="sysv">
446 If you want the <application>Cups</application> print service to start
447 automatically when the system is booted, install the init script
448 included in the <xref linkend="bootscripts"/> package:
449 </para>
450
451 <para revision="systemd">
452 To start the <command>cupsd</command> daemon when something tries to
453 access it, enable the previously installed systemd units by running
454 the following command as the
455 <systemitem class="username">root</systemitem> user:
456 </para>
457
458 <indexterm zone="cups cups-init">
459 <primary sortas="f-cups">cups</primary>
460 </indexterm>
461
462<screen role="root" revision="sysv"><userinput>make install-cups</userinput></screen>
463
464<screen role="root" revision="systemd"><userinput>systemctl enable org.cups.cupsd</userinput></screen>
465
466 </sect3>
467
468 </sect2>
469
470 <sect2 role="content">
471 <title>Contents</title>
472
473 <segmentedlist>
474 <segtitle>Installed Programs</segtitle>
475 <segtitle>Installed Libraries</segtitle>
476 <segtitle>Installed Directories</segtitle>
477
478 <seglistitem>
479 <seg>
480 accept, cancel, cupsaccept, cupsaddsmb, cups-config, cupsctl, cupsd,
481 cupsdisable, cupsenable, cupsfilter, cupsreject, cupstestdsc,
482 cupstestppd, ippfind, ipptool, lp, lpadmin, lpc, lpinfo, lpmove,
483 lpoptions, lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge,
484 ppdpo, and reject
485 </seg>
486 <seg>
487 libcupscgi.so, libcupsimage.so, libcupsmime.so,
488 libcupsppdc.so, and libcups.so
489 </seg>
490 <seg>
491 /etc/cups,
492 /usr/{include,lib,share}/cups,
493 /usr/share/doc/cups-&cups-version;, and
494 /var/{cache,log,run,spool}/cups
495 </seg>
496 </seglistitem>
497 </segmentedlist>
498
499 <variablelist>
500 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
501 <?dbfo list-presentation="list"?>
502 <?dbhtml list-presentation="table"?>
503
504 <varlistentry id="accept">
505 <term><command>accept</command></term>
506 <listitem>
507 <para>
508 instructs the printing system to accept print jobs to the
509 specified destinations.
510 </para>
511 <indexterm zone="cups accept">
512 <primary sortas="b-accept">accept</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="cancel-cups">
518 <term><command>cancel</command></term>
519 <listitem>
520 <para>
521 cancels existing print jobs from the print queues.
522 </para>
523 <indexterm zone="cups cancel-cups">
524 <primary sortas="b-cancel">cancel</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="cupsaccept">
530 <term><command>cupsaccept</command></term>
531 <listitem>
532 <para>
533 accept jobs sent to a destination.
534 </para>
535 <indexterm zone="cups cupsaccept">
536 <primary sortas="b-cupsaccept">cupsaccept</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="cupsaddsmb">
542 <term><command>cupsaddsmb</command></term>
543 <listitem>
544 <para>
545 exports printers to the <application>Samba</application>
546 software for use with Windows clients.
547 </para>
548 <indexterm zone="cups cupsaddsmb">
549 <primary sortas="b-cupsaddsmb">cupsaddsmb</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="cups-config-prog">
555 <term><command>cups-config</command></term>
556 <listitem>
557 <para>
558 is a <application>Cups</application>
559 program configuration utility.
560 </para>
561 <indexterm zone="cups cups-config-prog">
562 <primary sortas="b-cups-config">cups-config</primary>
563 </indexterm>
564 </listitem>
565 </varlistentry>
566
567 <varlistentry id="cupsctl">
568 <term><command>cupsctl</command></term>
569 <listitem>
570 <para>
571 updates or queries the cupsd.conf file for a server.
572 </para>
573 <indexterm zone="cups cupsctl">
574 <primary sortas="b-cupsctl">cupsctl</primary>
575 </indexterm>
576 </listitem>
577 </varlistentry>
578
579 <varlistentry id="cupsd">
580 <term><command>cupsd</command></term>
581 <listitem>
582 <para>
583 is the scheduler for the Common Unix Printing System.
584 </para>
585 <indexterm zone="cups cupsd">
586 <primary sortas="b-cupsd">cupsd</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="cupsdisable">
592 <term><command>cupsdisable</command></term>
593 <listitem>
594 <para>
595 stop printers and classes.
596 </para>
597 <indexterm zone="cups cupsdisable">
598 <primary sortas="b-cupsdisable">cupsdisable</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="cupsenable">
604 <term><command>cupsenable</command></term>
605 <listitem>
606 <para>
607 start printers and classes.
608 </para>
609 <indexterm zone="cups cupsenable">
610 <primary sortas="b-cupsenable">cupsenable</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 <varlistentry id="cupsfilter">
616 <term><command>cupsfilter</command></term>
617 <listitem>
618 <para>
619 is a front-end to the <application>Cups</application>
620 filter subsystem which allows you to convert a file
621 to a specific format.
622 </para>
623 <indexterm zone="cups cupsfilter">
624 <primary sortas="b-cupsfilter">cupsfilter</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
629 <varlistentry id="cupsreject">
630 <term><command>cupsreject</command></term>
631 <listitem>
632 <para>
633 reject jobs sent to a destination.
634 </para>
635 <indexterm zone="cups cupsreject">
636 <primary sortas="b-cupsreject">cupsreject</primary>
637 </indexterm>
638 </listitem>
639 </varlistentry>
640
641 <varlistentry id="cupstestdsc">
642 <term><command>cupstestdsc</command></term>
643 <listitem>
644 <para>
645 tests the conformance of PostScript files.
646 </para>
647 <indexterm zone="cups cupstestdsc">
648 <primary sortas="b-cupstestdsc">cupstestdsc</primary>
649 </indexterm>
650 </listitem>
651 </varlistentry>
652
653 <varlistentry id="cupstestppd">
654 <term><command>cupstestppd</command></term>
655 <listitem>
656 <para>
657 tests the conformance of PPD files.
658 </para>
659 <indexterm zone="cups cupstestppd">
660 <primary sortas="b-cupstestppd">cupstestppd</primary>
661 </indexterm>
662 </listitem>
663 </varlistentry>
664
665 <varlistentry id="ippfind">
666 <term><command>ippfind</command></term>
667 <listitem>
668 <para>
669 finds internet printing protocol printers.
670 </para>
671 <indexterm zone="cups ippfind">
672 <primary sortas="b-ippfind">ippfind</primary>
673 </indexterm>
674 </listitem>
675 </varlistentry>
676
677 <varlistentry id="ipptool">
678 <term><command>ipptool</command></term>
679 <listitem>
680 <para>
681 sends IPP requests to the specified URI and tests
682 and/or displays the results.
683 </para>
684 <indexterm zone="cups ipptool">
685 <primary sortas="b-ipptool">ipptool</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
690 <varlistentry id="lp-cups">
691 <term><command>lp</command></term>
692 <listitem>
693 <para>
694 submits files for printing or alters a pending job.
695 </para>
696 <indexterm zone="cups lp-cups">
697 <primary sortas="b-lp">lp</primary>
698 </indexterm>
699 </listitem>
700 </varlistentry>
701
702 <varlistentry id="lpadmin">
703 <term><command>lpadmin</command></term>
704 <listitem>
705 <para>
706 configures printer and class queues provided by
707 <application>Cups</application>.
708 </para>
709 <indexterm zone="cups lpadmin">
710 <primary sortas="b-lpadmin">lpadmin</primary>
711 </indexterm>
712 </listitem>
713 </varlistentry>
714
715 <varlistentry id="lpc-cups">
716 <term><command>lpc</command></term>
717 <listitem>
718 <para>
719 provides limited control over printer and class queues
720 provided by <application>Cups</application>.
721 </para>
722 <indexterm zone="cups lpc-cups">
723 <primary sortas="b-lpc">lpc</primary>
724 </indexterm>
725 </listitem>
726 </varlistentry>
727
728 <varlistentry id="lpinfo">
729 <term><command>lpinfo</command></term>
730 <listitem>
731 <para>
732 lists the available devices or drivers known to the
733 <application>Cups</application> server.
734 </para>
735 <indexterm zone="cups lpinfo">
736 <primary sortas="b-lpinfo">lpinfo</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
741 <varlistentry id="lpmove">
742 <term><command>lpmove</command></term>
743 <listitem>
744 <para>
745 moves the specified job to a new destination.
746 </para>
747 <indexterm zone="cups lpmove">
748 <primary sortas="b-lpmove">lpmove</primary>
749 </indexterm>
750 </listitem>
751 </varlistentry>
752
753 <varlistentry id="lpoptions">
754 <term><command>lpoptions</command></term>
755 <listitem>
756 <para>
757 displays or sets printer options and defaults.
758 </para>
759 <indexterm zone="cups lpoptions">
760 <primary sortas="b-lpoptions">lpoptions</primary>
761 </indexterm>
762 </listitem>
763 </varlistentry>
764
765 <varlistentry id="lpq-cups">
766 <term><command>lpq</command></term>
767 <listitem>
768 <para>
769 shows the current print queue status on the named printer.
770 </para>
771 <indexterm zone="cups lpq-cups">
772 <primary sortas="b-lpq">lpq</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
777 <varlistentry id="lpr-cups">
778 <term><command>lpr</command></term>
779 <listitem>
780 <para>
781 submits files for printing.
782 </para>
783 <indexterm zone="cups lpr-cups">
784 <primary sortas="b-lpr">lpr</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
789 <varlistentry id="lprm-cups">
790 <term><command>lprm</command></term>
791 <listitem>
792 <para>
793 cancels print jobs that have been queued for printing.
794 </para>
795 <indexterm zone="cups lprm-cups">
796 <primary sortas="b-lprm">lprm</primary>
797 </indexterm>
798 </listitem>
799 </varlistentry>
800
801 <varlistentry id="lpstat-cups">
802 <term><command>lpstat</command></term>
803 <listitem>
804 <para>
805 displays status information about the current classes, jobs,
806 and printers.
807 </para>
808 <indexterm zone="cups lpstat-cups">
809 <primary sortas="b-lpstat">lpstat</primary>
810 </indexterm>
811 </listitem>
812 </varlistentry>
813
814 <varlistentry id="ppdc">
815 <term><command>ppdc</command></term>
816 <listitem>
817 <para>
818 compiles PPDC source files into one or more PPD files.
819 </para>
820 <indexterm zone="cups ppdc">
821 <primary sortas="b-ppdc">ppdc</primary>
822 </indexterm>
823 </listitem>
824 </varlistentry>
825
826 <varlistentry id="ppdhtml">
827 <term><command>ppdhtml</command></term>
828 <listitem>
829 <para>
830 reads a driver information file and produces a HTML summary
831 page that lists all of the drivers in a file and the
832 supported options.
833 </para>
834 <indexterm zone="cups ppdhtml">
835 <primary sortas="b-ppdhtml">ppdhtml</primary>
836 </indexterm>
837 </listitem>
838 </varlistentry>
839
840 <varlistentry id="ppdi">
841 <term><command>ppdi</command></term>
842 <listitem>
843 <para>
844 imports one or more PPD files into a PPD compiler source file.
845 </para>
846 <indexterm zone="cups ppdi">
847 <primary sortas="b-ppdi">ppdi</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 <varlistentry id="ppdmerge">
853 <term><command>ppdmerge</command></term>
854 <listitem>
855 <para>
856 merges two or more PPD files into a single, multi-language
857 PPD file.
858 </para>
859 <indexterm zone="cups ppdmerge">
860 <primary sortas="b-ppdmerge">ppdmerge</primary>
861 </indexterm>
862 </listitem>
863 </varlistentry>
864
865 <varlistentry id="ppdpo">
866 <term><command>ppdpo</command></term>
867 <listitem>
868 <para>
869 extracts UI strings from PPDC source files and
870 updates either a GNU gettext or Mac OS X strings
871 format message catalog source file for translation.
872 </para>
873 <indexterm zone="cups ppdpo">
874 <primary sortas="b-ppdpo">ppdpo</primary>
875 </indexterm>
876 </listitem>
877 </varlistentry>
878
879 <varlistentry id="reject">
880 <term><command>reject</command></term>
881 <listitem>
882 <para>
883 instructs the printing system to reject print jobs to the
884 specified destinations.
885 </para>
886 <indexterm zone="cups reject">
887 <primary sortas="b-reject">reject</primary>
888 </indexterm>
889 </listitem>
890 </varlistentry>
891
892 <varlistentry id="libcups">
893 <term><filename class="libraryfile">libcups.so</filename></term>
894 <listitem>
895 <para>
896 contains the <application>Cups</application> API functions.
897 </para>
898 <indexterm zone="cups libcups">
899 <primary sortas="c-libcups">libcups.so</primary>
900 </indexterm>
901 </listitem>
902 </varlistentry>
903
904 </variablelist>
905
906 </sect2>
907
908</sect1>
Note: See TracBrowser for help on using the repository browser.