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