source: pst/printing/cups.xml@ f594857

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 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 f594857 was b9929f1, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to cups-2.0.3.
Forgotten: tag Colord-1.2.11 for gcc5.

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

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