[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 " ">
|
---|
[95a4ee3] | 9 | <!ENTITY cups-md5sum "55277c40fd4b7183dc3671d39c5c42b7">
|
---|
| 10 | <!ENTITY cups-size "8.4 MB">
|
---|
| 11 | <!ENTITY cups-buildsize "63 MB">
|
---|
| 12 | <!ENTITY cups-time "0.6 SBU">
|
---|
[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 |
|
---|
[3d8be25] | 39 | &lfs74_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>
|
---|
[47dc0bf] | 74 |
|
---|
[852554e1] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
[6d8f6dc] | 80 | <ulink url="&patch-root;/cups-&cups-version;-blfs-1.patch"/>
|
---|
[852554e1] | 81 | </para>
|
---|
| 82 | </listitem>
|
---|
[ea48bbe] | 83 | <listitem>
|
---|
| 84 | <para>
|
---|
| 85 | Optional patch:
|
---|
| 86 | <ulink url="&patch-root;/cups-&cups-version;-content_type-1.patch"/>
|
---|
| 87 | </para>
|
---|
| 88 | </listitem>
|
---|
[852554e1] | 89 | </itemizedlist>
|
---|
| 90 |
|
---|
[47dc0bf] | 91 | <bridgehead renderas="sect3">Cups Dependencies</bridgehead>
|
---|
[536fac5] | 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[14d01d8] | 94 | <para role="recommended">
|
---|
[89475857] | 95 | <xref linkend="colord"/>,
|
---|
[93343b6] | 96 | <xref linkend="dbus"/>, and
|
---|
[89475857] | 97 | <xref linkend="libusb"/>
|
---|
[14d01d8] | 98 | </para>
|
---|
[536fac5] | 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[bc6e56d] | 101 | <para role="optional">
|
---|
[14d01d8] | 102 | <xref linkend="acl"/>,
|
---|
[89475857] | 103 | <xref linkend="avahi"/>,
|
---|
| 104 | <xref linkend="gnutls"/> or <xref linkend="openssl"/>,
|
---|
| 105 | <ulink
|
---|
| 106 | url="http://packages.debian.org/source/sid/libpaper">libpaper</ulink>,
|
---|
[14d01d8] | 107 | <xref linkend="linux-pam"/>,
|
---|
[89475857] | 108 | <xref linkend="mitkrb"/>,
|
---|
| 109 | <xref linkend="openjdk"/>,
|
---|
[14d01d8] | 110 | <xref linkend="php"/>,
|
---|
[93343b6] | 111 | <xref linkend="python2"/>, and
|
---|
[89475857] | 112 | <xref linkend="xdg-utils"/>
|
---|
[14d01d8] | 113 | </para>
|
---|
[536fac5] | 114 |
|
---|
[dcbd2c6] | 115 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
| 116 | <para role="optional"><!-- Yes, optional -->
|
---|
| 117 | <xref linkend="cups-filters"/>
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
[977061b0] | 120 | <para condition="html" role="usernotes">User Notes:
|
---|
[89475857] | 121 | <ulink url="&blfs-wiki;/cups"/>
|
---|
| 122 | </para>
|
---|
[536fac5] | 123 | </sect2>
|
---|
| 124 |
|
---|
[47dc0bf] | 125 | <sect2 role="kernel" id="cups-kernel">
|
---|
| 126 | <title>Kernel Configuration</title>
|
---|
| 127 |
|
---|
[89475857] | 128 | <note>
|
---|
| 129 | <para>
|
---|
| 130 | There is a conflict between the <application>Cups</application>
|
---|
| 131 | <application>libusb</application> backend and the usblp kernel
|
---|
| 132 | driver. If you want to use <application>Cups</application> with
|
---|
[2946338a] | 133 | <application>libusb</application>, <emphasis>do not</emphasis>
|
---|
[89475857] | 134 | enable USB Printer support in your kernel.
|
---|
| 135 | </para>
|
---|
| 136 | </note>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
[2946338a] | 139 | If you want to use the kernel usblp driver, enable the following
|
---|
[89475857] | 140 | options in your kernel configuration and recompile the kernel:
|
---|
| 141 | </para>
|
---|
[47dc0bf] | 142 |
|
---|
| 143 | <screen>Device Drivers --->
|
---|
[2cf3f8a] | 144 | USB support --->
|
---|
| 145 | OHCI HCD (USB 1.1) support: Y or M
|
---|
| 146 | UHCI HCD (most Intel and VIA) support: Y or M
|
---|
| 147 | USB Printer support: Y or M</screen>
|
---|
[47dc0bf] | 148 |
|
---|
[89475857] | 149 | <para>
|
---|
[2946338a] | 150 | If you have a parallel printer, enable the following options in your
|
---|
[89475857] | 151 | kernel configuration and recompile the kernel:
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <screen><literal>Device Drivers --->
|
---|
[2cf3f8a] | 155 | Parallel port support --->
|
---|
| 156 | PC-style hardware: Y or M
|
---|
[89475857] | 157 | Character devices --->
|
---|
[2cf3f8a] | 158 | Parallel printer support: Y or M</literal></screen>
|
---|
[89475857] | 159 |
|
---|
[47dc0bf] | 160 | <indexterm zone="cups cups-kernel">
|
---|
| 161 | <primary sortas="d-cups">cups</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
[536fac5] | 166 | <sect2 role="installation">
|
---|
[47dc0bf] | 167 | <title>Installation of Cups</title>
|
---|
[536fac5] | 168 |
|
---|
[89475857] | 169 | <para>
|
---|
[2946338a] | 170 | You will need to add an <systemitem class="username">lp</systemitem>
|
---|
[89475857] | 171 | user, as <application>Cups</application> will create some files owned
|
---|
| 172 | by this user. (The <systemitem class="username">lp</systemitem> user
|
---|
| 173 | is the default used by <application>Cups</application>, but may be
|
---|
| 174 | changed to a different user by passing a parameter to the
|
---|
| 175 | <command>configure</command> script.) Use the following command as
|
---|
| 176 | the <systemitem class="username">root</systemitem> user:
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
| 179 | <screen role="root"><userinput>useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp</userinput></screen>
|
---|
[536fac5] | 180 |
|
---|
[89475857] | 181 | <para>
|
---|
[2946338a] | 182 | You will also need a dedicated group that will contain users allowed to
|
---|
[89475857] | 183 | do <application>Cups</application> administrative tasks. Add the group
|
---|
| 184 | by running the following command as the
|
---|
| 185 | <systemitem class="username">root</systemitem> user:
|
---|
| 186 | </para>
|
---|
[536fac5] | 187 |
|
---|
[89475857] | 188 | <screen role="root"><userinput>groupadd -g 19 lpadmin</userinput></screen>
|
---|
[536fac5] | 189 |
|
---|
[89475857] | 190 | <para>
|
---|
[2946338a] | 191 | If you want to add a user to the <application>Cups</application>
|
---|
[89475857] | 192 | administrative group, run the following command as the
|
---|
| 193 | <systemitem class="username">root</systemitem> user:
|
---|
| 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <screen role="root"><userinput>usermod -a -G lpadmin <replaceable><username></replaceable></userinput></screen>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | If you didn't install <xref linkend="xdg-utils"/>, use the following
|
---|
| 200 | <command>sed</command> to change the default browser that will be used
|
---|
| 201 | to access the <application>Cups</application> web interface:
|
---|
| 202 | </para>
|
---|
| 203 |
|
---|
| 204 | <screen><userinput>sed -i 's#@CUPS_HTMLVIEW@#firefox#' desktop/cups.desktop.in</userinput></screen>
|
---|
| 205 |
|
---|
| 206 | <para>
|
---|
| 207 | Replace <command>firefox</command> with the web browser of your
|
---|
| 208 | choice.
|
---|
| 209 | </para>
|
---|
| 210 |
|
---|
[ea48bbe] | 211 | <para>
|
---|
[217a32d1] | 212 | If you need to access a remote <application>Cups</application> print
|
---|
| 213 | server, use the following patch:
|
---|
[ea48bbe] | 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <screen><userinput>patch -Np1 -i ../cups-&cups-version;-content_type-1.patch</userinput></screen>
|
---|
| 217 |
|
---|
[89475857] | 218 | <para>
|
---|
| 219 | Install <application>Cups</application> by running the
|
---|
| 220 | following commands:
|
---|
| 221 | </para>
|
---|
| 222 |
|
---|
| 223 | <!-- docdir is also document root for cups administration interface, so
|
---|
[0d7900a] | 224 | let's just put it in /usr/share/cups/doc and create symlink in
|
---|
[6d8f6dc] | 225 | /usr/share/doc
|
---|
| 226 | When not using libdir switch, CUPS will install libraries into /usr/lib64
|
---|
[abc1ddb] | 227 | on a 64 bit system, and since /usr/lib64 is symlink to /usr/lib it might
|
---|
| 228 | introduce some difficulties with packaging -->
|
---|
[6d8f6dc] | 229 | <screen><userinput>patch -Np1 -i ../cups-&cups-version;-blfs-1.patch &&
|
---|
[abc1ddb] | 230 | aclocal -I config-scripts &&
|
---|
| 231 | autoconf -I config-scripts &&
|
---|
[93343b6] | 232 |
|
---|
[8fcce61] | 233 | CC=gcc \
|
---|
[93343b6] | 234 | ./configure --libdir=/usr/lib \
|
---|
| 235 | --with-rcdir=/tmp/cupsinit \
|
---|
[89475857] | 236 | --with-docdir=/usr/share/cups/doc \
|
---|
[93343b6] | 237 | --with-system-groups=lpadmin &&
|
---|
[536fac5] | 238 | make</userinput></screen>
|
---|
| 239 |
|
---|
[89475857] | 240 | <para>
|
---|
[abc1ddb] | 241 | This package does not have a working testsuite.
|
---|
[89475857] | 242 | </para>
|
---|
[24962f9] | 243 |
|
---|
[89475857] | 244 | <para>
|
---|
| 245 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 246 | user:
|
---|
| 247 | </para>
|
---|
[536fac5] | 248 |
|
---|
[2cf3f8a] | 249 | <!-- dev note: make BUILDROOT=<DESTDIR> install -->
|
---|
| 250 |
|
---|
[5c52c23] | 251 | <screen role="root"><userinput>make install &&
|
---|
[89475857] | 252 | rm -rf /tmp/cupsinit &&
|
---|
| 253 | ln -sv ../cups/doc /usr/share/doc/cups-&cups-version;</userinput></screen>
|
---|
| 254 |
|
---|
| 255 | <para>
|
---|
[2946338a] | 256 | Create a basic <application>Cups</application> client configuration
|
---|
[3a55bfe] | 257 | file by running the following command as the
|
---|
| 258 | <systemitem class="username">root</systemitem> user:
|
---|
| 259 | </para>
|
---|
| 260 |
|
---|
| 261 | <screen role="root"><userinput>echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
|
---|
| 262 |
|
---|
| 263 | <para>
|
---|
[2946338a] | 264 | Remove filters that are now part of the <application>Cups Filters</application>
|
---|
[3a55bfe] | 265 | package by running the following commands as the
|
---|
[89475857] | 266 | <systemitem class="username">root</systemitem> user:
|
---|
| 267 | </para>
|
---|
[536fac5] | 268 |
|
---|
[3a55bfe] | 269 | <screen role="root"><userinput>rm -rf /usr/share/cups/banners &&
|
---|
| 270 | rm -rf /usr/share/cups/data/testprint</userinput></screen>
|
---|
[89475857] | 271 |
|
---|
[2946338a] | 272 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 273 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
[6d8f6dc] | 274 |
|
---|
[536fac5] | 275 | </sect2>
|
---|
| 276 |
|
---|
| 277 | <sect2 role="commands">
|
---|
| 278 | <title>Command Explanations</title>
|
---|
| 279 |
|
---|
[93343b6] | 280 | <para>
|
---|
| 281 | <envar>CC=gcc</envar>: This environment variable ensures that gcc
|
---|
| 282 | is used if clang is installed. The build fails with the clang compiler.
|
---|
| 283 | </para>
|
---|
| 284 |
|
---|
[89475857] | 285 | <para>
|
---|
| 286 | <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells
|
---|
[2946338a] | 287 | the build process to install the shipped bootscript into
|
---|
[89475857] | 288 | <filename class="directory">/tmp</filename> instead of
|
---|
| 289 | <filename class="directory">/etc/rc.d</filename>.
|
---|
| 290 | </para>
|
---|
| 291 |
|
---|
| 292 | <para>
|
---|
| 293 | <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
|
---|
[2946338a] | 294 | that only <systemitem class="groupname">lpadmin</systemitem> will be used as
|
---|
[89475857] | 295 | the <application>Cups</application> administrative group.
|
---|
| 296 | </para>
|
---|
[47dc0bf] | 297 |
|
---|
[89475857] | 298 | <para>
|
---|
| 299 | <option>--disable-libusb</option>: Use this switch if you have installed
|
---|
| 300 | <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
|
---|
| 301 | </para>
|
---|
[47dc0bf] | 302 |
|
---|
[89475857] | 303 | <para>
|
---|
| 304 | <option>--enable-libpaper</option>: Use this switch if you have installed
|
---|
| 305 | <application>libpaper</application> and wish to use it with
|
---|
| 306 | <application>Cups</application>.
|
---|
| 307 | </para>
|
---|
[47dc0bf] | 308 |
|
---|
[89475857] | 309 | <para>
|
---|
[2946338a] | 310 | <option>--disable-gnutls --enable-openssl</option>: This switch tells the build
|
---|
[89475857] | 311 | process to use <xref linkend="openssl"/> instead of <xref linkend="gnutls"/>.
|
---|
[2946338a] | 312 | The current version of <application>GnuTLS</application> might produce lot of
|
---|
[89475857] | 313 | warnings during the <application>Cups</application> build.
|
---|
| 314 | </para>
|
---|
[536fac5] | 315 |
|
---|
| 316 | </sect2>
|
---|
| 317 |
|
---|
| 318 | <sect2 role="configuration">
|
---|
[47dc0bf] | 319 | <title>Configuring Cups</title>
|
---|
[536fac5] | 320 |
|
---|
[2cf3f8a] | 321 | <sect3 id="cups-config">
|
---|
| 322 | <title>Config Files</title>
|
---|
[89475857] | 323 |
|
---|
[2cf3f8a] | 324 | <para><filename>/etc/cups/*</filename></para>
|
---|
| 325 |
|
---|
| 326 | <indexterm zone="cups cups-config">
|
---|
| 327 | <primary sortas="e-etc-cups">/etc/cups/*</primary>
|
---|
| 328 | </indexterm>
|
---|
| 329 |
|
---|
| 330 | </sect3>
|
---|
| 331 |
|
---|
| 332 | <sect3>
|
---|
| 333 | <title>Configuration Information</title>
|
---|
| 334 |
|
---|
| 335 | <para>
|
---|
| 336 | Configuration of <application>Cups</application> is dependent on
|
---|
| 337 | the type of printer and can be complex. Generally, PostScript printers
|
---|
| 338 | are easier. For detailed instructions on configuration and use of
|
---|
| 339 | <application>Cups</application>, see <ulink
|
---|
| 340 | url="http://www.cups.org/documentation.php"/>. The Software
|
---|
| 341 | Administrators Manual and Software Users Manual are particularly useful.
|
---|
| 342 | </para>
|
---|
| 343 |
|
---|
| 344 | <para>
|
---|
| 345 | For non-PostScript printers to print with
|
---|
| 346 | <application>Cups</application>, you need to install <xref linkend="gs"/>
|
---|
| 347 | to convert PostScript to raster images and a driver (e.g., from
|
---|
| 348 | <xref linkend="gutenprint"/>) to convert the resulting raster images to a
|
---|
| 349 | form that the printer understands.
|
---|
| 350 | <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
|
---|
| 351 | drivers use Ghostscript to convert PostScript to a printable form directly,
|
---|
| 352 | but this is considered to be a hack by <application>Cups</application>
|
---|
| 353 | developers.
|
---|
| 354 | </para>
|
---|
| 355 |
|
---|
| 356 | </sect3>
|
---|
[89475857] | 357 |
|
---|
[32d0e29] | 358 | <sect3 id="cups-init">
|
---|
[536fac5] | 359 | <title>Boot Script</title>
|
---|
| 360 |
|
---|
[89475857] | 361 | <para>
|
---|
[2946338a] | 362 | If you want the <application>Cups</application> print service to start
|
---|
[89475857] | 363 | automatically when the system is booted, install the init
|
---|
| 364 | script included in the <xref linkend="bootscripts"/>
|
---|
| 365 | package:
|
---|
| 366 | </para>
|
---|
[536fac5] | 367 |
|
---|
| 368 | <indexterm zone="cups cups-init">
|
---|
| 369 | <primary sortas="f-cups">cups</primary>
|
---|
| 370 | </indexterm>
|
---|
| 371 |
|
---|
| 372 | <screen role="root"><userinput>make install-cups</userinput></screen>
|
---|
| 373 |
|
---|
| 374 | </sect3>
|
---|
| 375 |
|
---|
| 376 | </sect2>
|
---|
| 377 |
|
---|
| 378 | <sect2 role="content">
|
---|
| 379 | <title>Contents</title>
|
---|
| 380 |
|
---|
| 381 | <segmentedlist>
|
---|
| 382 | <segtitle>Installed Programs</segtitle>
|
---|
| 383 | <segtitle>Installed Libraries</segtitle>
|
---|
| 384 | <segtitle>Installed Directories</segtitle>
|
---|
| 385 |
|
---|
| 386 | <seglistitem>
|
---|
[89475857] | 387 | <seg>
|
---|
| 388 | accept, cancel, cupsaccept, cupsaddsmb, cups-config,
|
---|
| 389 | cupsctl, cupsd, cupsdisable, cupsenable, cupsfilter,
|
---|
[95a4ee3] | 390 | cupsreject, cupstestdsc, cupstestppd, ippfind, ipptool,
|
---|
| 391 | lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
|
---|
[89475857] | 392 | lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge,
|
---|
| 393 | ppdpo and reject
|
---|
| 394 | </seg>
|
---|
| 395 | <seg>
|
---|
| 396 | libcupscgi.so, libcupsimage.so, libcupsmime.so,
|
---|
| 397 | libcupsppdc.so and libcups.so
|
---|
| 398 | </seg>
|
---|
| 399 | <seg>
|
---|
| 400 | /etc/cups,
|
---|
| 401 | /usr/include/cups,
|
---|
| 402 | /usr/lib/cups,
|
---|
| 403 | /usr/share/cups,
|
---|
| 404 | /usr/share/doc/cups-&cups-version;,
|
---|
| 405 | /var/cache/cups,
|
---|
| 406 | /var/log/cups,
|
---|
| 407 | /var/run/cups and
|
---|
| 408 | /var/spool/cups
|
---|
| 409 | </seg>
|
---|
[536fac5] | 410 | </seglistitem>
|
---|
| 411 | </segmentedlist>
|
---|
| 412 |
|
---|
| 413 | <variablelist>
|
---|
| 414 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 415 | <?dbfo list-presentation="list"?>
|
---|
| 416 | <?dbhtml list-presentation="table"?>
|
---|
| 417 |
|
---|
| 418 | <varlistentry id="accept">
|
---|
| 419 | <term><command>accept</command></term>
|
---|
| 420 | <listitem>
|
---|
[89475857] | 421 | <para>
|
---|
| 422 | instructs the printing system to accept print jobs to the
|
---|
| 423 | specified destinations.
|
---|
| 424 | </para>
|
---|
[536fac5] | 425 | <indexterm zone="cups accept">
|
---|
| 426 | <primary sortas="b-accept">accept</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="cancel-cups">
|
---|
| 432 | <term><command>cancel</command></term>
|
---|
| 433 | <listitem>
|
---|
[89475857] | 434 | <para>
|
---|
| 435 | cancels existing print jobs from the print queues.
|
---|
| 436 | </para>
|
---|
[536fac5] | 437 | <indexterm zone="cups cancel-cups">
|
---|
| 438 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 439 | </indexterm>
|
---|
| 440 | </listitem>
|
---|
| 441 | </varlistentry>
|
---|
| 442 |
|
---|
[89475857] | 443 | <varlistentry id="cupsaddsmb">
|
---|
| 444 | <term><command>cupsaddsmb</command></term>
|
---|
| 445 | <listitem>
|
---|
| 446 | <para>
|
---|
| 447 | exports printers to the <application>Samba</application>
|
---|
| 448 | software for use with Windows clients.
|
---|
| 449 | </para>
|
---|
| 450 | <indexterm zone="cups cupsaddsmb">
|
---|
| 451 | <primary sortas="b-cupsaddsmb">cupsaddsmb</primary>
|
---|
| 452 | </indexterm>
|
---|
| 453 | </listitem>
|
---|
| 454 | </varlistentry>
|
---|
| 455 |
|
---|
[2cf3f8a] | 456 | <varlistentry id="cups-config-prog">
|
---|
[536fac5] | 457 | <term><command>cups-config</command></term>
|
---|
| 458 | <listitem>
|
---|
[89475857] | 459 | <para>
|
---|
| 460 | is a <application>Cups</application>
|
---|
| 461 | program configuration utility.
|
---|
| 462 | </para>
|
---|
[2cf3f8a] | 463 | <indexterm zone="cups cups-config-prog">
|
---|
[536fac5] | 464 | <primary sortas="b-cups-config">cups-config</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
[89475857] | 469 | <varlistentry id="cupsctl">
|
---|
| 470 | <term><command>cupsctl</command></term>
|
---|
[536fac5] | 471 | <listitem>
|
---|
[89475857] | 472 | <para>
|
---|
| 473 | updates or queries the cupsd.conf file for a server.
|
---|
| 474 | </para>
|
---|
| 475 | <indexterm zone="cups cupsctl">
|
---|
| 476 | <primary sortas="b-cupsctl">cupsctl</primary>
|
---|
[536fac5] | 477 | </indexterm>
|
---|
| 478 | </listitem>
|
---|
| 479 | </varlistentry>
|
---|
| 480 |
|
---|
| 481 | <varlistentry id="cupsd">
|
---|
| 482 | <term><command>cupsd</command></term>
|
---|
| 483 | <listitem>
|
---|
[89475857] | 484 | <para>
|
---|
| 485 | is the scheduler for the Common Unix Printing System.
|
---|
| 486 | </para>
|
---|
[536fac5] | 487 | <indexterm zone="cups cupsd">
|
---|
| 488 | <primary sortas="b-cupsd">cupsd</primary>
|
---|
| 489 | </indexterm>
|
---|
| 490 | </listitem>
|
---|
| 491 | </varlistentry>
|
---|
| 492 |
|
---|
[89475857] | 493 | <varlistentry id="cupsfilter">
|
---|
| 494 | <term><command>cupsfilter</command></term>
|
---|
[536fac5] | 495 | <listitem>
|
---|
[89475857] | 496 | <para>
|
---|
[0d7900a] | 497 | is a front-end to the <application>Cups</application>
|
---|
[89475857] | 498 | filter subsystem which allows you to convert a file
|
---|
| 499 | to a specific format.
|
---|
| 500 | </para>
|
---|
| 501 | <indexterm zone="cups cupsfilter">
|
---|
| 502 | <primary sortas="b-cupsfilter">cupsfilter</primary>
|
---|
[536fac5] | 503 | </indexterm>
|
---|
| 504 | </listitem>
|
---|
| 505 | </varlistentry>
|
---|
| 506 |
|
---|
[89475857] | 507 | <varlistentry id="cupstestdsc">
|
---|
| 508 | <term><command>cupstestdsc</command></term>
|
---|
[536fac5] | 509 | <listitem>
|
---|
[89475857] | 510 | <para>
|
---|
| 511 | tests the conformance of PostScript files.
|
---|
| 512 | </para>
|
---|
| 513 | <indexterm zone="cups cupstestdsc">
|
---|
| 514 | <primary sortas="b-cupstestdsc">cupstestdsc</primary>
|
---|
| 515 | </indexterm>
|
---|
| 516 | </listitem>
|
---|
| 517 | </varlistentry>
|
---|
| 518 |
|
---|
| 519 | <varlistentry id="cupstestppd">
|
---|
| 520 | <term><command>cupstestppd</command></term>
|
---|
| 521 | <listitem>
|
---|
| 522 | <para>
|
---|
| 523 | tests the conformance of PPD files.
|
---|
| 524 | </para>
|
---|
| 525 | <indexterm zone="cups cupstestppd">
|
---|
| 526 | <primary sortas="b-cupstestppd">cupstestppd</primary>
|
---|
[536fac5] | 527 | </indexterm>
|
---|
| 528 | </listitem>
|
---|
| 529 | </varlistentry>
|
---|
| 530 |
|
---|
[95a4ee3] | 531 | <varlistentry id="ippfind">
|
---|
| 532 | <term><command>ippfind</command></term>
|
---|
| 533 | <listitem>
|
---|
| 534 | <para>
|
---|
| 535 | finds internet printing protocol printers.
|
---|
| 536 | </para>
|
---|
| 537 | <indexterm zone="cups ippfind">
|
---|
| 538 | <primary sortas="b-ippfind">ippfind</primary>
|
---|
| 539 | </indexterm>
|
---|
| 540 | </listitem>
|
---|
| 541 | </varlistentry>
|
---|
| 542 |
|
---|
[89475857] | 543 | <varlistentry id="ipptool">
|
---|
| 544 | <term><command>ipptool</command></term>
|
---|
[536fac5] | 545 | <listitem>
|
---|
[89475857] | 546 | <para>
|
---|
| 547 | sends IPP requests to the specified URI and tests
|
---|
| 548 | and/or displays the results.
|
---|
| 549 | </para>
|
---|
| 550 | <indexterm zone="cups ipptool">
|
---|
| 551 | <primary sortas="b-ipptool">ipptool</primary>
|
---|
[536fac5] | 552 | </indexterm>
|
---|
| 553 | </listitem>
|
---|
| 554 | </varlistentry>
|
---|
| 555 |
|
---|
| 556 | <varlistentry id="lp-cups">
|
---|
| 557 | <term><command>lp</command></term>
|
---|
| 558 | <listitem>
|
---|
[89475857] | 559 | <para>
|
---|
| 560 | submits files for printing or alters a pending job.
|
---|
| 561 | </para>
|
---|
[536fac5] | 562 | <indexterm zone="cups lp-cups">
|
---|
| 563 | <primary sortas="b-lp">lp</primary>
|
---|
| 564 | </indexterm>
|
---|
| 565 | </listitem>
|
---|
| 566 | </varlistentry>
|
---|
| 567 |
|
---|
| 568 | <varlistentry id="lpadmin">
|
---|
| 569 | <term><command>lpadmin</command></term>
|
---|
| 570 | <listitem>
|
---|
[89475857] | 571 | <para>
|
---|
| 572 | configures printer and class queues provided by
|
---|
| 573 | <application>Cups</application>.
|
---|
| 574 | </para>
|
---|
[536fac5] | 575 | <indexterm zone="cups lpadmin">
|
---|
| 576 | <primary sortas="b-lpadmin">lpadmin</primary>
|
---|
| 577 | </indexterm>
|
---|
| 578 | </listitem>
|
---|
| 579 | </varlistentry>
|
---|
| 580 |
|
---|
| 581 | <varlistentry id="lpc-cups">
|
---|
| 582 | <term><command>lpc</command></term>
|
---|
| 583 | <listitem>
|
---|
[89475857] | 584 | <para>
|
---|
| 585 | provides limited control over printer and class queues
|
---|
| 586 | provided by <application>Cups</application>.
|
---|
| 587 | </para>
|
---|
[536fac5] | 588 | <indexterm zone="cups lpc-cups">
|
---|
| 589 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 590 | </indexterm>
|
---|
| 591 | </listitem>
|
---|
| 592 | </varlistentry>
|
---|
| 593 |
|
---|
| 594 | <varlistentry id="lpinfo">
|
---|
| 595 | <term><command>lpinfo</command></term>
|
---|
| 596 | <listitem>
|
---|
[89475857] | 597 | <para>
|
---|
| 598 | lists the available devices or drivers known to the
|
---|
| 599 | <application>Cups</application> server.
|
---|
| 600 | </para>
|
---|
[536fac5] | 601 | <indexterm zone="cups lpinfo">
|
---|
| 602 | <primary sortas="b-lpinfo">lpinfo</primary>
|
---|
| 603 | </indexterm>
|
---|
| 604 | </listitem>
|
---|
| 605 | </varlistentry>
|
---|
| 606 |
|
---|
| 607 | <varlistentry id="lpmove">
|
---|
| 608 | <term><command>lpmove</command></term>
|
---|
| 609 | <listitem>
|
---|
[89475857] | 610 | <para>
|
---|
| 611 | moves the specified job to a new destination.
|
---|
| 612 | </para>
|
---|
[536fac5] | 613 | <indexterm zone="cups lpmove">
|
---|
| 614 | <primary sortas="b-lpmove">lpmove</primary>
|
---|
| 615 | </indexterm>
|
---|
| 616 | </listitem>
|
---|
| 617 | </varlistentry>
|
---|
| 618 |
|
---|
| 619 | <varlistentry id="lpoptions">
|
---|
| 620 | <term><command>lpoptions</command></term>
|
---|
| 621 | <listitem>
|
---|
[89475857] | 622 | <para>
|
---|
| 623 | displays or sets printer options and defaults.
|
---|
| 624 | </para>
|
---|
[536fac5] | 625 | <indexterm zone="cups lpoptions">
|
---|
| 626 | <primary sortas="b-lpoptions">lpoptions</primary>
|
---|
| 627 | </indexterm>
|
---|
| 628 | </listitem>
|
---|
| 629 | </varlistentry>
|
---|
| 630 |
|
---|
| 631 | <varlistentry id="lppasswd">
|
---|
| 632 | <term><command>lppasswd</command></term>
|
---|
| 633 | <listitem>
|
---|
[89475857] | 634 | <para>
|
---|
| 635 | adds, changes or deletes passwords in the
|
---|
| 636 | <application>Cups</application> digest password file
|
---|
| 637 | <filename>passwd.md5</filename>.
|
---|
| 638 | </para>
|
---|
[536fac5] | 639 | <indexterm zone="cups lppasswd">
|
---|
| 640 | <primary sortas="b-lppasswd">lppasswd</primary>
|
---|
| 641 | </indexterm>
|
---|
| 642 | </listitem>
|
---|
| 643 | </varlistentry>
|
---|
| 644 |
|
---|
| 645 | <varlistentry id="lpq-cups">
|
---|
| 646 | <term><command>lpq</command></term>
|
---|
| 647 | <listitem>
|
---|
[89475857] | 648 | <para>
|
---|
| 649 | shows the current print queue status on the named printer.
|
---|
| 650 | </para>
|
---|
[536fac5] | 651 | <indexterm zone="cups lpq-cups">
|
---|
| 652 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 653 | </indexterm>
|
---|
| 654 | </listitem>
|
---|
| 655 | </varlistentry>
|
---|
| 656 |
|
---|
| 657 | <varlistentry id="lpr-cups">
|
---|
| 658 | <term><command>lpr</command></term>
|
---|
| 659 | <listitem>
|
---|
[89475857] | 660 | <para>
|
---|
| 661 | submits files for printing.
|
---|
| 662 | </para>
|
---|
[536fac5] | 663 | <indexterm zone="cups lpr-cups">
|
---|
| 664 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 665 | </indexterm>
|
---|
| 666 | </listitem>
|
---|
| 667 | </varlistentry>
|
---|
| 668 |
|
---|
| 669 | <varlistentry id="lprm-cups">
|
---|
| 670 | <term><command>lprm</command></term>
|
---|
| 671 | <listitem>
|
---|
[89475857] | 672 | <para>
|
---|
| 673 | cancels print jobs that have been queued for printing.
|
---|
| 674 | </para>
|
---|
[536fac5] | 675 | <indexterm zone="cups lprm-cups">
|
---|
| 676 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 677 | </indexterm>
|
---|
| 678 | </listitem>
|
---|
| 679 | </varlistentry>
|
---|
| 680 |
|
---|
| 681 | <varlistentry id="lpstat-cups">
|
---|
| 682 | <term><command>lpstat</command></term>
|
---|
| 683 | <listitem>
|
---|
[89475857] | 684 | <para>
|
---|
| 685 | displays status information about the current classes, jobs,
|
---|
| 686 | and printers.
|
---|
| 687 | </para>
|
---|
[536fac5] | 688 | <indexterm zone="cups lpstat-cups">
|
---|
| 689 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 690 | </indexterm>
|
---|
| 691 | </listitem>
|
---|
| 692 | </varlistentry>
|
---|
| 693 |
|
---|
[89475857] | 694 | <varlistentry id="ppdc">
|
---|
| 695 | <term><command>ppdc</command></term>
|
---|
| 696 | <listitem>
|
---|
| 697 | <para>
|
---|
| 698 | compiles PPDC source files into one or more PPD files.
|
---|
| 699 | </para>
|
---|
| 700 | <indexterm zone="cups ppdc">
|
---|
| 701 | <primary sortas="b-ppdc">ppdc</primary>
|
---|
| 702 | </indexterm>
|
---|
| 703 | </listitem>
|
---|
| 704 | </varlistentry>
|
---|
| 705 |
|
---|
| 706 | <varlistentry id="ppdhtml">
|
---|
| 707 | <term><command>ppdhtml</command></term>
|
---|
| 708 | <listitem>
|
---|
| 709 | <para>
|
---|
| 710 | reads a driver information file and produces a HTML summary
|
---|
| 711 | page that lists all of the drivers in a file and the
|
---|
| 712 | supported options.
|
---|
| 713 | </para>
|
---|
| 714 | <indexterm zone="cups ppdhtml">
|
---|
| 715 | <primary sortas="b-ppdhtml">ppdhtml</primary>
|
---|
| 716 | </indexterm>
|
---|
| 717 | </listitem>
|
---|
| 718 | </varlistentry>
|
---|
| 719 |
|
---|
| 720 | <varlistentry id="ppdi">
|
---|
| 721 | <term><command>ppdi</command></term>
|
---|
| 722 | <listitem>
|
---|
| 723 | <para>
|
---|
| 724 | imports one or more PPD files into a PPD compiler source file.
|
---|
| 725 | </para>
|
---|
| 726 | <indexterm zone="cups ppdi">
|
---|
| 727 | <primary sortas="b-ppdi">ppdi</primary>
|
---|
| 728 | </indexterm>
|
---|
| 729 | </listitem>
|
---|
| 730 | </varlistentry>
|
---|
| 731 |
|
---|
| 732 | <varlistentry id="ppdmerge">
|
---|
| 733 | <term><command>ppdmerge</command></term>
|
---|
| 734 | <listitem>
|
---|
| 735 | <para>
|
---|
| 736 | merges two or more PPD files into a single, multi-language
|
---|
| 737 | PPD file.
|
---|
| 738 | </para>
|
---|
| 739 | <indexterm zone="cups ppdmerge">
|
---|
| 740 | <primary sortas="b-ppdmerge">ppdmerge</primary>
|
---|
| 741 | </indexterm>
|
---|
| 742 | </listitem>
|
---|
| 743 | </varlistentry>
|
---|
| 744 |
|
---|
| 745 | <varlistentry id="ppdpo">
|
---|
| 746 | <term><command>ppdpo</command></term>
|
---|
| 747 | <listitem>
|
---|
| 748 | <para>
|
---|
| 749 | extracts UI strings from PPDC source files and
|
---|
| 750 | updates either a GNU gettext or Mac OS X strings
|
---|
| 751 | format message catalog source file for translation.
|
---|
| 752 | </para>
|
---|
| 753 | <indexterm zone="cups ppdpo">
|
---|
| 754 | <primary sortas="b-ppdpo">ppdpo</primary>
|
---|
| 755 | </indexterm>
|
---|
| 756 | </listitem>
|
---|
| 757 | </varlistentry>
|
---|
| 758 |
|
---|
[536fac5] | 759 | <varlistentry id="reject">
|
---|
| 760 | <term><command>reject</command></term>
|
---|
| 761 | <listitem>
|
---|
[89475857] | 762 | <para>
|
---|
| 763 | instructs the printing system to reject print jobs to the
|
---|
| 764 | specified destinations.
|
---|
| 765 | </para>
|
---|
[536fac5] | 766 | <indexterm zone="cups reject">
|
---|
| 767 | <primary sortas="b-reject">reject</primary>
|
---|
| 768 | </indexterm>
|
---|
| 769 | </listitem>
|
---|
| 770 | </varlistentry>
|
---|
| 771 |
|
---|
[89475857] | 772 | <varlistentry id="libcups">
|
---|
| 773 | <term><filename class="libraryfile">libcups.so</filename></term>
|
---|
| 774 | <listitem>
|
---|
| 775 | <para>
|
---|
| 776 | contains the <application>Cups</application> API functions.
|
---|
| 777 | </para>
|
---|
| 778 | <indexterm zone="cups libcups">
|
---|
| 779 | <primary sortas="c-libcups">libcups.so</primary>
|
---|
| 780 | </indexterm>
|
---|
| 781 | </listitem>
|
---|
| 782 | </varlistentry>
|
---|
| 783 |
|
---|
[536fac5] | 784 | </variablelist>
|
---|
| 785 |
|
---|
| 786 | </sect2>
|
---|
[c78533e] | 787 |
|
---|
| 788 | </sect1>
|
---|