source: pst/printing/cups.xml@ db43f9f

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since db43f9f was 9c6c28d, checked in by Xi Ruoyao <xry111@…>, 14 months ago

cups: Add --with-rundir=/run/cups to avoid deprecated /var/run

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