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

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 1cf24363 was 42ddc30, checked in by Xi Ruoyao <xry111@…>, 12 months ago

treewide: Replace "User Notes" with "Editor Notes"

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