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