[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 |
|
---|
[1d615c21] | 7 | <!ENTITY cups-download-http "https://github.com/apple/cups/releases/download/v&cups-version;/cups-&cups-version;-source.tar.gz">
|
---|
[5ddee7fb] | 8 | <!ENTITY cups-download-ftp " ">
|
---|
[478c9a3] | 9 | <!ENTITY cups-md5sum "036f6bda6202ae3e280ac00c710b5ca4">
|
---|
| 10 | <!ENTITY cups-size "9.1 MB">
|
---|
| 11 | <!ENTITY cups-buildsize "55 MB">
|
---|
[f6cbe88] | 12 | <!ENTITY cups-time "0.5 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 |
|
---|
[33c6126] | 39 | &lfs80_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>
|
---|
[852554e1] | 74 |
|
---|
[47dc0bf] | 75 | <bridgehead renderas="sect3">Cups Dependencies</bridgehead>
|
---|
[536fac5] | 76 |
|
---|
[53debf3] | 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="gnutls"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[536fac5] | 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[14d01d8] | 83 | <para role="recommended">
|
---|
[54666831] | 84 | <xref linkend="colord"/>,
|
---|
| 85 | <xref linkend="dbus"/>, and
|
---|
[89475857] | 86 | <xref linkend="libusb"/>
|
---|
[14d01d8] | 87 | </para>
|
---|
[536fac5] | 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[bc6e56d] | 90 | <para role="optional">
|
---|
[5e7d3013] | 91 | <xref linkend="avahi"/>,
|
---|
[1ecdb18] | 92 | <xref linkend="libpaper"/>,
|
---|
[14d01d8] | 93 | <xref linkend="linux-pam"/>,
|
---|
[89475857] | 94 | <xref linkend="mitkrb"/>,
|
---|
| 95 | <xref linkend="openjdk"/>,
|
---|
[14d01d8] | 96 | <xref linkend="php"/>,
|
---|
[1ecdb18] | 97 | <xref linkend="python2"/>, and
|
---|
| 98 | <xref linkend="xdg-utils"/>
|
---|
[7b88d5a] | 99 |
|
---|
[14d01d8] | 100 | </para>
|
---|
[536fac5] | 101 |
|
---|
[5f83175] | 102 | <bridgehead renderas="sect4">Required (Postinstall)</bridgehead>
|
---|
[f28636c] | 103 | <para role="required runtime">
|
---|
[dcbd2c6] | 104 | <xref linkend="cups-filters"/>
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[5f83175] | 107 | <bridgehead renderas="sect4">Optional (Postinstall)</bridgehead>
|
---|
| 108 | <para role="optional runtime">
|
---|
| 109 | <xref linkend="gutenprint"/> and
|
---|
| 110 | <ulink url="http://hplipopensource.com/hplip-web/index.html">hplip</ulink> (HP printers)
|
---|
| 111 | </para>
|
---|
[7b88d5a] | 112 |
|
---|
[977061b0] | 113 | <para condition="html" role="usernotes">User Notes:
|
---|
[89475857] | 114 | <ulink url="&blfs-wiki;/cups"/>
|
---|
| 115 | </para>
|
---|
[536fac5] | 116 | </sect2>
|
---|
| 117 |
|
---|
[47dc0bf] | 118 | <sect2 role="kernel" id="cups-kernel">
|
---|
| 119 | <title>Kernel Configuration</title>
|
---|
| 120 |
|
---|
[89475857] | 121 | <note>
|
---|
| 122 | <para>
|
---|
[ae2cb05] | 123 | There used to be a conflict between the <application>Cups</application>
|
---|
[5618cdc] | 124 | <application>libusb</application> backend and the usblp kernel driver.
|
---|
| 125 | This is no longer the case and cups will work with both of these
|
---|
[ae2cb05] | 126 | enabled.
|
---|
[89475857] | 127 | </para>
|
---|
| 128 | </note>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
[ae2cb05] | 131 | If you want to use the kernel usblp driver (for example, if you wish to
|
---|
[5618cdc] | 132 | use <application>escputil</application> from <xref
|
---|
| 133 | linkend="gutenprint"/>) enable the following options in your kernel
|
---|
| 134 | configuration and recompile the kernel:
|
---|
[89475857] | 135 | </para>
|
---|
[47dc0bf] | 136 |
|
---|
[5f83175] | 137 | <screen><literal>Device Drivers --->
|
---|
[38155d1] | 138 | [*] USB support ---> [CONFIG_USB_SUPPORT]
|
---|
| 139 | <*/M> OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
|
---|
| 140 | <*/M> UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
|
---|
| 141 | <*/M> USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
|
---|
[47dc0bf] | 142 |
|
---|
[89475857] | 143 | <para>
|
---|
[2946338a] | 144 | If you have a parallel printer, enable the following options in your
|
---|
[89475857] | 145 | kernel configuration and recompile the kernel:
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <screen><literal>Device Drivers --->
|
---|
[38155d1] | 149 | <*/M> Parallel port support ---> [CONFIG_PARPORT]
|
---|
| 150 | <*/M> PC-style hardware [CONFIG_PARPORT_PC]
|
---|
[89475857] | 151 | Character devices --->
|
---|
[38155d1] | 152 | <*/M> Parallel printer support [CONFIG_PRINTER]</literal></screen>
|
---|
[89475857] | 153 |
|
---|
[47dc0bf] | 154 | <indexterm zone="cups cups-kernel">
|
---|
| 155 | <primary sortas="d-cups">cups</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
[536fac5] | 160 | <sect2 role="installation">
|
---|
[47dc0bf] | 161 | <title>Installation of Cups</title>
|
---|
[536fac5] | 162 |
|
---|
[89475857] | 163 | <para>
|
---|
[2946338a] | 164 | You will need to add an <systemitem class="username">lp</systemitem>
|
---|
[89475857] | 165 | user, as <application>Cups</application> will create some files owned
|
---|
| 166 | by this user. (The <systemitem class="username">lp</systemitem> user
|
---|
| 167 | is the default used by <application>Cups</application>, but may be
|
---|
| 168 | changed to a different user by passing a parameter to the
|
---|
| 169 | <command>configure</command> script.) Use the following command as
|
---|
| 170 | the <systemitem class="username">root</systemitem> user:
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <screen role="root"><userinput>useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp</userinput></screen>
|
---|
[536fac5] | 174 |
|
---|
[89475857] | 175 | <para>
|
---|
[2946338a] | 176 | You will also need a dedicated group that will contain users allowed to
|
---|
[89475857] | 177 | do <application>Cups</application> administrative tasks. Add the group
|
---|
| 178 | by running the following command as the
|
---|
| 179 | <systemitem class="username">root</systemitem> user:
|
---|
| 180 | </para>
|
---|
[536fac5] | 181 |
|
---|
[89475857] | 182 | <screen role="root"><userinput>groupadd -g 19 lpadmin</userinput></screen>
|
---|
[536fac5] | 183 |
|
---|
[89475857] | 184 | <para>
|
---|
[2946338a] | 185 | If you want to add a user to the <application>Cups</application>
|
---|
[89475857] | 186 | administrative group, run the following command as the
|
---|
| 187 | <systemitem class="username">root</systemitem> user:
|
---|
| 188 | </para>
|
---|
| 189 |
|
---|
| 190 | <screen role="root"><userinput>usermod -a -G lpadmin <replaceable><username></replaceable></userinput></screen>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
| 193 | If you didn't install <xref linkend="xdg-utils"/>, use the following
|
---|
| 194 | <command>sed</command> to change the default browser that will be used
|
---|
| 195 | to access the <application>Cups</application> web interface:
|
---|
| 196 | </para>
|
---|
| 197 |
|
---|
| 198 | <screen><userinput>sed -i 's#@CUPS_HTMLVIEW@#firefox#' desktop/cups.desktop.in</userinput></screen>
|
---|
| 199 |
|
---|
| 200 | <para>
|
---|
| 201 | Replace <command>firefox</command> with the web browser of your
|
---|
| 202 | choice.
|
---|
| 203 | </para>
|
---|
[ea48bbe] | 204 |
|
---|
[b256695] | 205 | <para>
|
---|
| 206 | Unless you have installed <xref linkend="mitkrb"/>, fix a configuration
|
---|
| 207 | file:
|
---|
| 208 | </para>
|
---|
| 209 |
|
---|
| 210 | <screen><userinput>sed -i '/kerberized/,$ d' conf/cupsd.conf.in</userinput></screen>
|
---|
| 211 |
|
---|
[89475857] | 212 | <!-- docdir is also document root for cups administration interface, so
|
---|
[2c1a7b7f] | 213 | let's just put it in /usr/share/cups/doc-&cups-version; and create symlink
|
---|
| 214 | in /usr/share/doc/cups-&cups-version;
|
---|
[5618cdc] | 215 |
|
---|
[6d8f6dc] | 216 | When not using libdir switch, CUPS will install libraries into /usr/lib64
|
---|
[abc1ddb] | 217 | on a 64 bit system, and since /usr/lib64 is symlink to /usr/lib it might
|
---|
| 218 | introduce some difficulties with packaging -->
|
---|
[5618cdc] | 219 |
|
---|
| 220 | <para>
|
---|
[5f83175] | 221 | Build <application>Cups</application> by running the following commands:
|
---|
[5618cdc] | 222 | </para>
|
---|
| 223 |
|
---|
[b256695] | 224 |
|
---|
[b88584a] | 225 | <screen revision="sysv"><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in &&
|
---|
| 226 | sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4 &&
|
---|
| 227 | sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 &&
|
---|
| 228 |
|
---|
[5618cdc] | 229 | aclocal -I config-scripts &&
|
---|
[abc1ddb] | 230 | autoconf -I config-scripts &&
|
---|
[93343b6] | 231 |
|
---|
[f6d40b7d] | 232 | CC=gcc \
|
---|
[5618cdc] | 233 | ./configure --libdir=/usr/lib \
|
---|
| 234 | --disable-systemd \
|
---|
| 235 | --with-rcdir=/tmp/cupsinit \
|
---|
| 236 | --with-system-groups=lpadmin \
|
---|
[2c1a7b7f] | 237 | --with-docdir=/usr/share/cups/doc-&cups-version; &&
|
---|
[536fac5] | 238 | make</userinput></screen>
|
---|
| 239 |
|
---|
[3ace4c5] | 240 | <screen revision="systemd"><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in
|
---|
| 241 | &&
|
---|
| 242 | sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4
|
---|
| 243 | &&
|
---|
| 244 | sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4
|
---|
| 245 | &&
|
---|
| 246 | aclocal -I config-scripts &&
|
---|
| 247 | autoconf -I config-scripts &&
|
---|
| 248 |
|
---|
| 249 | CC=gcc \
|
---|
| 250 | ./configure --libdir=/usr/lib \
|
---|
| 251 | --with-rcdir=/tmp/cupsinit \
|
---|
| 252 | --with-system-groups=lpadmin \
|
---|
| 253 | --with-docdir=/usr/share/cups/doc-&cups-version; &&
|
---|
| 254 | make</userinput></screen>
|
---|
| 255 |
|
---|
[a92a3a9] | 256 | <para>
|
---|
[e5e7a1d] | 257 | To test the results, issue: <command>make -k check</command>. An already
|
---|
[a92a3a9] | 258 | active graphical session with bus address is necessary to run the tests.
|
---|
[e5e7a1d] | 259 | Some tests fail for unknown reasons.
|
---|
[a92a3a9] | 260 | </para>
|
---|
[24962f9] | 261 |
|
---|
[89475857] | 262 | <para>
|
---|
[5f83175] | 263 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[89475857] | 264 | </para>
|
---|
[536fac5] | 265 |
|
---|
[2cf3f8a] | 266 | <!-- dev note: make BUILDROOT=<DESTDIR> install -->
|
---|
| 267 |
|
---|
[5c52c23] | 268 | <screen role="root"><userinput>make install &&
|
---|
[89475857] | 269 | rm -rf /tmp/cupsinit &&
|
---|
[2c1a7b7f] | 270 | ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen>
|
---|
[89475857] | 271 |
|
---|
| 272 | <para>
|
---|
[5618cdc] | 273 | Create a basic <application>Cups</application> client configuration file
|
---|
| 274 | by running the following command as the <systemitem
|
---|
| 275 | class="username">root</systemitem> user:
|
---|
[3a55bfe] | 276 | </para>
|
---|
| 277 |
|
---|
| 278 | <screen role="root"><userinput>echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
|
---|
| 279 |
|
---|
[2946338a] | 280 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 281 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
[6d8f6dc] | 282 |
|
---|
[536fac5] | 283 | </sect2>
|
---|
| 284 |
|
---|
| 285 | <sect2 role="commands">
|
---|
| 286 | <title>Command Explanations</title>
|
---|
| 287 |
|
---|
[b256695] | 288 | <para>
|
---|
| 289 | <!-- hopefully, 2.2.2 only - https://github.com/apple/cups/issues/4947 -->
|
---|
| 290 | <command>sed -i '/kerberized/,$ d' conf/cupsd.conf.in</command>: when this
|
---|
| 291 | version of <application>cups</application> is compiled without kerberos
|
---|
| 292 | support, it nevertheless adds a policy entry at the end of
|
---|
| 293 | <filename>/etc/cups/cupsd.conf</filename>. But the daemon will error out
|
---|
| 294 | because it does not understand that entry, so remove it.
|
---|
| 295 | </para>
|
---|
| 296 |
|
---|
[5618cdc] | 297 | <para>
|
---|
[2c1a7b7f] | 298 | <command>sed ... Makedefs.in</command>: Fix files and directories
|
---|
| 299 | permissions.
|
---|
[5618cdc] | 300 | </para>
|
---|
| 301 |
|
---|
| 302 | <para>
|
---|
[2c1a7b7f] | 303 | <command>sed ... cups-manpages.m4</command>: This sed prevents
|
---|
| 304 | compression of the man pages by default.
|
---|
[5618cdc] | 305 | </para>
|
---|
| 306 |
|
---|
[93343b6] | 307 | <para>
|
---|
[2c1a7b7f] | 308 | <command>sed ... cups-ssl.m4</command>: Prevent
|
---|
| 309 | <command>configure</command> script from searching
|
---|
| 310 | <command>libgcrypt-config</command>, because
|
---|
| 311 | <application>libgcrypt</application> is not used anywere else in the
|
---|
| 312 | package.
|
---|
[93343b6] | 313 | </para>
|
---|
[f6d40b7d] | 314 |
|
---|
| 315 | <para>
|
---|
| 316 | <envar>CC=gcc</envar>: This environment variable ensures that gcc is used,
|
---|
| 317 | if clang is installed. Remove it, if you prefer to use clang. Using clang
|
---|
| 318 | almost doubles build time and slightly decreases build disk space.
|
---|
| 319 | Installed disk space is not appreciably modified.
|
---|
| 320 | </para>
|
---|
[c870dc3] | 321 | <!--
|
---|
[a090d8b] | 322 | <para>
|
---|
| 323 | <command>sed ... test/ippserver.c</command>: This sed fixes a bug,
|
---|
| 324 | which shows up when <application>avahi</application> is not present.
|
---|
[c870dc3] | 325 | </para>-->
|
---|
[a090d8b] | 326 |
|
---|
[3ace4c5] | 327 | <para revision="sysv">
|
---|
[5618cdc] | 328 | <parameter>--disable-systemd</parameter>: Systemd is not supported by
|
---|
| 329 | BLFS.
|
---|
| 330 | </para>
|
---|
| 331 |
|
---|
| 332 | <para>
|
---|
| 333 | <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells the
|
---|
| 334 | build process to install the shipped bootscript into <filename
|
---|
| 335 | class="directory">/tmp</filename> instead of <filename
|
---|
| 336 | class="directory">/etc/rc.d</filename>.
|
---|
[89475857] | 337 | </para>
|
---|
| 338 |
|
---|
| 339 | <para>
|
---|
| 340 | <parameter>--with-system-groups=lpadmin</parameter>: This switch ensures
|
---|
[5618cdc] | 341 | that only <systemitem class="groupname">lpadmin</systemitem> will be used
|
---|
| 342 | as the <application>Cups</application> administrative group.
|
---|
[89475857] | 343 | </para>
|
---|
[47dc0bf] | 344 |
|
---|
[89475857] | 345 | <para>
|
---|
| 346 | <option>--disable-libusb</option>: Use this switch if you have installed
|
---|
| 347 | <xref linkend="libusb"/>, but wish to use the kernel usblp driver.
|
---|
| 348 | </para>
|
---|
[47dc0bf] | 349 |
|
---|
[89475857] | 350 | <para>
|
---|
| 351 | <option>--enable-libpaper</option>: Use this switch if you have installed
|
---|
| 352 | <application>libpaper</application> and wish to use it with
|
---|
| 353 | <application>Cups</application>.
|
---|
| 354 | </para>
|
---|
[47dc0bf] | 355 |
|
---|
[536fac5] | 356 | </sect2>
|
---|
| 357 |
|
---|
| 358 | <sect2 role="configuration">
|
---|
[47dc0bf] | 359 | <title>Configuring Cups</title>
|
---|
[536fac5] | 360 |
|
---|
[2cf3f8a] | 361 | <sect3 id="cups-config">
|
---|
| 362 | <title>Config Files</title>
|
---|
[89475857] | 363 |
|
---|
[2cf3f8a] | 364 | <para><filename>/etc/cups/*</filename></para>
|
---|
| 365 |
|
---|
| 366 | <indexterm zone="cups cups-config">
|
---|
| 367 | <primary sortas="e-etc-cups">/etc/cups/*</primary>
|
---|
| 368 | </indexterm>
|
---|
| 369 |
|
---|
| 370 | </sect3>
|
---|
| 371 |
|
---|
| 372 | <sect3>
|
---|
| 373 | <title>Configuration Information</title>
|
---|
| 374 |
|
---|
[5f83175] | 375 | <para>
|
---|
| 376 | Normally, printers are set up via a web browser. The
|
---|
| 377 | <application>Cups</application> server will normally connect via
|
---|
| 378 | the url http://localhost:631. From there printers, print
|
---|
| 379 | jobs, and the server configuration can be set up and managed.
|
---|
| 380 | Remote system administration can also be set up. Configuration
|
---|
[7b88d5a] | 381 | can also be done from the command line via the
|
---|
| 382 | <command>lpadmin</command>, <command>lpoptions</command>,
|
---|
[5f83175] | 383 | and <command>lpstat</command> commands.
|
---|
| 384 | </para>
|
---|
| 385 |
|
---|
[2cf3f8a] | 386 | <para>
|
---|
| 387 | Configuration of <application>Cups</application> is dependent on
|
---|
| 388 | the type of printer and can be complex. Generally, PostScript printers
|
---|
| 389 | are easier. For detailed instructions on configuration and use of
|
---|
| 390 | <application>Cups</application>, see <ulink
|
---|
[7b88d5a] | 391 | url="http://www.cups.org/documentation.php"/>.
|
---|
[2cf3f8a] | 392 | </para>
|
---|
| 393 |
|
---|
| 394 | <para>
|
---|
| 395 | For non-PostScript printers to print with
|
---|
[5618cdc] | 396 | <application>Cups</application>, you need to install <xref
|
---|
| 397 | linkend="gs"/> to convert PostScript to raster images and a driver
|
---|
[5f83175] | 398 | (e.g. from <xref linkend="gutenprint"/>) to convert the resulting
|
---|
[5618cdc] | 399 | raster images to a form that the printer understands. <ulink
|
---|
| 400 | url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
|
---|
[5f83175] | 401 | drivers use <xref linkend="gs"/> to convert PostScript to a printable
|
---|
| 402 | form directly, but this is considered suboptimal by
|
---|
[5618cdc] | 403 | <application>Cups</application> developers.
|
---|
[2cf3f8a] | 404 | </para>
|
---|
| 405 |
|
---|
| 406 | </sect3>
|
---|
[89475857] | 407 |
|
---|
[2c1a7b7f] | 408 | <sect3>
|
---|
| 409 | <title>Linux PAM Configuration</title>
|
---|
| 410 |
|
---|
| 411 | <para>
|
---|
| 412 | If <application>CUPS</application> has been built with
|
---|
| 413 | <application>Linux PAM</application> support, you need to create a
|
---|
[5f83175] | 414 | <application>PAM</application> configuration file to get it working
|
---|
[2c1a7b7f] | 415 | correctly with BLFS.
|
---|
| 416 | </para>
|
---|
| 417 |
|
---|
| 418 | <para>
|
---|
| 419 | Issue the following command as the <systemitem
|
---|
| 420 | class="username">root</systemitem> user to create the configuration
|
---|
| 421 | file for <application>Linux PAM</application>:
|
---|
| 422 | </para>
|
---|
| 423 |
|
---|
[3503806d] | 424 | <screen role="root"><userinput>cat > /etc/pam.d/cups << "EOF"
|
---|
[2c1a7b7f] | 425 | <literal># Begin /etc/pam.d/cups
|
---|
| 426 |
|
---|
| 427 | auth include system-auth
|
---|
| 428 | account include system-account
|
---|
| 429 | session include system-session
|
---|
| 430 |
|
---|
| 431 | # End /etc/pam.d/cups</literal>
|
---|
| 432 | EOF</userinput></screen>
|
---|
| 433 |
|
---|
| 434 | </sect3>
|
---|
| 435 |
|
---|
[32d0e29] | 436 | <sect3 id="cups-init">
|
---|
[3ace4c5] | 437 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 438 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[536fac5] | 439 |
|
---|
[3ace4c5] | 440 | <para revision="sysv">
|
---|
[2946338a] | 441 | If you want the <application>Cups</application> print service to start
|
---|
[3ace4c5] | 442 | automatically when the system is booted, install the init script
|
---|
| 443 | included in the <xref linkend="bootscripts"/> package:
|
---|
| 444 | </para>
|
---|
| 445 |
|
---|
[5ebb2cc] | 446 | <para revision="systemd">
|
---|
[3ace4c5] | 447 | To start the <command>cupsd</command> daemon when something tries to
|
---|
| 448 | access it, enable the previously installed systemd units by running
|
---|
| 449 | the following command as the
|
---|
| 450 | <systemitem class="username">root</systemitem> user:
|
---|
[89475857] | 451 | </para>
|
---|
[536fac5] | 452 |
|
---|
| 453 | <indexterm zone="cups cups-init">
|
---|
| 454 | <primary sortas="f-cups">cups</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 |
|
---|
[3ace4c5] | 457 | <screen role="root" revision="sysv"><userinput>make install-cups</userinput></screen>
|
---|
| 458 |
|
---|
| 459 | <screen role="root" revision="systemd"><userinput>systemctl enable org.cups.cupsd</userinput></screen>
|
---|
[536fac5] | 460 |
|
---|
| 461 | </sect3>
|
---|
| 462 |
|
---|
| 463 | </sect2>
|
---|
| 464 |
|
---|
| 465 | <sect2 role="content">
|
---|
| 466 | <title>Contents</title>
|
---|
| 467 |
|
---|
| 468 | <segmentedlist>
|
---|
| 469 | <segtitle>Installed Programs</segtitle>
|
---|
| 470 | <segtitle>Installed Libraries</segtitle>
|
---|
| 471 | <segtitle>Installed Directories</segtitle>
|
---|
| 472 |
|
---|
| 473 | <seglistitem>
|
---|
[89475857] | 474 | <seg>
|
---|
[5618cdc] | 475 | accept, cancel, cupsaccept, cupsaddsmb, cups-config, cupsctl, cupsd,
|
---|
| 476 | cupsdisable, cupsenable, cupsfilter, cupsreject, cupstestdsc,
|
---|
| 477 | cupstestppd, ippfind, ipptool, lp, lpadmin, lpc, lpinfo, lpmove,
|
---|
| 478 | lpoptions, lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge,
|
---|
| 479 | ppdpo, and reject
|
---|
[89475857] | 480 | </seg>
|
---|
| 481 | <seg>
|
---|
| 482 | libcupscgi.so, libcupsimage.so, libcupsmime.so,
|
---|
[5618cdc] | 483 | libcupsppdc.so, and libcups.so
|
---|
[89475857] | 484 | </seg>
|
---|
| 485 | <seg>
|
---|
[52e175b] | 486 | /etc/cups,
|
---|
| 487 | /usr/{include,lib,share}/cups,
|
---|
| 488 | /usr/share/doc/cups-&cups-version;, and
|
---|
| 489 | /var/{cache,log,run,spool}/cups
|
---|
[89475857] | 490 | </seg>
|
---|
[536fac5] | 491 | </seglistitem>
|
---|
| 492 | </segmentedlist>
|
---|
| 493 |
|
---|
| 494 | <variablelist>
|
---|
| 495 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 496 | <?dbfo list-presentation="list"?>
|
---|
| 497 | <?dbhtml list-presentation="table"?>
|
---|
| 498 |
|
---|
| 499 | <varlistentry id="accept">
|
---|
| 500 | <term><command>accept</command></term>
|
---|
| 501 | <listitem>
|
---|
[89475857] | 502 | <para>
|
---|
| 503 | instructs the printing system to accept print jobs to the
|
---|
| 504 | specified destinations.
|
---|
| 505 | </para>
|
---|
[536fac5] | 506 | <indexterm zone="cups accept">
|
---|
| 507 | <primary sortas="b-accept">accept</primary>
|
---|
| 508 | </indexterm>
|
---|
| 509 | </listitem>
|
---|
| 510 | </varlistentry>
|
---|
| 511 |
|
---|
| 512 | <varlistentry id="cancel-cups">
|
---|
| 513 | <term><command>cancel</command></term>
|
---|
| 514 | <listitem>
|
---|
[89475857] | 515 | <para>
|
---|
| 516 | cancels existing print jobs from the print queues.
|
---|
| 517 | </para>
|
---|
[536fac5] | 518 | <indexterm zone="cups cancel-cups">
|
---|
| 519 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
[298fee30] | 524 | <varlistentry id="cupsaccept">
|
---|
| 525 | <term><command>cupsaccept</command></term>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>
|
---|
| 528 | accept jobs sent to a destination.
|
---|
| 529 | </para>
|
---|
| 530 | <indexterm zone="cups cupsaccept">
|
---|
| 531 | <primary sortas="b-cupsaccept">cupsaccept</primary>
|
---|
| 532 | </indexterm>
|
---|
| 533 | </listitem>
|
---|
| 534 | </varlistentry>
|
---|
| 535 |
|
---|
[89475857] | 536 | <varlistentry id="cupsaddsmb">
|
---|
| 537 | <term><command>cupsaddsmb</command></term>
|
---|
| 538 | <listitem>
|
---|
| 539 | <para>
|
---|
| 540 | exports printers to the <application>Samba</application>
|
---|
| 541 | software for use with Windows clients.
|
---|
| 542 | </para>
|
---|
| 543 | <indexterm zone="cups cupsaddsmb">
|
---|
| 544 | <primary sortas="b-cupsaddsmb">cupsaddsmb</primary>
|
---|
| 545 | </indexterm>
|
---|
| 546 | </listitem>
|
---|
| 547 | </varlistentry>
|
---|
| 548 |
|
---|
[2cf3f8a] | 549 | <varlistentry id="cups-config-prog">
|
---|
[536fac5] | 550 | <term><command>cups-config</command></term>
|
---|
| 551 | <listitem>
|
---|
[89475857] | 552 | <para>
|
---|
| 553 | is a <application>Cups</application>
|
---|
| 554 | program configuration utility.
|
---|
| 555 | </para>
|
---|
[2cf3f8a] | 556 | <indexterm zone="cups cups-config-prog">
|
---|
[536fac5] | 557 | <primary sortas="b-cups-config">cups-config</primary>
|
---|
| 558 | </indexterm>
|
---|
| 559 | </listitem>
|
---|
| 560 | </varlistentry>
|
---|
| 561 |
|
---|
[89475857] | 562 | <varlistentry id="cupsctl">
|
---|
| 563 | <term><command>cupsctl</command></term>
|
---|
[536fac5] | 564 | <listitem>
|
---|
[89475857] | 565 | <para>
|
---|
| 566 | updates or queries the cupsd.conf file for a server.
|
---|
| 567 | </para>
|
---|
| 568 | <indexterm zone="cups cupsctl">
|
---|
| 569 | <primary sortas="b-cupsctl">cupsctl</primary>
|
---|
[536fac5] | 570 | </indexterm>
|
---|
| 571 | </listitem>
|
---|
| 572 | </varlistentry>
|
---|
| 573 |
|
---|
| 574 | <varlistentry id="cupsd">
|
---|
| 575 | <term><command>cupsd</command></term>
|
---|
| 576 | <listitem>
|
---|
[89475857] | 577 | <para>
|
---|
| 578 | is the scheduler for the Common Unix Printing System.
|
---|
| 579 | </para>
|
---|
[536fac5] | 580 | <indexterm zone="cups cupsd">
|
---|
| 581 | <primary sortas="b-cupsd">cupsd</primary>
|
---|
| 582 | </indexterm>
|
---|
| 583 | </listitem>
|
---|
| 584 | </varlistentry>
|
---|
| 585 |
|
---|
[298fee30] | 586 | <varlistentry id="cupsdisable">
|
---|
| 587 | <term><command>cupsdisable</command></term>
|
---|
| 588 | <listitem>
|
---|
| 589 | <para>
|
---|
| 590 | stop printers and classes.
|
---|
| 591 | </para>
|
---|
| 592 | <indexterm zone="cups cupsdisable">
|
---|
| 593 | <primary sortas="b-cupsdisable">cupsdisable</primary>
|
---|
| 594 | </indexterm>
|
---|
| 595 | </listitem>
|
---|
| 596 | </varlistentry>
|
---|
| 597 |
|
---|
| 598 | <varlistentry id="cupsenable">
|
---|
| 599 | <term><command>cupsenable</command></term>
|
---|
| 600 | <listitem>
|
---|
| 601 | <para>
|
---|
| 602 | start printers and classes.
|
---|
| 603 | </para>
|
---|
| 604 | <indexterm zone="cups cupsenable">
|
---|
| 605 | <primary sortas="b-cupsenable">cupsenable</primary>
|
---|
| 606 | </indexterm>
|
---|
| 607 | </listitem>
|
---|
| 608 | </varlistentry>
|
---|
| 609 |
|
---|
[89475857] | 610 | <varlistentry id="cupsfilter">
|
---|
| 611 | <term><command>cupsfilter</command></term>
|
---|
[536fac5] | 612 | <listitem>
|
---|
[89475857] | 613 | <para>
|
---|
[0d7900a] | 614 | is a front-end to the <application>Cups</application>
|
---|
[89475857] | 615 | filter subsystem which allows you to convert a file
|
---|
| 616 | to a specific format.
|
---|
| 617 | </para>
|
---|
| 618 | <indexterm zone="cups cupsfilter">
|
---|
| 619 | <primary sortas="b-cupsfilter">cupsfilter</primary>
|
---|
[536fac5] | 620 | </indexterm>
|
---|
| 621 | </listitem>
|
---|
| 622 | </varlistentry>
|
---|
| 623 |
|
---|
[298fee30] | 624 | <varlistentry id="cupsreject">
|
---|
| 625 | <term><command>cupsreject</command></term>
|
---|
| 626 | <listitem>
|
---|
| 627 | <para>
|
---|
| 628 | reject jobs sent to a destination.
|
---|
| 629 | </para>
|
---|
| 630 | <indexterm zone="cups cupsreject">
|
---|
| 631 | <primary sortas="b-cupsreject">cupsreject</primary>
|
---|
| 632 | </indexterm>
|
---|
| 633 | </listitem>
|
---|
| 634 | </varlistentry>
|
---|
| 635 |
|
---|
[89475857] | 636 | <varlistentry id="cupstestdsc">
|
---|
| 637 | <term><command>cupstestdsc</command></term>
|
---|
[536fac5] | 638 | <listitem>
|
---|
[89475857] | 639 | <para>
|
---|
| 640 | tests the conformance of PostScript files.
|
---|
| 641 | </para>
|
---|
| 642 | <indexterm zone="cups cupstestdsc">
|
---|
| 643 | <primary sortas="b-cupstestdsc">cupstestdsc</primary>
|
---|
| 644 | </indexterm>
|
---|
| 645 | </listitem>
|
---|
| 646 | </varlistentry>
|
---|
| 647 |
|
---|
| 648 | <varlistentry id="cupstestppd">
|
---|
| 649 | <term><command>cupstestppd</command></term>
|
---|
| 650 | <listitem>
|
---|
| 651 | <para>
|
---|
| 652 | tests the conformance of PPD files.
|
---|
| 653 | </para>
|
---|
| 654 | <indexterm zone="cups cupstestppd">
|
---|
| 655 | <primary sortas="b-cupstestppd">cupstestppd</primary>
|
---|
[536fac5] | 656 | </indexterm>
|
---|
| 657 | </listitem>
|
---|
| 658 | </varlistentry>
|
---|
| 659 |
|
---|
[95a4ee3] | 660 | <varlistentry id="ippfind">
|
---|
| 661 | <term><command>ippfind</command></term>
|
---|
| 662 | <listitem>
|
---|
| 663 | <para>
|
---|
| 664 | finds internet printing protocol printers.
|
---|
| 665 | </para>
|
---|
| 666 | <indexterm zone="cups ippfind">
|
---|
| 667 | <primary sortas="b-ippfind">ippfind</primary>
|
---|
| 668 | </indexterm>
|
---|
| 669 | </listitem>
|
---|
| 670 | </varlistentry>
|
---|
| 671 |
|
---|
[89475857] | 672 | <varlistentry id="ipptool">
|
---|
| 673 | <term><command>ipptool</command></term>
|
---|
[536fac5] | 674 | <listitem>
|
---|
[89475857] | 675 | <para>
|
---|
| 676 | sends IPP requests to the specified URI and tests
|
---|
| 677 | and/or displays the results.
|
---|
| 678 | </para>
|
---|
| 679 | <indexterm zone="cups ipptool">
|
---|
| 680 | <primary sortas="b-ipptool">ipptool</primary>
|
---|
[536fac5] | 681 | </indexterm>
|
---|
| 682 | </listitem>
|
---|
| 683 | </varlistentry>
|
---|
| 684 |
|
---|
| 685 | <varlistentry id="lp-cups">
|
---|
| 686 | <term><command>lp</command></term>
|
---|
| 687 | <listitem>
|
---|
[89475857] | 688 | <para>
|
---|
| 689 | submits files for printing or alters a pending job.
|
---|
| 690 | </para>
|
---|
[536fac5] | 691 | <indexterm zone="cups lp-cups">
|
---|
| 692 | <primary sortas="b-lp">lp</primary>
|
---|
| 693 | </indexterm>
|
---|
| 694 | </listitem>
|
---|
| 695 | </varlistentry>
|
---|
| 696 |
|
---|
| 697 | <varlistentry id="lpadmin">
|
---|
| 698 | <term><command>lpadmin</command></term>
|
---|
| 699 | <listitem>
|
---|
[89475857] | 700 | <para>
|
---|
| 701 | configures printer and class queues provided by
|
---|
| 702 | <application>Cups</application>.
|
---|
| 703 | </para>
|
---|
[536fac5] | 704 | <indexterm zone="cups lpadmin">
|
---|
| 705 | <primary sortas="b-lpadmin">lpadmin</primary>
|
---|
| 706 | </indexterm>
|
---|
| 707 | </listitem>
|
---|
| 708 | </varlistentry>
|
---|
| 709 |
|
---|
| 710 | <varlistentry id="lpc-cups">
|
---|
| 711 | <term><command>lpc</command></term>
|
---|
| 712 | <listitem>
|
---|
[89475857] | 713 | <para>
|
---|
| 714 | provides limited control over printer and class queues
|
---|
| 715 | provided by <application>Cups</application>.
|
---|
| 716 | </para>
|
---|
[536fac5] | 717 | <indexterm zone="cups lpc-cups">
|
---|
| 718 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 719 | </indexterm>
|
---|
| 720 | </listitem>
|
---|
| 721 | </varlistentry>
|
---|
| 722 |
|
---|
| 723 | <varlistentry id="lpinfo">
|
---|
| 724 | <term><command>lpinfo</command></term>
|
---|
| 725 | <listitem>
|
---|
[89475857] | 726 | <para>
|
---|
| 727 | lists the available devices or drivers known to the
|
---|
| 728 | <application>Cups</application> server.
|
---|
| 729 | </para>
|
---|
[536fac5] | 730 | <indexterm zone="cups lpinfo">
|
---|
| 731 | <primary sortas="b-lpinfo">lpinfo</primary>
|
---|
| 732 | </indexterm>
|
---|
| 733 | </listitem>
|
---|
| 734 | </varlistentry>
|
---|
| 735 |
|
---|
| 736 | <varlistentry id="lpmove">
|
---|
| 737 | <term><command>lpmove</command></term>
|
---|
| 738 | <listitem>
|
---|
[89475857] | 739 | <para>
|
---|
| 740 | moves the specified job to a new destination.
|
---|
| 741 | </para>
|
---|
[536fac5] | 742 | <indexterm zone="cups lpmove">
|
---|
| 743 | <primary sortas="b-lpmove">lpmove</primary>
|
---|
| 744 | </indexterm>
|
---|
| 745 | </listitem>
|
---|
| 746 | </varlistentry>
|
---|
| 747 |
|
---|
| 748 | <varlistentry id="lpoptions">
|
---|
| 749 | <term><command>lpoptions</command></term>
|
---|
| 750 | <listitem>
|
---|
[89475857] | 751 | <para>
|
---|
| 752 | displays or sets printer options and defaults.
|
---|
| 753 | </para>
|
---|
[536fac5] | 754 | <indexterm zone="cups lpoptions">
|
---|
| 755 | <primary sortas="b-lpoptions">lpoptions</primary>
|
---|
| 756 | </indexterm>
|
---|
| 757 | </listitem>
|
---|
| 758 | </varlistentry>
|
---|
| 759 |
|
---|
| 760 | <varlistentry id="lpq-cups">
|
---|
| 761 | <term><command>lpq</command></term>
|
---|
| 762 | <listitem>
|
---|
[89475857] | 763 | <para>
|
---|
| 764 | shows the current print queue status on the named printer.
|
---|
| 765 | </para>
|
---|
[536fac5] | 766 | <indexterm zone="cups lpq-cups">
|
---|
| 767 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 768 | </indexterm>
|
---|
| 769 | </listitem>
|
---|
| 770 | </varlistentry>
|
---|
| 771 |
|
---|
| 772 | <varlistentry id="lpr-cups">
|
---|
| 773 | <term><command>lpr</command></term>
|
---|
| 774 | <listitem>
|
---|
[89475857] | 775 | <para>
|
---|
| 776 | submits files for printing.
|
---|
| 777 | </para>
|
---|
[536fac5] | 778 | <indexterm zone="cups lpr-cups">
|
---|
| 779 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 780 | </indexterm>
|
---|
| 781 | </listitem>
|
---|
| 782 | </varlistentry>
|
---|
| 783 |
|
---|
| 784 | <varlistentry id="lprm-cups">
|
---|
| 785 | <term><command>lprm</command></term>
|
---|
| 786 | <listitem>
|
---|
[89475857] | 787 | <para>
|
---|
| 788 | cancels print jobs that have been queued for printing.
|
---|
| 789 | </para>
|
---|
[536fac5] | 790 | <indexterm zone="cups lprm-cups">
|
---|
| 791 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 792 | </indexterm>
|
---|
| 793 | </listitem>
|
---|
| 794 | </varlistentry>
|
---|
| 795 |
|
---|
| 796 | <varlistentry id="lpstat-cups">
|
---|
| 797 | <term><command>lpstat</command></term>
|
---|
| 798 | <listitem>
|
---|
[89475857] | 799 | <para>
|
---|
| 800 | displays status information about the current classes, jobs,
|
---|
| 801 | and printers.
|
---|
| 802 | </para>
|
---|
[536fac5] | 803 | <indexterm zone="cups lpstat-cups">
|
---|
| 804 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 805 | </indexterm>
|
---|
| 806 | </listitem>
|
---|
| 807 | </varlistentry>
|
---|
| 808 |
|
---|
[89475857] | 809 | <varlistentry id="ppdc">
|
---|
| 810 | <term><command>ppdc</command></term>
|
---|
| 811 | <listitem>
|
---|
| 812 | <para>
|
---|
| 813 | compiles PPDC source files into one or more PPD files.
|
---|
| 814 | </para>
|
---|
| 815 | <indexterm zone="cups ppdc">
|
---|
| 816 | <primary sortas="b-ppdc">ppdc</primary>
|
---|
| 817 | </indexterm>
|
---|
| 818 | </listitem>
|
---|
| 819 | </varlistentry>
|
---|
| 820 |
|
---|
| 821 | <varlistentry id="ppdhtml">
|
---|
| 822 | <term><command>ppdhtml</command></term>
|
---|
| 823 | <listitem>
|
---|
| 824 | <para>
|
---|
| 825 | reads a driver information file and produces a HTML summary
|
---|
| 826 | page that lists all of the drivers in a file and the
|
---|
| 827 | supported options.
|
---|
| 828 | </para>
|
---|
| 829 | <indexterm zone="cups ppdhtml">
|
---|
| 830 | <primary sortas="b-ppdhtml">ppdhtml</primary>
|
---|
| 831 | </indexterm>
|
---|
| 832 | </listitem>
|
---|
| 833 | </varlistentry>
|
---|
| 834 |
|
---|
| 835 | <varlistentry id="ppdi">
|
---|
| 836 | <term><command>ppdi</command></term>
|
---|
| 837 | <listitem>
|
---|
| 838 | <para>
|
---|
| 839 | imports one or more PPD files into a PPD compiler source file.
|
---|
| 840 | </para>
|
---|
| 841 | <indexterm zone="cups ppdi">
|
---|
| 842 | <primary sortas="b-ppdi">ppdi</primary>
|
---|
| 843 | </indexterm>
|
---|
| 844 | </listitem>
|
---|
| 845 | </varlistentry>
|
---|
| 846 |
|
---|
| 847 | <varlistentry id="ppdmerge">
|
---|
| 848 | <term><command>ppdmerge</command></term>
|
---|
| 849 | <listitem>
|
---|
| 850 | <para>
|
---|
| 851 | merges two or more PPD files into a single, multi-language
|
---|
| 852 | PPD file.
|
---|
| 853 | </para>
|
---|
| 854 | <indexterm zone="cups ppdmerge">
|
---|
| 855 | <primary sortas="b-ppdmerge">ppdmerge</primary>
|
---|
| 856 | </indexterm>
|
---|
| 857 | </listitem>
|
---|
| 858 | </varlistentry>
|
---|
| 859 |
|
---|
| 860 | <varlistentry id="ppdpo">
|
---|
| 861 | <term><command>ppdpo</command></term>
|
---|
| 862 | <listitem>
|
---|
| 863 | <para>
|
---|
| 864 | extracts UI strings from PPDC source files and
|
---|
| 865 | updates either a GNU gettext or Mac OS X strings
|
---|
| 866 | format message catalog source file for translation.
|
---|
| 867 | </para>
|
---|
| 868 | <indexterm zone="cups ppdpo">
|
---|
| 869 | <primary sortas="b-ppdpo">ppdpo</primary>
|
---|
| 870 | </indexterm>
|
---|
| 871 | </listitem>
|
---|
| 872 | </varlistentry>
|
---|
| 873 |
|
---|
[536fac5] | 874 | <varlistentry id="reject">
|
---|
| 875 | <term><command>reject</command></term>
|
---|
| 876 | <listitem>
|
---|
[89475857] | 877 | <para>
|
---|
| 878 | instructs the printing system to reject print jobs to the
|
---|
| 879 | specified destinations.
|
---|
| 880 | </para>
|
---|
[536fac5] | 881 | <indexterm zone="cups reject">
|
---|
| 882 | <primary sortas="b-reject">reject</primary>
|
---|
| 883 | </indexterm>
|
---|
| 884 | </listitem>
|
---|
| 885 | </varlistentry>
|
---|
| 886 |
|
---|
[89475857] | 887 | <varlistentry id="libcups">
|
---|
| 888 | <term><filename class="libraryfile">libcups.so</filename></term>
|
---|
| 889 | <listitem>
|
---|
| 890 | <para>
|
---|
| 891 | contains the <application>Cups</application> API functions.
|
---|
| 892 | </para>
|
---|
| 893 | <indexterm zone="cups libcups">
|
---|
| 894 | <primary sortas="c-libcups">libcups.so</primary>
|
---|
| 895 | </indexterm>
|
---|
| 896 | </listitem>
|
---|
| 897 | </varlistentry>
|
---|
| 898 |
|
---|
[536fac5] | 899 | </variablelist>
|
---|
| 900 |
|
---|
| 901 | </sect2>
|
---|
[c78533e] | 902 |
|
---|
| 903 | </sect1>
|
---|