[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 |
|
---|
[99ed8506] | 7 | <!ENTITY cups-download-http "https://github.com/OpenPrinting/cups/releases/download/v&cups-version;/cups-&cups-version;-source.tar.gz">
|
---|
[5ddee7fb] | 8 | <!ENTITY cups-download-ftp " ">
|
---|
[5a83b91b] | 9 | <!ENTITY cups-md5sum "e0a5ddbf53dfad41da26fc1ef60b2256">
|
---|
[4faa4419] | 10 | <!ENTITY cups-size "7.8 MB">
|
---|
[5a83b91b] | 11 | <!ENTITY cups-buildsize "77 MB (Add 49 MB for tests)">
|
---|
| 12 | <!ENTITY cups-time "0.4 SBU (Add 1.0 SBU for tests)">
|
---|
[73ddd1a0] | 13 | ]>
|
---|
| 14 |
|
---|
[47dc0bf] | 15 | <sect1 id="cups" xreflabel="Cups-&cups-version;">
|
---|
[536fac5] | 16 | <?dbhtml filename="cups.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[47dc0bf] | 19 | <title>Cups-&cups-version;</title>
|
---|
[536fac5] | 20 |
|
---|
| 21 | <indexterm zone="cups">
|
---|
[47dc0bf] | 22 | <primary sortas="a-Cups">Cups</primary>
|
---|
[536fac5] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[47dc0bf] | 26 | <title>Introduction to Cups</title>
|
---|
[536fac5] | 27 |
|
---|
[89475857] | 28 | <para>
|
---|
| 29 | The Common Unix Printing System (CUPS) is a print spooler and
|
---|
| 30 | associated utilities. It is based on the "Internet Printing
|
---|
| 31 | Protocol" and provides printing services to most PostScript
|
---|
| 32 | and raster printers.
|
---|
| 33 | </para>
|
---|
[536fac5] | 34 |
|
---|
[c1a287b] | 35 | &lfs120_checked;
|
---|
[14d01d8] | 36 |
|
---|
[536fac5] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[89475857] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&cups-download-http;"/>
|
---|
| 42 | </para>
|
---|
[536fac5] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[89475857] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&cups-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[536fac5] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[89475857] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &cups-md5sum;
|
---|
| 52 | </para>
|
---|
[536fac5] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[89475857] | 55 | <para>
|
---|
| 56 | Download size: &cups-size;
|
---|
| 57 | </para>
|
---|
[536fac5] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[89475857] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &cups-buildsize;
|
---|
| 62 | </para>
|
---|
[536fac5] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[89475857] | 65 | <para>
|
---|
| 66 | Estimated build time: &cups-time;
|
---|
| 67 | </para>
|
---|
[536fac5] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
[852554e1] | 70 |
|
---|
[47dc0bf] | 71 | <bridgehead renderas="sect3">Cups Dependencies</bridgehead>
|
---|
[536fac5] | 72 |
|
---|
[53debf3] | 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
| 75 | <xref linkend="gnutls"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
[536fac5] | 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[14d01d8] | 79 | <para role="recommended">
|
---|
[54666831] | 80 | <xref linkend="colord"/>,
|
---|
[8558044] | 81 | <xref linkend="dbus"/>,
|
---|
[905e8ca] | 82 | <xref linkend="libusb"/>,
|
---|
| 83 | <xref linkend="linux-pam"/>, and
|
---|
[66d9ef8] | 84 | <xref linkend="xdg-utils"/>
|
---|
[14d01d8] | 85 | </para>
|
---|
[536fac5] | 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[bc6e56d] | 88 | <para role="optional">
|
---|
[5e7d3013] | 89 | <xref linkend="avahi"/>,
|
---|
[1ecdb18] | 90 | <xref linkend="libpaper"/>,
|
---|
[89475857] | 91 | <xref linkend="mitkrb"/>,
|
---|
[b47d633] | 92 | <!--<xref linkend="openjdk"/>, Not found in 2.4.0 -->
|
---|
[66d9ef8] | 93 | <xref linkend="php"/>, and
|
---|
| 94 | <xref linkend="python2"/>
|
---|
[14d01d8] | 95 | </para>
|
---|
[536fac5] | 96 |
|
---|
[5f83175] | 97 | <bridgehead renderas="sect4">Required (Postinstall)</bridgehead>
|
---|
[1051f94e] | 98 | <para role="required">
|
---|
| 99 | <xref role="runtime" linkend="cups-filters"/>
|
---|
[dcbd2c6] | 100 | </para>
|
---|
| 101 |
|
---|
[5f83175] | 102 | <bridgehead renderas="sect4">Optional (Postinstall)</bridgehead>
|
---|
[1051f94e] | 103 | <para role="optional">
|
---|
| 104 | <xref role="runtime" linkend="gutenprint"/> and
|
---|
[7c64789] | 105 | <ulink role="runtime" url="https://developers.hp.com/hp-linux-imaging-and-printing">hplip</ulink> (HP printers)
|
---|
[5f83175] | 106 | </para>
|
---|
[7b88d5a] | 107 |
|
---|
[42ddc30] | 108 | <para condition="html" role="usernotes">Editor Notes:
|
---|
[89475857] | 109 | <ulink url="&blfs-wiki;/cups"/>
|
---|
| 110 | </para>
|
---|
[536fac5] | 111 | </sect2>
|
---|
| 112 |
|
---|
[47dc0bf] | 113 | <sect2 role="kernel" id="cups-kernel">
|
---|
| 114 | <title>Kernel Configuration</title>
|
---|
| 115 |
|
---|
[89475857] | 116 | <note>
|
---|
| 117 | <para>
|
---|
[ae2cb05] | 118 | There used to be a conflict between the <application>Cups</application>
|
---|
[5618cdc] | 119 | <application>libusb</application> backend and the usblp kernel driver.
|
---|
| 120 | This is no longer the case and cups will work with both of these
|
---|
[ae2cb05] | 121 | enabled.
|
---|
[89475857] | 122 | </para>
|
---|
| 123 | </note>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
[ae2cb05] | 126 | If you want to use the kernel usblp driver (for example, if you wish to
|
---|
[5618cdc] | 127 | use <application>escputil</application> from <xref
|
---|
| 128 | linkend="gutenprint"/>) enable the following options in your kernel
|
---|
| 129 | configuration and recompile the kernel:
|
---|
[89475857] | 130 | </para>
|
---|
[47dc0bf] | 131 |
|
---|
[cddcdb14] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 133 | href="usb-printer-kernel.xml"/>
|
---|
[47dc0bf] | 134 |
|
---|
[89475857] | 135 | <para>
|
---|
[2946338a] | 136 | If you have a parallel printer, enable the following options in your
|
---|
[89475857] | 137 | kernel configuration and recompile the kernel:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[cddcdb14] | 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 141 | href="parallel-printer-kernel.xml"/>
|
---|
[89475857] | 142 |
|
---|
[47dc0bf] | 143 | <indexterm zone="cups cups-kernel">
|
---|
| 144 | <primary sortas="d-cups">cups</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
[536fac5] | 149 | <sect2 role="installation">
|
---|
[47dc0bf] | 150 | <title>Installation of Cups</title>
|
---|
[536fac5] | 151 |
|
---|
[89475857] | 152 | <para>
|
---|
[2946338a] | 153 | You will need to add an <systemitem class="username">lp</systemitem>
|
---|
[89475857] | 154 | user, as <application>Cups</application> will create some files owned
|
---|
| 155 | by this user. (The <systemitem class="username">lp</systemitem> user
|
---|
| 156 | is the default used by <application>Cups</application>, but may be
|
---|
| 157 | changed to a different user by passing a parameter to the
|
---|
| 158 | <command>configure</command> script.) Use the following command as
|
---|
| 159 | the <systemitem class="username">root</systemitem> user:
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
| 162 | <screen role="root"><userinput>useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp</userinput></screen>
|
---|
[536fac5] | 163 |
|
---|
[89475857] | 164 | <para>
|
---|
[2946338a] | 165 | You will also need a dedicated group that will contain users allowed to
|
---|
[89475857] | 166 | do <application>Cups</application> administrative tasks. Add the group
|
---|
| 167 | by running the following command as the
|
---|
| 168 | <systemitem class="username">root</systemitem> user:
|
---|
| 169 | </para>
|
---|
[536fac5] | 170 |
|
---|
[89475857] | 171 | <screen role="root"><userinput>groupadd -g 19 lpadmin</userinput></screen>
|
---|
[536fac5] | 172 |
|
---|
[89475857] | 173 | <para>
|
---|
[2946338a] | 174 | If you want to add a user to the <application>Cups</application>
|
---|
[89475857] | 175 | administrative group, run the following command as the
|
---|
| 176 | <systemitem class="username">root</systemitem> user:
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
| 179 | <screen role="root"><userinput>usermod -a -G lpadmin <replaceable><username></replaceable></userinput></screen>
|
---|
| 180 |
|
---|
| 181 | <para>
|
---|
| 182 | If you didn't install <xref linkend="xdg-utils"/>, use the following
|
---|
| 183 | <command>sed</command> to change the default browser that will be used
|
---|
| 184 | to access the <application>Cups</application> web interface:
|
---|
| 185 | </para>
|
---|
| 186 |
|
---|
| 187 | <screen><userinput>sed -i 's#@CUPS_HTMLVIEW@#firefox#' desktop/cups.desktop.in</userinput></screen>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | Replace <command>firefox</command> with the web browser of your
|
---|
| 191 | choice.
|
---|
| 192 | </para>
|
---|
[ea48bbe] | 193 |
|
---|
[5618cdc] | 194 | <para>
|
---|
[5f83175] | 195 | Build <application>Cups</application> by running the following commands:
|
---|
[5618cdc] | 196 | </para>
|
---|
| 197 |
|
---|
[3d16a42] | 198 | <screen revision="sysv"><userinput>./configure --libdir=/usr/lib \
|
---|
[5618cdc] | 199 | --disable-systemd \
|
---|
| 200 | --with-rcdir=/tmp/cupsinit \
|
---|
[9c6c28d] | 201 | --with-rundir=/run/cups \
|
---|
[5618cdc] | 202 | --with-system-groups=lpadmin \
|
---|
[2c1a7b7f] | 203 | --with-docdir=/usr/share/cups/doc-&cups-version; &&
|
---|
[536fac5] | 204 | make</userinput></screen>
|
---|
| 205 |
|
---|
[99ed8506] | 206 | <screen revision="systemd"><userinput>./configure --libdir=/usr/lib \
|
---|
[9c6c28d] | 207 | --with-rundir=/run/cups \
|
---|
[3ace4c5] | 208 | --with-system-groups=lpadmin \
|
---|
| 209 | --with-docdir=/usr/share/cups/doc-&cups-version; &&
|
---|
| 210 | make</userinput></screen>
|
---|
| 211 |
|
---|
[a92a3a9] | 212 | <para>
|
---|
[8fb94ec2] | 213 | To test the results, issue: <command>LC_ALL=C make -k check</command>. An already
|
---|
[a92a3a9] | 214 | active graphical session with bus address is necessary to run the tests.
|
---|
[3d16a42] | 215 | Make sure that there is not other instance of <application>Cups</application>
|
---|
| 216 | running, otherwise at least 4 tests will fail with "address in use".
|
---|
[a92a3a9] | 217 | </para>
|
---|
[24962f9] | 218 |
|
---|
[89475857] | 219 | <para>
|
---|
[5f83175] | 220 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[89475857] | 221 | </para>
|
---|
[536fac5] | 222 |
|
---|
[2cf3f8a] | 223 | <!-- dev note: make BUILDROOT=<DESTDIR> install -->
|
---|
| 224 |
|
---|
[5c52c23] | 225 | <screen role="root"><userinput>make install &&
|
---|
[2c1a7b7f] | 226 | ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen>
|
---|
[89475857] | 227 |
|
---|
[d9506f79] | 228 | <para revision="sysv">
|
---|
| 229 | Remove the shipped bootscript, which is incompatible with LFS:
|
---|
| 230 | </para>
|
---|
| 231 |
|
---|
| 232 | <screen role="root" revision="sysv"><userinput>rm -rf /tmp/cupsinit &&</userinput></screen>
|
---|
| 233 |
|
---|
[89475857] | 234 | <para>
|
---|
[5618cdc] | 235 | Create a basic <application>Cups</application> client configuration file
|
---|
| 236 | by running the following command as the <systemitem
|
---|
| 237 | class="username">root</systemitem> user:
|
---|
[3a55bfe] | 238 | </para>
|
---|
| 239 |
|
---|
[461d7f7] | 240 | <screen role="root"><userinput>echo "ServerName /run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
|
---|
[3a55bfe] | 241 |
|
---|
[2946338a] | 242 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 243 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
[6d8f6dc] | 244 |
|
---|
[536fac5] | 245 | </sect2>
|
---|
| 246 |
|
---|
| 247 | <sect2 role="commands">
|
---|
| 248 | <title>Command Explanations</title>
|
---|
| 249 |
|
---|
[3ace4c5] | 250 | <para revision="sysv">
|
---|
[5618cdc] | 251 | <parameter>--disable-systemd</parameter>: Systemd is not supported by
|
---|
[66d9ef8] | 252 | this version of BLFS.
|
---|
[5618cdc] | 253 | </para>
|
---|
| 254 |
|
---|
[d9506f79] | 255 | <para revision="sysv">
|
---|
[5618cdc] | 256 | <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells the
|
---|
| 257 | build process to install the shipped bootscript into <filename
|
---|
| 258 | class="directory">/tmp</filename> instead of <filename
|
---|
| 259 | class="directory">/etc/rc.d</filename>.
|
---|
[89475857] | 260 | </para>
|
---|
| 261 |
|
---|
[9c6c28d] | 262 | <para>
|
---|
| 263 | <parameter>--with-rundir=/run/cups</parameter>: This switch prevents
|
---|
| 264 | the package from referring to the deprecated
|
---|
| 265 | <filename class='directory'>/var/run</filename> directory.
|
---|
| 266 | </para>
|
---|
| 267 |
|
---|
[89475857] | 268 | <para>
|
---|
| 269 | <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
|
---|
[5618cdc] | 270 | that only <systemitem class="groupname">lpadmin</systemitem> will be used
|
---|
| 271 | as the <application>Cups</application> administrative group.
|
---|
[89475857] | 272 | </para>
|
---|
[47dc0bf] | 273 |
|
---|
[89475857] | 274 | <para>
|
---|
| 275 | <option>--disable-libusb</option>: Use this switch if you have installed
|
---|
| 276 | <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
|
---|
| 277 | </para>
|
---|
[47dc0bf] | 278 |
|
---|
[89475857] | 279 | <para>
|
---|
| 280 | <option>--enable-libpaper</option>: Use this switch if you have installed
|
---|
| 281 | <application>libpaper</application> and wish to use it with
|
---|
| 282 | <application>Cups</application>.
|
---|
| 283 | </para>
|
---|
[47dc0bf] | 284 |
|
---|
[536fac5] | 285 | </sect2>
|
---|
| 286 |
|
---|
| 287 | <sect2 role="configuration">
|
---|
[47dc0bf] | 288 | <title>Configuring Cups</title>
|
---|
[536fac5] | 289 |
|
---|
[2cf3f8a] | 290 | <sect3 id="cups-config">
|
---|
| 291 | <title>Config Files</title>
|
---|
[89475857] | 292 |
|
---|
[fa3edfef] | 293 | <para>
|
---|
| 294 | <filename>/etc/cups/*</filename>
|
---|
| 295 | </para>
|
---|
[2cf3f8a] | 296 |
|
---|
| 297 | <indexterm zone="cups cups-config">
|
---|
| 298 | <primary sortas="e-etc-cups">/etc/cups/*</primary>
|
---|
| 299 | </indexterm>
|
---|
| 300 |
|
---|
| 301 | </sect3>
|
---|
| 302 |
|
---|
| 303 | <sect3>
|
---|
| 304 | <title>Configuration Information</title>
|
---|
| 305 |
|
---|
[5f83175] | 306 | <para>
|
---|
| 307 | Normally, printers are set up via a web browser. The
|
---|
| 308 | <application>Cups</application> server will normally connect via
|
---|
| 309 | the url http://localhost:631. From there printers, print
|
---|
| 310 | jobs, and the server configuration can be set up and managed.
|
---|
| 311 | Remote system administration can also be set up. Configuration
|
---|
[7b88d5a] | 312 | can also be done from the command line via the
|
---|
| 313 | <command>lpadmin</command>, <command>lpoptions</command>,
|
---|
[5f83175] | 314 | and <command>lpstat</command> commands.
|
---|
| 315 | </para>
|
---|
| 316 |
|
---|
[2cf3f8a] | 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
|
---|
[75b1a338] | 322 | url="https://www.cups.org/documentation.html"/>.
|
---|
[2cf3f8a] | 323 | </para>
|
---|
| 324 |
|
---|
| 325 | <para>
|
---|
| 326 | For non-PostScript printers to print with
|
---|
[5618cdc] | 327 | <application>Cups</application>, you need to install <xref
|
---|
| 328 | linkend="gs"/> to convert PostScript to raster images and a driver
|
---|
[5f83175] | 329 | (e.g. from <xref linkend="gutenprint"/>) to convert the resulting
|
---|
[5618cdc] | 330 | raster images to a form that the printer understands. <ulink
|
---|
[7c64789] | 331 | url="https://wiki.linuxfoundation.org/openprinting/database/foomatic">Foomatic</ulink>
|
---|
[5f83175] | 332 | drivers use <xref linkend="gs"/> to convert PostScript to a printable
|
---|
| 333 | form directly, but this is considered suboptimal by
|
---|
[5618cdc] | 334 | <application>Cups</application> developers.
|
---|
[2cf3f8a] | 335 | </para>
|
---|
| 336 |
|
---|
| 337 | </sect3>
|
---|
[89475857] | 338 |
|
---|
[2c1a7b7f] | 339 | <sect3>
|
---|
| 340 | <title>Linux PAM Configuration</title>
|
---|
| 341 |
|
---|
| 342 | <para>
|
---|
| 343 | If <application>CUPS</application> has been built with
|
---|
| 344 | <application>Linux PAM</application> support, you need to create a
|
---|
[5f83175] | 345 | <application>PAM</application> configuration file to get it working
|
---|
[2c1a7b7f] | 346 | correctly with BLFS.
|
---|
| 347 | </para>
|
---|
| 348 |
|
---|
| 349 | <para>
|
---|
| 350 | Issue the following command as the <systemitem
|
---|
| 351 | class="username">root</systemitem> user to create the configuration
|
---|
| 352 | file for <application>Linux PAM</application>:
|
---|
| 353 | </para>
|
---|
| 354 |
|
---|
[3503806d] | 355 | <screen role="root"><userinput>cat > /etc/pam.d/cups << "EOF"
|
---|
[2c1a7b7f] | 356 | <literal># Begin /etc/pam.d/cups
|
---|
| 357 |
|
---|
| 358 | auth include system-auth
|
---|
| 359 | account include system-account
|
---|
| 360 | session include system-session
|
---|
| 361 |
|
---|
| 362 | # End /etc/pam.d/cups</literal>
|
---|
| 363 | EOF</userinput></screen>
|
---|
| 364 |
|
---|
| 365 | </sect3>
|
---|
| 366 |
|
---|
[32d0e29] | 367 | <sect3 id="cups-init">
|
---|
[3ace4c5] | 368 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 369 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[536fac5] | 370 |
|
---|
[3ace4c5] | 371 | <para revision="sysv">
|
---|
[2946338a] | 372 | If you want the <application>Cups</application> print service to start
|
---|
[3ace4c5] | 373 | automatically when the system is booted, install the init script
|
---|
| 374 | included in the <xref linkend="bootscripts"/> package:
|
---|
| 375 | </para>
|
---|
| 376 |
|
---|
[5ebb2cc] | 377 | <para revision="systemd">
|
---|
[3ace4c5] | 378 | To start the <command>cupsd</command> daemon when something tries to
|
---|
| 379 | access it, enable the previously installed systemd units by running
|
---|
| 380 | the following command as the
|
---|
| 381 | <systemitem class="username">root</systemitem> user:
|
---|
[89475857] | 382 | </para>
|
---|
[536fac5] | 383 |
|
---|
| 384 | <indexterm zone="cups cups-init">
|
---|
| 385 | <primary sortas="f-cups">cups</primary>
|
---|
| 386 | </indexterm>
|
---|
| 387 |
|
---|
[3ace4c5] | 388 | <screen role="root" revision="sysv"><userinput>make install-cups</userinput></screen>
|
---|
| 389 |
|
---|
[a953e682] | 390 | <screen role="root" revision="systemd"><userinput>systemctl enable cups</userinput></screen>
|
---|
[536fac5] | 391 |
|
---|
| 392 | </sect3>
|
---|
| 393 |
|
---|
| 394 | </sect2>
|
---|
| 395 |
|
---|
| 396 | <sect2 role="content">
|
---|
| 397 | <title>Contents</title>
|
---|
| 398 |
|
---|
| 399 | <segmentedlist>
|
---|
| 400 | <segtitle>Installed Programs</segtitle>
|
---|
| 401 | <segtitle>Installed Libraries</segtitle>
|
---|
| 402 | <segtitle>Installed Directories</segtitle>
|
---|
| 403 |
|
---|
| 404 | <seglistitem>
|
---|
[89475857] | 405 | <seg>
|
---|
[5a83b91b] | 406 | cancel, cupsaccept, cups-config, cupsctl, cupsd, cupsdisable,
|
---|
| 407 | cupsenable, cupsfilter, cupsreject, cupstestppd, ippeveprinter,
|
---|
| 408 | ippfind, ipptool, lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lpq,
|
---|
| 409 | lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge, and ppdpo
|
---|
[89475857] | 410 | </seg>
|
---|
| 411 | <seg>
|
---|
[5a83b91b] | 412 | libcupsimage.so
|
---|
| 413 | and libcups.so
|
---|
[89475857] | 414 | </seg>
|
---|
| 415 | <seg>
|
---|
[52e175b] | 416 | /etc/cups,
|
---|
| 417 | /usr/{include,lib,share}/cups,
|
---|
[5a83b91b] | 418 | /usr/share/doc/cups-&cups-version;,
|
---|
| 419 | /run/cups, and
|
---|
| 420 | /var/{cache,log,spool}/cups
|
---|
[89475857] | 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 |
|
---|
[81158c37] | 430 | <varlistentry id="cancel-cups">
|
---|
[536fac5] | 431 | <term><command>cancel</command></term>
|
---|
| 432 | <listitem>
|
---|
[89475857] | 433 | <para>
|
---|
[4c24eb0a] | 434 | cancels existing print jobs from the print queues
|
---|
[89475857] | 435 | </para>
|
---|
[536fac5] | 436 | <indexterm zone="cups cancel-cups">
|
---|
| 437 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 438 | </indexterm>
|
---|
| 439 | </listitem>
|
---|
[81158c37] | 440 | </varlistentry>
|
---|
[536fac5] | 441 |
|
---|
[298fee30] | 442 | <varlistentry id="cupsaccept">
|
---|
| 443 | <term><command>cupsaccept</command></term>
|
---|
| 444 | <listitem>
|
---|
| 445 | <para>
|
---|
[4c24eb0a] | 446 | accept jobs sent to a destination
|
---|
[298fee30] | 447 | </para>
|
---|
| 448 | <indexterm zone="cups cupsaccept">
|
---|
| 449 | <primary sortas="b-cupsaccept">cupsaccept</primary>
|
---|
| 450 | </indexterm>
|
---|
| 451 | </listitem>
|
---|
| 452 | </varlistentry>
|
---|
| 453 |
|
---|
[2cf3f8a] | 454 | <varlistentry id="cups-config-prog">
|
---|
[536fac5] | 455 | <term><command>cups-config</command></term>
|
---|
| 456 | <listitem>
|
---|
[89475857] | 457 | <para>
|
---|
| 458 | is a <application>Cups</application>
|
---|
[4c24eb0a] | 459 | program configuration utility
|
---|
[89475857] | 460 | </para>
|
---|
[2cf3f8a] | 461 | <indexterm zone="cups cups-config-prog">
|
---|
[536fac5] | 462 | <primary sortas="b-cups-config">cups-config</primary>
|
---|
| 463 | </indexterm>
|
---|
| 464 | </listitem>
|
---|
| 465 | </varlistentry>
|
---|
| 466 |
|
---|
[89475857] | 467 | <varlistentry id="cupsctl">
|
---|
| 468 | <term><command>cupsctl</command></term>
|
---|
[536fac5] | 469 | <listitem>
|
---|
[89475857] | 470 | <para>
|
---|
[4c24eb0a] | 471 | updates or queries the cupsd.conf file for a server
|
---|
[89475857] | 472 | </para>
|
---|
| 473 | <indexterm zone="cups cupsctl">
|
---|
| 474 | <primary sortas="b-cupsctl">cupsctl</primary>
|
---|
[536fac5] | 475 | </indexterm>
|
---|
| 476 | </listitem>
|
---|
| 477 | </varlistentry>
|
---|
| 478 |
|
---|
| 479 | <varlistentry id="cupsd">
|
---|
| 480 | <term><command>cupsd</command></term>
|
---|
| 481 | <listitem>
|
---|
[89475857] | 482 | <para>
|
---|
[4c24eb0a] | 483 | is the scheduler for the Common Unix Printing System
|
---|
[89475857] | 484 | </para>
|
---|
[536fac5] | 485 | <indexterm zone="cups cupsd">
|
---|
| 486 | <primary sortas="b-cupsd">cupsd</primary>
|
---|
| 487 | </indexterm>
|
---|
| 488 | </listitem>
|
---|
| 489 | </varlistentry>
|
---|
| 490 |
|
---|
[298fee30] | 491 | <varlistentry id="cupsdisable">
|
---|
| 492 | <term><command>cupsdisable</command></term>
|
---|
| 493 | <listitem>
|
---|
| 494 | <para>
|
---|
[4c24eb0a] | 495 | stop printers and classes
|
---|
[298fee30] | 496 | </para>
|
---|
| 497 | <indexterm zone="cups cupsdisable">
|
---|
| 498 | <primary sortas="b-cupsdisable">cupsdisable</primary>
|
---|
| 499 | </indexterm>
|
---|
| 500 | </listitem>
|
---|
| 501 | </varlistentry>
|
---|
| 502 |
|
---|
| 503 | <varlistentry id="cupsenable">
|
---|
| 504 | <term><command>cupsenable</command></term>
|
---|
| 505 | <listitem>
|
---|
| 506 | <para>
|
---|
[4c24eb0a] | 507 | start printers and classes
|
---|
[298fee30] | 508 | </para>
|
---|
| 509 | <indexterm zone="cups cupsenable">
|
---|
| 510 | <primary sortas="b-cupsenable">cupsenable</primary>
|
---|
| 511 | </indexterm>
|
---|
| 512 | </listitem>
|
---|
| 513 | </varlistentry>
|
---|
| 514 |
|
---|
[89475857] | 515 | <varlistentry id="cupsfilter">
|
---|
| 516 | <term><command>cupsfilter</command></term>
|
---|
[536fac5] | 517 | <listitem>
|
---|
[89475857] | 518 | <para>
|
---|
[0d7900a] | 519 | is a front-end to the <application>Cups</application>
|
---|
[89475857] | 520 | filter subsystem which allows you to convert a file
|
---|
[4c24eb0a] | 521 | to a specific format
|
---|
[89475857] | 522 | </para>
|
---|
| 523 | <indexterm zone="cups cupsfilter">
|
---|
| 524 | <primary sortas="b-cupsfilter">cupsfilter</primary>
|
---|
[536fac5] | 525 | </indexterm>
|
---|
| 526 | </listitem>
|
---|
| 527 | </varlistentry>
|
---|
| 528 |
|
---|
[298fee30] | 529 | <varlistentry id="cupsreject">
|
---|
| 530 | <term><command>cupsreject</command></term>
|
---|
| 531 | <listitem>
|
---|
| 532 | <para>
|
---|
[4c24eb0a] | 533 | reject jobs sent to a destination
|
---|
[298fee30] | 534 | </para>
|
---|
| 535 | <indexterm zone="cups cupsreject">
|
---|
| 536 | <primary sortas="b-cupsreject">cupsreject</primary>
|
---|
| 537 | </indexterm>
|
---|
| 538 | </listitem>
|
---|
| 539 | </varlistentry>
|
---|
[89475857] | 540 |
|
---|
| 541 | <varlistentry id="cupstestppd">
|
---|
| 542 | <term><command>cupstestppd</command></term>
|
---|
| 543 | <listitem>
|
---|
| 544 | <para>
|
---|
[4c24eb0a] | 545 | tests the conformance of PPD files
|
---|
[89475857] | 546 | </para>
|
---|
| 547 | <indexterm zone="cups cupstestppd">
|
---|
| 548 | <primary sortas="b-cupstestppd">cupstestppd</primary>
|
---|
[536fac5] | 549 | </indexterm>
|
---|
| 550 | </listitem>
|
---|
| 551 | </varlistentry>
|
---|
| 552 |
|
---|
[81158c37] | 553 | <varlistentry id="ippeveprinter">
|
---|
| 554 | <term><command>ippeveprinter</command></term>
|
---|
| 555 | <listitem>
|
---|
| 556 | <para>
|
---|
[4c24eb0a] | 557 | is an IPP Everywhere printer for CUPS
|
---|
[81158c37] | 558 | </para>
|
---|
| 559 | <indexterm zone="cups ippeveprinter">
|
---|
| 560 | <primary sortas="b-ippeveprinter">ippeveprinter</primary>
|
---|
| 561 | </indexterm>
|
---|
| 562 | </listitem>
|
---|
| 563 | </varlistentry>
|
---|
[5162b4d9] | 564 |
|
---|
[95a4ee3] | 565 | <varlistentry id="ippfind">
|
---|
| 566 | <term><command>ippfind</command></term>
|
---|
| 567 | <listitem>
|
---|
| 568 | <para>
|
---|
[5162b4d9] | 569 | finds Internet Printing Protocol printers
|
---|
[95a4ee3] | 570 | </para>
|
---|
| 571 | <indexterm zone="cups ippfind">
|
---|
| 572 | <primary sortas="b-ippfind">ippfind</primary>
|
---|
| 573 | </indexterm>
|
---|
| 574 | </listitem>
|
---|
| 575 | </varlistentry>
|
---|
[5162b4d9] | 576 |
|
---|
[89475857] | 577 | <varlistentry id="ipptool">
|
---|
| 578 | <term><command>ipptool</command></term>
|
---|
[536fac5] | 579 | <listitem>
|
---|
[89475857] | 580 | <para>
|
---|
| 581 | sends IPP requests to the specified URI and tests
|
---|
[4c24eb0a] | 582 | and/or displays the results
|
---|
[89475857] | 583 | </para>
|
---|
| 584 | <indexterm zone="cups ipptool">
|
---|
| 585 | <primary sortas="b-ipptool">ipptool</primary>
|
---|
[536fac5] | 586 | </indexterm>
|
---|
| 587 | </listitem>
|
---|
| 588 | </varlistentry>
|
---|
| 589 |
|
---|
| 590 | <varlistentry id="lp-cups">
|
---|
| 591 | <term><command>lp</command></term>
|
---|
| 592 | <listitem>
|
---|
[89475857] | 593 | <para>
|
---|
[4c24eb0a] | 594 | submits files for printing or alters a pending job
|
---|
[89475857] | 595 | </para>
|
---|
[536fac5] | 596 | <indexterm zone="cups lp-cups">
|
---|
| 597 | <primary sortas="b-lp">lp</primary>
|
---|
| 598 | </indexterm>
|
---|
| 599 | </listitem>
|
---|
| 600 | </varlistentry>
|
---|
| 601 |
|
---|
| 602 | <varlistentry id="lpadmin">
|
---|
| 603 | <term><command>lpadmin</command></term>
|
---|
| 604 | <listitem>
|
---|
[89475857] | 605 | <para>
|
---|
| 606 | configures printer and class queues provided by
|
---|
[4c24eb0a] | 607 | <application>Cups</application>
|
---|
[89475857] | 608 | </para>
|
---|
[536fac5] | 609 | <indexterm zone="cups lpadmin">
|
---|
| 610 | <primary sortas="b-lpadmin">lpadmin</primary>
|
---|
| 611 | </indexterm>
|
---|
| 612 | </listitem>
|
---|
| 613 | </varlistentry>
|
---|
| 614 |
|
---|
| 615 | <varlistentry id="lpc-cups">
|
---|
| 616 | <term><command>lpc</command></term>
|
---|
| 617 | <listitem>
|
---|
[89475857] | 618 | <para>
|
---|
| 619 | provides limited control over printer and class queues
|
---|
[4c24eb0a] | 620 | provided by <application>Cups</application>
|
---|
[89475857] | 621 | </para>
|
---|
[536fac5] | 622 | <indexterm zone="cups lpc-cups">
|
---|
| 623 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
| 628 | <varlistentry id="lpinfo">
|
---|
| 629 | <term><command>lpinfo</command></term>
|
---|
| 630 | <listitem>
|
---|
[89475857] | 631 | <para>
|
---|
| 632 | lists the available devices or drivers known to the
|
---|
[4c24eb0a] | 633 | <application>Cups</application> server
|
---|
[89475857] | 634 | </para>
|
---|
[536fac5] | 635 | <indexterm zone="cups lpinfo">
|
---|
| 636 | <primary sortas="b-lpinfo">lpinfo</primary>
|
---|
| 637 | </indexterm>
|
---|
| 638 | </listitem>
|
---|
| 639 | </varlistentry>
|
---|
| 640 |
|
---|
| 641 | <varlistentry id="lpmove">
|
---|
| 642 | <term><command>lpmove</command></term>
|
---|
| 643 | <listitem>
|
---|
[89475857] | 644 | <para>
|
---|
[4c24eb0a] | 645 | moves the specified job to a new destination
|
---|
[89475857] | 646 | </para>
|
---|
[536fac5] | 647 | <indexterm zone="cups lpmove">
|
---|
| 648 | <primary sortas="b-lpmove">lpmove</primary>
|
---|
| 649 | </indexterm>
|
---|
| 650 | </listitem>
|
---|
| 651 | </varlistentry>
|
---|
| 652 |
|
---|
| 653 | <varlistentry id="lpoptions">
|
---|
| 654 | <term><command>lpoptions</command></term>
|
---|
| 655 | <listitem>
|
---|
[89475857] | 656 | <para>
|
---|
[4c24eb0a] | 657 | displays or sets printer options and defaults
|
---|
[89475857] | 658 | </para>
|
---|
[536fac5] | 659 | <indexterm zone="cups lpoptions">
|
---|
| 660 | <primary sortas="b-lpoptions">lpoptions</primary>
|
---|
| 661 | </indexterm>
|
---|
| 662 | </listitem>
|
---|
| 663 | </varlistentry>
|
---|
| 664 |
|
---|
| 665 | <varlistentry id="lpq-cups">
|
---|
| 666 | <term><command>lpq</command></term>
|
---|
| 667 | <listitem>
|
---|
[89475857] | 668 | <para>
|
---|
[4c24eb0a] | 669 | shows the current print queue status on the named printer
|
---|
[89475857] | 670 | </para>
|
---|
[536fac5] | 671 | <indexterm zone="cups lpq-cups">
|
---|
| 672 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 673 | </indexterm>
|
---|
| 674 | </listitem>
|
---|
| 675 | </varlistentry>
|
---|
| 676 |
|
---|
| 677 | <varlistentry id="lpr-cups">
|
---|
| 678 | <term><command>lpr</command></term>
|
---|
| 679 | <listitem>
|
---|
[89475857] | 680 | <para>
|
---|
[4c24eb0a] | 681 | submits files for printing
|
---|
[89475857] | 682 | </para>
|
---|
[536fac5] | 683 | <indexterm zone="cups lpr-cups">
|
---|
| 684 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 685 | </indexterm>
|
---|
| 686 | </listitem>
|
---|
| 687 | </varlistentry>
|
---|
| 688 |
|
---|
| 689 | <varlistentry id="lprm-cups">
|
---|
| 690 | <term><command>lprm</command></term>
|
---|
| 691 | <listitem>
|
---|
[89475857] | 692 | <para>
|
---|
[4c24eb0a] | 693 | cancels print jobs that have been queued for printing
|
---|
[89475857] | 694 | </para>
|
---|
[536fac5] | 695 | <indexterm zone="cups lprm-cups">
|
---|
| 696 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 697 | </indexterm>
|
---|
| 698 | </listitem>
|
---|
| 699 | </varlistentry>
|
---|
| 700 |
|
---|
| 701 | <varlistentry id="lpstat-cups">
|
---|
| 702 | <term><command>lpstat</command></term>
|
---|
| 703 | <listitem>
|
---|
[89475857] | 704 | <para>
|
---|
| 705 | displays status information about the current classes, jobs,
|
---|
[4c24eb0a] | 706 | and printers
|
---|
[89475857] | 707 | </para>
|
---|
[536fac5] | 708 | <indexterm zone="cups lpstat-cups">
|
---|
| 709 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 710 | </indexterm>
|
---|
| 711 | </listitem>
|
---|
| 712 | </varlistentry>
|
---|
| 713 |
|
---|
[89475857] | 714 | <varlistentry id="ppdc">
|
---|
| 715 | <term><command>ppdc</command></term>
|
---|
| 716 | <listitem>
|
---|
| 717 | <para>
|
---|
[4c24eb0a] | 718 | compiles PPDC source files into one or more PPD files
|
---|
[89475857] | 719 | </para>
|
---|
| 720 | <indexterm zone="cups ppdc">
|
---|
| 721 | <primary sortas="b-ppdc">ppdc</primary>
|
---|
| 722 | </indexterm>
|
---|
| 723 | </listitem>
|
---|
| 724 | </varlistentry>
|
---|
| 725 |
|
---|
| 726 | <varlistentry id="ppdhtml">
|
---|
| 727 | <term><command>ppdhtml</command></term>
|
---|
| 728 | <listitem>
|
---|
| 729 | <para>
|
---|
| 730 | reads a driver information file and produces a HTML summary
|
---|
| 731 | page that lists all of the drivers in a file and the
|
---|
[4c24eb0a] | 732 | supported options
|
---|
[89475857] | 733 | </para>
|
---|
| 734 | <indexterm zone="cups ppdhtml">
|
---|
| 735 | <primary sortas="b-ppdhtml">ppdhtml</primary>
|
---|
| 736 | </indexterm>
|
---|
| 737 | </listitem>
|
---|
| 738 | </varlistentry>
|
---|
| 739 |
|
---|
| 740 | <varlistentry id="ppdi">
|
---|
| 741 | <term><command>ppdi</command></term>
|
---|
| 742 | <listitem>
|
---|
| 743 | <para>
|
---|
[4c24eb0a] | 744 | imports one or more PPD files into a PPD compiler source file
|
---|
[89475857] | 745 | </para>
|
---|
| 746 | <indexterm zone="cups ppdi">
|
---|
| 747 | <primary sortas="b-ppdi">ppdi</primary>
|
---|
| 748 | </indexterm>
|
---|
| 749 | </listitem>
|
---|
| 750 | </varlistentry>
|
---|
| 751 |
|
---|
| 752 | <varlistentry id="ppdmerge">
|
---|
| 753 | <term><command>ppdmerge</command></term>
|
---|
| 754 | <listitem>
|
---|
| 755 | <para>
|
---|
| 756 | merges two or more PPD files into a single, multi-language
|
---|
[4c24eb0a] | 757 | PPD file
|
---|
[89475857] | 758 | </para>
|
---|
| 759 | <indexterm zone="cups ppdmerge">
|
---|
| 760 | <primary sortas="b-ppdmerge">ppdmerge</primary>
|
---|
| 761 | </indexterm>
|
---|
| 762 | </listitem>
|
---|
| 763 | </varlistentry>
|
---|
| 764 |
|
---|
| 765 | <varlistentry id="ppdpo">
|
---|
| 766 | <term><command>ppdpo</command></term>
|
---|
| 767 | <listitem>
|
---|
| 768 | <para>
|
---|
| 769 | extracts UI strings from PPDC source files and
|
---|
| 770 | updates either a GNU gettext or Mac OS X strings
|
---|
[4c24eb0a] | 771 | format message catalog source file for translation
|
---|
[89475857] | 772 | </para>
|
---|
| 773 | <indexterm zone="cups ppdpo">
|
---|
| 774 | <primary sortas="b-ppdpo">ppdpo</primary>
|
---|
| 775 | </indexterm>
|
---|
| 776 | </listitem>
|
---|
| 777 | </varlistentry>
|
---|
[5a83b91b] | 778 |
|
---|
[89475857] | 779 | <varlistentry id="libcups">
|
---|
| 780 | <term><filename class="libraryfile">libcups.so</filename></term>
|
---|
| 781 | <listitem>
|
---|
| 782 | <para>
|
---|
[4c24eb0a] | 783 | contains the <application>Cups</application> API functions
|
---|
[89475857] | 784 | </para>
|
---|
| 785 | <indexterm zone="cups libcups">
|
---|
| 786 | <primary sortas="c-libcups">libcups.so</primary>
|
---|
| 787 | </indexterm>
|
---|
| 788 | </listitem>
|
---|
| 789 | </varlistentry>
|
---|
| 790 |
|
---|
[536fac5] | 791 | </variablelist>
|
---|
| 792 |
|
---|
| 793 | </sect2>
|
---|
[c78533e] | 794 |
|
---|
| 795 | </sect1>
|
---|