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