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