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