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