[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 " ">
|
---|
[f0cd0274] | 9 | <!ENTITY cups-md5sum "f06a997d4b71b81b23324e27174f93e7">
|
---|
[95a4ee3] | 10 | <!ENTITY cups-size "8.4 MB">
|
---|
[f0cd0274] | 11 | <!ENTITY cups-buildsize "63 MB (additional 16 MB for the tests)">
|
---|
| 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>
|
---|
[a77c2fb] | 83 | <listitem>
|
---|
| 84 | <para>
|
---|
| 85 | Required patch: <!-- should not be needed for 1.7.3 -->
|
---|
| 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 |
|
---|
[5e7d3013] | 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>
|
---|
[89475857] | 237 | <para>
|
---|
| 238 | Install <application>Cups</application> by running the
|
---|
| 239 | following commands:
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
| 242 | <!-- docdir is also document root for cups administration interface, so
|
---|
[0d7900a] | 243 | let's just put it in /usr/share/cups/doc and create symlink in
|
---|
[6d8f6dc] | 244 | /usr/share/doc
|
---|
| 245 | When not using libdir switch, CUPS will install libraries into /usr/lib64
|
---|
[abc1ddb] | 246 | on a 64 bit system, and since /usr/lib64 is symlink to /usr/lib it might
|
---|
| 247 | introduce some difficulties with packaging -->
|
---|
[6d8f6dc] | 248 | <screen><userinput>patch -Np1 -i ../cups-&cups-version;-blfs-1.patch &&
|
---|
[abc1ddb] | 249 | aclocal -I config-scripts &&
|
---|
| 250 | autoconf -I config-scripts &&
|
---|
[93343b6] | 251 |
|
---|
[8fcce61] | 252 | CC=gcc \
|
---|
[93343b6] | 253 | ./configure --libdir=/usr/lib \
|
---|
| 254 | --with-rcdir=/tmp/cupsinit \
|
---|
[89475857] | 255 | --with-docdir=/usr/share/cups/doc \
|
---|
[93343b6] | 256 | --with-system-groups=lpadmin &&
|
---|
[536fac5] | 257 | make</userinput></screen>
|
---|
| 258 |
|
---|
[89475857] | 259 | <para>
|
---|
[f0cd0274] | 260 | To test the results, issue: <command>make -k check</command>. An already
|
---|
| 261 | active graphical session with bus address is necessary to run the tests.
|
---|
| 262 | A small number of tests fail for unknown reasons.
|
---|
[89475857] | 263 | </para>
|
---|
[24962f9] | 264 |
|
---|
[89475857] | 265 | <para>
|
---|
| 266 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 267 | user:
|
---|
| 268 | </para>
|
---|
[536fac5] | 269 |
|
---|
[2cf3f8a] | 270 | <!-- dev note: make BUILDROOT=<DESTDIR> install -->
|
---|
| 271 |
|
---|
[5c52c23] | 272 | <screen role="root"><userinput>make install &&
|
---|
[89475857] | 273 | rm -rf /tmp/cupsinit &&
|
---|
[3ce3eb5] | 274 | ln -svfn ../cups/doc /usr/share/doc/cups-&cups-version;</userinput></screen>
|
---|
[89475857] | 275 |
|
---|
| 276 | <para>
|
---|
[2946338a] | 277 | Create a basic <application>Cups</application> client configuration
|
---|
[3a55bfe] | 278 | file by running the following command as the
|
---|
| 279 | <systemitem class="username">root</systemitem> user:
|
---|
| 280 | </para>
|
---|
| 281 |
|
---|
| 282 | <screen role="root"><userinput>echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
|
---|
| 283 |
|
---|
| 284 | <para>
|
---|
[2946338a] | 285 | Remove filters that are now part of the <application>Cups Filters</application>
|
---|
[3a55bfe] | 286 | package by running the following commands as the
|
---|
[89475857] | 287 | <systemitem class="username">root</systemitem> user:
|
---|
| 288 | </para>
|
---|
[536fac5] | 289 |
|
---|
[3a55bfe] | 290 | <screen role="root"><userinput>rm -rf /usr/share/cups/banners &&
|
---|
| 291 | rm -rf /usr/share/cups/data/testprint</userinput></screen>
|
---|
[89475857] | 292 |
|
---|
[3ce3eb5] | 293 | <note>
|
---|
| 294 | <para>
|
---|
| 295 | If you reinstall or update <application>Cups</application>, commands
|
---|
| 296 | above break <xref linkend="cups-filters"/>, which needs, therefore,
|
---|
| 297 | to be reinstalled.</para>
|
---|
| 298 | </note>
|
---|
| 299 |
|
---|
[2946338a] | 300 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 301 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
[6d8f6dc] | 302 |
|
---|
[536fac5] | 303 | </sect2>
|
---|
| 304 |
|
---|
| 305 | <sect2 role="commands">
|
---|
| 306 | <title>Command Explanations</title>
|
---|
| 307 |
|
---|
[93343b6] | 308 | <para>
|
---|
| 309 | <envar>CC=gcc</envar>: This environment variable ensures that gcc
|
---|
| 310 | is used if clang is installed. The build fails with the clang compiler.
|
---|
| 311 | </para>
|
---|
| 312 |
|
---|
[89475857] | 313 | <para>
|
---|
| 314 | <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells
|
---|
[2946338a] | 315 | the build process to install the shipped bootscript into
|
---|
[89475857] | 316 | <filename class="directory">/tmp</filename> instead of
|
---|
| 317 | <filename class="directory">/etc/rc.d</filename>.
|
---|
| 318 | </para>
|
---|
| 319 |
|
---|
| 320 | <para>
|
---|
| 321 | <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
|
---|
[2946338a] | 322 | that only <systemitem class="groupname">lpadmin</systemitem> will be used as
|
---|
[89475857] | 323 | the <application>Cups</application> administrative group.
|
---|
| 324 | </para>
|
---|
[47dc0bf] | 325 |
|
---|
[89475857] | 326 | <para>
|
---|
| 327 | <option>--disable-libusb</option>: Use this switch if you have installed
|
---|
| 328 | <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
|
---|
| 329 | </para>
|
---|
[47dc0bf] | 330 |
|
---|
[89475857] | 331 | <para>
|
---|
| 332 | <option>--enable-libpaper</option>: Use this switch if you have installed
|
---|
| 333 | <application>libpaper</application> and wish to use it with
|
---|
| 334 | <application>Cups</application>.
|
---|
| 335 | </para>
|
---|
[47dc0bf] | 336 |
|
---|
[89475857] | 337 | <para>
|
---|
[2946338a] | 338 | <option>--disable-gnutls --enable-openssl</option>: This switch tells the build
|
---|
[89475857] | 339 | process to use <xref linkend="openssl"/> instead of <xref linkend="gnutls"/>.
|
---|
[2946338a] | 340 | The current version of <application>GnuTLS</application> might produce lot of
|
---|
[89475857] | 341 | warnings during the <application>Cups</application> build.
|
---|
| 342 | </para>
|
---|
[536fac5] | 343 |
|
---|
| 344 | </sect2>
|
---|
| 345 |
|
---|
| 346 | <sect2 role="configuration">
|
---|
[47dc0bf] | 347 | <title>Configuring Cups</title>
|
---|
[536fac5] | 348 |
|
---|
[2cf3f8a] | 349 | <sect3 id="cups-config">
|
---|
| 350 | <title>Config Files</title>
|
---|
[89475857] | 351 |
|
---|
[2cf3f8a] | 352 | <para><filename>/etc/cups/*</filename></para>
|
---|
| 353 |
|
---|
| 354 | <indexterm zone="cups cups-config">
|
---|
| 355 | <primary sortas="e-etc-cups">/etc/cups/*</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 |
|
---|
| 358 | </sect3>
|
---|
| 359 |
|
---|
| 360 | <sect3>
|
---|
| 361 | <title>Configuration Information</title>
|
---|
| 362 |
|
---|
| 363 | <para>
|
---|
| 364 | Configuration of <application>Cups</application> is dependent on
|
---|
| 365 | the type of printer and can be complex. Generally, PostScript printers
|
---|
| 366 | are easier. For detailed instructions on configuration and use of
|
---|
| 367 | <application>Cups</application>, see <ulink
|
---|
| 368 | url="http://www.cups.org/documentation.php"/>. The Software
|
---|
| 369 | Administrators Manual and Software Users Manual are particularly useful.
|
---|
| 370 | </para>
|
---|
| 371 |
|
---|
| 372 | <para>
|
---|
| 373 | For non-PostScript printers to print with
|
---|
| 374 | <application>Cups</application>, you need to install <xref linkend="gs"/>
|
---|
| 375 | to convert PostScript to raster images and a driver (e.g., from
|
---|
| 376 | <xref linkend="gutenprint"/>) to convert the resulting raster images to a
|
---|
| 377 | form that the printer understands.
|
---|
| 378 | <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
|
---|
| 379 | drivers use Ghostscript to convert PostScript to a printable form directly,
|
---|
| 380 | but this is considered to be a hack by <application>Cups</application>
|
---|
| 381 | developers.
|
---|
| 382 | </para>
|
---|
| 383 |
|
---|
| 384 | </sect3>
|
---|
[89475857] | 385 |
|
---|
[32d0e29] | 386 | <sect3 id="cups-init">
|
---|
[536fac5] | 387 | <title>Boot Script</title>
|
---|
| 388 |
|
---|
[89475857] | 389 | <para>
|
---|
[2946338a] | 390 | If you want the <application>Cups</application> print service to start
|
---|
[89475857] | 391 | automatically when the system is booted, install the init
|
---|
| 392 | script included in the <xref linkend="bootscripts"/>
|
---|
| 393 | package:
|
---|
| 394 | </para>
|
---|
[536fac5] | 395 |
|
---|
| 396 | <indexterm zone="cups cups-init">
|
---|
| 397 | <primary sortas="f-cups">cups</primary>
|
---|
| 398 | </indexterm>
|
---|
| 399 |
|
---|
| 400 | <screen role="root"><userinput>make install-cups</userinput></screen>
|
---|
| 401 |
|
---|
| 402 | </sect3>
|
---|
| 403 |
|
---|
| 404 | </sect2>
|
---|
| 405 |
|
---|
| 406 | <sect2 role="content">
|
---|
| 407 | <title>Contents</title>
|
---|
| 408 |
|
---|
| 409 | <segmentedlist>
|
---|
| 410 | <segtitle>Installed Programs</segtitle>
|
---|
| 411 | <segtitle>Installed Libraries</segtitle>
|
---|
| 412 | <segtitle>Installed Directories</segtitle>
|
---|
| 413 |
|
---|
| 414 | <seglistitem>
|
---|
[89475857] | 415 | <seg>
|
---|
| 416 | accept, cancel, cupsaccept, cupsaddsmb, cups-config,
|
---|
| 417 | cupsctl, cupsd, cupsdisable, cupsenable, cupsfilter,
|
---|
[95a4ee3] | 418 | cupsreject, cupstestdsc, cupstestppd, ippfind, ipptool,
|
---|
| 419 | lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
|
---|
[89475857] | 420 | lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge,
|
---|
| 421 | ppdpo and reject
|
---|
| 422 | </seg>
|
---|
| 423 | <seg>
|
---|
| 424 | libcupscgi.so, libcupsimage.so, libcupsmime.so,
|
---|
| 425 | libcupsppdc.so and libcups.so
|
---|
| 426 | </seg>
|
---|
| 427 | <seg>
|
---|
| 428 | /etc/cups,
|
---|
| 429 | /usr/include/cups,
|
---|
| 430 | /usr/lib/cups,
|
---|
| 431 | /usr/share/cups,
|
---|
| 432 | /usr/share/doc/cups-&cups-version;,
|
---|
| 433 | /var/cache/cups,
|
---|
| 434 | /var/log/cups,
|
---|
| 435 | /var/run/cups and
|
---|
| 436 | /var/spool/cups
|
---|
| 437 | </seg>
|
---|
[536fac5] | 438 | </seglistitem>
|
---|
| 439 | </segmentedlist>
|
---|
| 440 |
|
---|
| 441 | <variablelist>
|
---|
| 442 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 443 | <?dbfo list-presentation="list"?>
|
---|
| 444 | <?dbhtml list-presentation="table"?>
|
---|
| 445 |
|
---|
| 446 | <varlistentry id="accept">
|
---|
| 447 | <term><command>accept</command></term>
|
---|
| 448 | <listitem>
|
---|
[89475857] | 449 | <para>
|
---|
| 450 | instructs the printing system to accept print jobs to the
|
---|
| 451 | specified destinations.
|
---|
| 452 | </para>
|
---|
[536fac5] | 453 | <indexterm zone="cups accept">
|
---|
| 454 | <primary sortas="b-accept">accept</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
| 459 | <varlistentry id="cancel-cups">
|
---|
| 460 | <term><command>cancel</command></term>
|
---|
| 461 | <listitem>
|
---|
[89475857] | 462 | <para>
|
---|
| 463 | cancels existing print jobs from the print queues.
|
---|
| 464 | </para>
|
---|
[536fac5] | 465 | <indexterm zone="cups cancel-cups">
|
---|
| 466 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 467 | </indexterm>
|
---|
| 468 | </listitem>
|
---|
| 469 | </varlistentry>
|
---|
| 470 |
|
---|
[89475857] | 471 | <varlistentry id="cupsaddsmb">
|
---|
| 472 | <term><command>cupsaddsmb</command></term>
|
---|
| 473 | <listitem>
|
---|
| 474 | <para>
|
---|
| 475 | exports printers to the <application>Samba</application>
|
---|
| 476 | software for use with Windows clients.
|
---|
| 477 | </para>
|
---|
| 478 | <indexterm zone="cups cupsaddsmb">
|
---|
| 479 | <primary sortas="b-cupsaddsmb">cupsaddsmb</primary>
|
---|
| 480 | </indexterm>
|
---|
| 481 | </listitem>
|
---|
| 482 | </varlistentry>
|
---|
| 483 |
|
---|
[2cf3f8a] | 484 | <varlistentry id="cups-config-prog">
|
---|
[536fac5] | 485 | <term><command>cups-config</command></term>
|
---|
| 486 | <listitem>
|
---|
[89475857] | 487 | <para>
|
---|
| 488 | is a <application>Cups</application>
|
---|
| 489 | program configuration utility.
|
---|
| 490 | </para>
|
---|
[2cf3f8a] | 491 | <indexterm zone="cups cups-config-prog">
|
---|
[536fac5] | 492 | <primary sortas="b-cups-config">cups-config</primary>
|
---|
| 493 | </indexterm>
|
---|
| 494 | </listitem>
|
---|
| 495 | </varlistentry>
|
---|
| 496 |
|
---|
[89475857] | 497 | <varlistentry id="cupsctl">
|
---|
| 498 | <term><command>cupsctl</command></term>
|
---|
[536fac5] | 499 | <listitem>
|
---|
[89475857] | 500 | <para>
|
---|
| 501 | updates or queries the cupsd.conf file for a server.
|
---|
| 502 | </para>
|
---|
| 503 | <indexterm zone="cups cupsctl">
|
---|
| 504 | <primary sortas="b-cupsctl">cupsctl</primary>
|
---|
[536fac5] | 505 | </indexterm>
|
---|
| 506 | </listitem>
|
---|
| 507 | </varlistentry>
|
---|
| 508 |
|
---|
| 509 | <varlistentry id="cupsd">
|
---|
| 510 | <term><command>cupsd</command></term>
|
---|
| 511 | <listitem>
|
---|
[89475857] | 512 | <para>
|
---|
| 513 | is the scheduler for the Common Unix Printing System.
|
---|
| 514 | </para>
|
---|
[536fac5] | 515 | <indexterm zone="cups cupsd">
|
---|
| 516 | <primary sortas="b-cupsd">cupsd</primary>
|
---|
| 517 | </indexterm>
|
---|
| 518 | </listitem>
|
---|
| 519 | </varlistentry>
|
---|
| 520 |
|
---|
[89475857] | 521 | <varlistentry id="cupsfilter">
|
---|
| 522 | <term><command>cupsfilter</command></term>
|
---|
[536fac5] | 523 | <listitem>
|
---|
[89475857] | 524 | <para>
|
---|
[0d7900a] | 525 | is a front-end to the <application>Cups</application>
|
---|
[89475857] | 526 | filter subsystem which allows you to convert a file
|
---|
| 527 | to a specific format.
|
---|
| 528 | </para>
|
---|
| 529 | <indexterm zone="cups cupsfilter">
|
---|
| 530 | <primary sortas="b-cupsfilter">cupsfilter</primary>
|
---|
[536fac5] | 531 | </indexterm>
|
---|
| 532 | </listitem>
|
---|
| 533 | </varlistentry>
|
---|
| 534 |
|
---|
[89475857] | 535 | <varlistentry id="cupstestdsc">
|
---|
| 536 | <term><command>cupstestdsc</command></term>
|
---|
[536fac5] | 537 | <listitem>
|
---|
[89475857] | 538 | <para>
|
---|
| 539 | tests the conformance of PostScript files.
|
---|
| 540 | </para>
|
---|
| 541 | <indexterm zone="cups cupstestdsc">
|
---|
| 542 | <primary sortas="b-cupstestdsc">cupstestdsc</primary>
|
---|
| 543 | </indexterm>
|
---|
| 544 | </listitem>
|
---|
| 545 | </varlistentry>
|
---|
| 546 |
|
---|
| 547 | <varlistentry id="cupstestppd">
|
---|
| 548 | <term><command>cupstestppd</command></term>
|
---|
| 549 | <listitem>
|
---|
| 550 | <para>
|
---|
| 551 | tests the conformance of PPD files.
|
---|
| 552 | </para>
|
---|
| 553 | <indexterm zone="cups cupstestppd">
|
---|
| 554 | <primary sortas="b-cupstestppd">cupstestppd</primary>
|
---|
[536fac5] | 555 | </indexterm>
|
---|
| 556 | </listitem>
|
---|
| 557 | </varlistentry>
|
---|
| 558 |
|
---|
[95a4ee3] | 559 | <varlistentry id="ippfind">
|
---|
| 560 | <term><command>ippfind</command></term>
|
---|
| 561 | <listitem>
|
---|
| 562 | <para>
|
---|
| 563 | finds internet printing protocol printers.
|
---|
| 564 | </para>
|
---|
| 565 | <indexterm zone="cups ippfind">
|
---|
| 566 | <primary sortas="b-ippfind">ippfind</primary>
|
---|
| 567 | </indexterm>
|
---|
| 568 | </listitem>
|
---|
| 569 | </varlistentry>
|
---|
| 570 |
|
---|
[89475857] | 571 | <varlistentry id="ipptool">
|
---|
| 572 | <term><command>ipptool</command></term>
|
---|
[536fac5] | 573 | <listitem>
|
---|
[89475857] | 574 | <para>
|
---|
| 575 | sends IPP requests to the specified URI and tests
|
---|
| 576 | and/or displays the results.
|
---|
| 577 | </para>
|
---|
| 578 | <indexterm zone="cups ipptool">
|
---|
| 579 | <primary sortas="b-ipptool">ipptool</primary>
|
---|
[536fac5] | 580 | </indexterm>
|
---|
| 581 | </listitem>
|
---|
| 582 | </varlistentry>
|
---|
| 583 |
|
---|
| 584 | <varlistentry id="lp-cups">
|
---|
| 585 | <term><command>lp</command></term>
|
---|
| 586 | <listitem>
|
---|
[89475857] | 587 | <para>
|
---|
| 588 | submits files for printing or alters a pending job.
|
---|
| 589 | </para>
|
---|
[536fac5] | 590 | <indexterm zone="cups lp-cups">
|
---|
| 591 | <primary sortas="b-lp">lp</primary>
|
---|
| 592 | </indexterm>
|
---|
| 593 | </listitem>
|
---|
| 594 | </varlistentry>
|
---|
| 595 |
|
---|
| 596 | <varlistentry id="lpadmin">
|
---|
| 597 | <term><command>lpadmin</command></term>
|
---|
| 598 | <listitem>
|
---|
[89475857] | 599 | <para>
|
---|
| 600 | configures printer and class queues provided by
|
---|
| 601 | <application>Cups</application>.
|
---|
| 602 | </para>
|
---|
[536fac5] | 603 | <indexterm zone="cups lpadmin">
|
---|
| 604 | <primary sortas="b-lpadmin">lpadmin</primary>
|
---|
| 605 | </indexterm>
|
---|
| 606 | </listitem>
|
---|
| 607 | </varlistentry>
|
---|
| 608 |
|
---|
| 609 | <varlistentry id="lpc-cups">
|
---|
| 610 | <term><command>lpc</command></term>
|
---|
| 611 | <listitem>
|
---|
[89475857] | 612 | <para>
|
---|
| 613 | provides limited control over printer and class queues
|
---|
| 614 | provided by <application>Cups</application>.
|
---|
| 615 | </para>
|
---|
[536fac5] | 616 | <indexterm zone="cups lpc-cups">
|
---|
| 617 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 618 | </indexterm>
|
---|
| 619 | </listitem>
|
---|
| 620 | </varlistentry>
|
---|
| 621 |
|
---|
| 622 | <varlistentry id="lpinfo">
|
---|
| 623 | <term><command>lpinfo</command></term>
|
---|
| 624 | <listitem>
|
---|
[89475857] | 625 | <para>
|
---|
| 626 | lists the available devices or drivers known to the
|
---|
| 627 | <application>Cups</application> server.
|
---|
| 628 | </para>
|
---|
[536fac5] | 629 | <indexterm zone="cups lpinfo">
|
---|
| 630 | <primary sortas="b-lpinfo">lpinfo</primary>
|
---|
| 631 | </indexterm>
|
---|
| 632 | </listitem>
|
---|
| 633 | </varlistentry>
|
---|
| 634 |
|
---|
| 635 | <varlistentry id="lpmove">
|
---|
| 636 | <term><command>lpmove</command></term>
|
---|
| 637 | <listitem>
|
---|
[89475857] | 638 | <para>
|
---|
| 639 | moves the specified job to a new destination.
|
---|
| 640 | </para>
|
---|
[536fac5] | 641 | <indexterm zone="cups lpmove">
|
---|
| 642 | <primary sortas="b-lpmove">lpmove</primary>
|
---|
| 643 | </indexterm>
|
---|
| 644 | </listitem>
|
---|
| 645 | </varlistentry>
|
---|
| 646 |
|
---|
| 647 | <varlistentry id="lpoptions">
|
---|
| 648 | <term><command>lpoptions</command></term>
|
---|
| 649 | <listitem>
|
---|
[89475857] | 650 | <para>
|
---|
| 651 | displays or sets printer options and defaults.
|
---|
| 652 | </para>
|
---|
[536fac5] | 653 | <indexterm zone="cups lpoptions">
|
---|
| 654 | <primary sortas="b-lpoptions">lpoptions</primary>
|
---|
| 655 | </indexterm>
|
---|
| 656 | </listitem>
|
---|
| 657 | </varlistentry>
|
---|
| 658 |
|
---|
| 659 | <varlistentry id="lppasswd">
|
---|
| 660 | <term><command>lppasswd</command></term>
|
---|
| 661 | <listitem>
|
---|
[89475857] | 662 | <para>
|
---|
| 663 | adds, changes or deletes passwords in the
|
---|
| 664 | <application>Cups</application> digest password file
|
---|
| 665 | <filename>passwd.md5</filename>.
|
---|
| 666 | </para>
|
---|
[536fac5] | 667 | <indexterm zone="cups lppasswd">
|
---|
| 668 | <primary sortas="b-lppasswd">lppasswd</primary>
|
---|
| 669 | </indexterm>
|
---|
| 670 | </listitem>
|
---|
| 671 | </varlistentry>
|
---|
| 672 |
|
---|
| 673 | <varlistentry id="lpq-cups">
|
---|
| 674 | <term><command>lpq</command></term>
|
---|
| 675 | <listitem>
|
---|
[89475857] | 676 | <para>
|
---|
| 677 | shows the current print queue status on the named printer.
|
---|
| 678 | </para>
|
---|
[536fac5] | 679 | <indexterm zone="cups lpq-cups">
|
---|
| 680 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 681 | </indexterm>
|
---|
| 682 | </listitem>
|
---|
| 683 | </varlistentry>
|
---|
| 684 |
|
---|
| 685 | <varlistentry id="lpr-cups">
|
---|
| 686 | <term><command>lpr</command></term>
|
---|
| 687 | <listitem>
|
---|
[89475857] | 688 | <para>
|
---|
| 689 | submits files for printing.
|
---|
| 690 | </para>
|
---|
[536fac5] | 691 | <indexterm zone="cups lpr-cups">
|
---|
| 692 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 693 | </indexterm>
|
---|
| 694 | </listitem>
|
---|
| 695 | </varlistentry>
|
---|
| 696 |
|
---|
| 697 | <varlistentry id="lprm-cups">
|
---|
| 698 | <term><command>lprm</command></term>
|
---|
| 699 | <listitem>
|
---|
[89475857] | 700 | <para>
|
---|
| 701 | cancels print jobs that have been queued for printing.
|
---|
| 702 | </para>
|
---|
[536fac5] | 703 | <indexterm zone="cups lprm-cups">
|
---|
| 704 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 705 | </indexterm>
|
---|
| 706 | </listitem>
|
---|
| 707 | </varlistentry>
|
---|
| 708 |
|
---|
| 709 | <varlistentry id="lpstat-cups">
|
---|
| 710 | <term><command>lpstat</command></term>
|
---|
| 711 | <listitem>
|
---|
[89475857] | 712 | <para>
|
---|
| 713 | displays status information about the current classes, jobs,
|
---|
| 714 | and printers.
|
---|
| 715 | </para>
|
---|
[536fac5] | 716 | <indexterm zone="cups lpstat-cups">
|
---|
| 717 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 718 | </indexterm>
|
---|
| 719 | </listitem>
|
---|
| 720 | </varlistentry>
|
---|
| 721 |
|
---|
[89475857] | 722 | <varlistentry id="ppdc">
|
---|
| 723 | <term><command>ppdc</command></term>
|
---|
| 724 | <listitem>
|
---|
| 725 | <para>
|
---|
| 726 | compiles PPDC source files into one or more PPD files.
|
---|
| 727 | </para>
|
---|
| 728 | <indexterm zone="cups ppdc">
|
---|
| 729 | <primary sortas="b-ppdc">ppdc</primary>
|
---|
| 730 | </indexterm>
|
---|
| 731 | </listitem>
|
---|
| 732 | </varlistentry>
|
---|
| 733 |
|
---|
| 734 | <varlistentry id="ppdhtml">
|
---|
| 735 | <term><command>ppdhtml</command></term>
|
---|
| 736 | <listitem>
|
---|
| 737 | <para>
|
---|
| 738 | reads a driver information file and produces a HTML summary
|
---|
| 739 | page that lists all of the drivers in a file and the
|
---|
| 740 | supported options.
|
---|
| 741 | </para>
|
---|
| 742 | <indexterm zone="cups ppdhtml">
|
---|
| 743 | <primary sortas="b-ppdhtml">ppdhtml</primary>
|
---|
| 744 | </indexterm>
|
---|
| 745 | </listitem>
|
---|
| 746 | </varlistentry>
|
---|
| 747 |
|
---|
| 748 | <varlistentry id="ppdi">
|
---|
| 749 | <term><command>ppdi</command></term>
|
---|
| 750 | <listitem>
|
---|
| 751 | <para>
|
---|
| 752 | imports one or more PPD files into a PPD compiler source file.
|
---|
| 753 | </para>
|
---|
| 754 | <indexterm zone="cups ppdi">
|
---|
| 755 | <primary sortas="b-ppdi">ppdi</primary>
|
---|
| 756 | </indexterm>
|
---|
| 757 | </listitem>
|
---|
| 758 | </varlistentry>
|
---|
| 759 |
|
---|
| 760 | <varlistentry id="ppdmerge">
|
---|
| 761 | <term><command>ppdmerge</command></term>
|
---|
| 762 | <listitem>
|
---|
| 763 | <para>
|
---|
| 764 | merges two or more PPD files into a single, multi-language
|
---|
| 765 | PPD file.
|
---|
| 766 | </para>
|
---|
| 767 | <indexterm zone="cups ppdmerge">
|
---|
| 768 | <primary sortas="b-ppdmerge">ppdmerge</primary>
|
---|
| 769 | </indexterm>
|
---|
| 770 | </listitem>
|
---|
| 771 | </varlistentry>
|
---|
| 772 |
|
---|
| 773 | <varlistentry id="ppdpo">
|
---|
| 774 | <term><command>ppdpo</command></term>
|
---|
| 775 | <listitem>
|
---|
| 776 | <para>
|
---|
| 777 | extracts UI strings from PPDC source files and
|
---|
| 778 | updates either a GNU gettext or Mac OS X strings
|
---|
| 779 | format message catalog source file for translation.
|
---|
| 780 | </para>
|
---|
| 781 | <indexterm zone="cups ppdpo">
|
---|
| 782 | <primary sortas="b-ppdpo">ppdpo</primary>
|
---|
| 783 | </indexterm>
|
---|
| 784 | </listitem>
|
---|
| 785 | </varlistentry>
|
---|
| 786 |
|
---|
[536fac5] | 787 | <varlistentry id="reject">
|
---|
| 788 | <term><command>reject</command></term>
|
---|
| 789 | <listitem>
|
---|
[89475857] | 790 | <para>
|
---|
| 791 | instructs the printing system to reject print jobs to the
|
---|
| 792 | specified destinations.
|
---|
| 793 | </para>
|
---|
[536fac5] | 794 | <indexterm zone="cups reject">
|
---|
| 795 | <primary sortas="b-reject">reject</primary>
|
---|
| 796 | </indexterm>
|
---|
| 797 | </listitem>
|
---|
| 798 | </varlistentry>
|
---|
| 799 |
|
---|
[89475857] | 800 | <varlistentry id="libcups">
|
---|
| 801 | <term><filename class="libraryfile">libcups.so</filename></term>
|
---|
| 802 | <listitem>
|
---|
| 803 | <para>
|
---|
| 804 | contains the <application>Cups</application> API functions.
|
---|
| 805 | </para>
|
---|
| 806 | <indexterm zone="cups libcups">
|
---|
| 807 | <primary sortas="c-libcups">libcups.so</primary>
|
---|
| 808 | </indexterm>
|
---|
| 809 | </listitem>
|
---|
| 810 | </varlistentry>
|
---|
| 811 |
|
---|
[536fac5] | 812 | </variablelist>
|
---|
| 813 |
|
---|
| 814 | </sect2>
|
---|
[c78533e] | 815 |
|
---|
| 816 | </sect1>
|
---|