source: pst/printing/cups.xml@ e6af57ed

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since e6af57ed was 1859ee6, checked in by Pierre Labastie <pierre.labastie@…>, 7 months ago

Remove links to deleted wiki pages

See https://wiki.linuxfromscratch.org/blfs/ticket/18952

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