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