cups-filters-1.25.2

Introduction to CUPS Filters

The CUPS Filters package contains backends, filters and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc.

This package is known to build and work properly using an LFS-9.0 platform.

Package Information

CUPS Filters Dependencies

Required

Cups-2.2.12, GLib-2.60.6, ghostscript-9.27, Little CMS-2.9, Poppler-0.79.0, and Qpdf-8.4.2

Recommended

Optional

Avahi-0.7, Dejavu fonts (required for the tests), OpenLDAP-2.4.48, PHP-7.3.8 (use of this might be broken), Liblouis (Braille), and Liblouisutdml (Braille)

Optional printer drivers (runtime)

Gutenprint-5.3.3 (for supported printers), or other printer drivers, such as hplip

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cups-filters

Installation of CUPS Filters

First, fix the systemd unit file to work with CUPS 2.0 and later:

sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service

Install CUPS Filters by running the following commands:

./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --without-rcdir      \
            --disable-static     \
            --disable-avahi      \
            --docdir=/usr/share/doc/cups-filters-1.25.2 &&
make

To test the results, issue: make check. DejaVu fonts are needed for the tests.

Now, as the root user:

make install

Install the systemd unit by running the following command as the root user:

install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service

Command Explanations

--disable-avahi: This switch is needed if the optional Avahi-0.7 is not installed. Remove it if avahi is installed and you need network printer discovery capabilities.

--without-rcdir: This switch disables installation of the bundled bootscript which is not compatible with BLFS.

--disable-static: This switch prevents installation of static versions of the libraries.

Configuring CUPS Filters

Systemd Units

To start the cups-browsed daemon at boot, enable the previously installed systemd unit by running the following command as the root user:

systemctl enable cups-browsed

Contents

Installed Programs: cups-browsed, driverless (link), foomatic-rip (link) and ttfread
Installed Libraries: libcupsfilters.so and libfontembed.so
Installed Directories: /usr/include/{cupsfilters,fontembed}, /usr/lib/cups/driver, /usr/share/cups/{braille,charsets}, /usr/share/doc/cups-filters-1.25.2 and /usr/share/ppd/cupsfilters

Short Descriptions

cups-browsed

is a daemon for browsing the Bonjour and CUPS broadcasts of shared, remote CUPS printers.

foomatic-rip

is a universal print filter/RIP wrapper which can be used as CUPS filter or stand-alone for spooler-less, direct printing.

libcupsfilters.so

contains CUPS Filters API functions.

Last updated on 2019-08-20 14:28:58 -0700