source: pst/printing/cups.xml@ 7081b02

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 7081b02 was 7081b02, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Fix CUPS build error with kernel 5.2+ headers

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

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