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