OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        cups-filters-2.0.1p3

        Package search / Categories / OpenBSD 8.0 release
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        OpenBSD 8.0 release ยท amd64

        OpenPrinting CUPS filters

        Project homepage: https://wiki.linuxfoundation.org/openprinting/cups-filters

        Description

        This package provides additional CUPS filters which are not provided by the CUPS project itself. This includes filters for a PDF based printing workflow.

        Package information

        Ports path
        print/cups-filters
        Package architecture
        amd64
        Maintainer
        Antoine Jacoutot <ajacoutot@openbsd.org>
        Categories
        print
        Available flavors
        None listed

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Library

        • print/libcupsfilters
        • print/libppd

        Runtime

        • print/foomatic-db-engine

        Build

        • devel/gmake
        • devel/dwz
        OpenBSD README

        This README contains unresolved ports variables; replace them before using its commands.

        +-------------------------------------------------------------------------------
        | Running cups-filters on OpenBSD
        +-------------------------------------------------------------------------------
        
        Bonjour broadcasts of shared, remote printers
        =============================================
        
        The cups-browsed(8) daemon can be used to browse Bonjour (mDNS) broadcasts of
        remote printers and create/remove local raw queues pointing to these printers.
        This requires the cups-browsed and avahi packages to be installed and the
        messagebus and avahi-daemon(8) to be running first.
        To start it at boot time, the rc.conf.local(8) pkg_scripts line can be edited as
        follow:
        
            pkg_scripts=[...] messagebus avahi_daemon cups_browsed [...]
        
        Using direct printing with foomatic-rip(1)
        ==========================================
        
        The Foomatic framework supports direct printing which does not rely on CUPS (nor
        any spooler).
        
        Complete documentation can be found at:
            https://wiki.linuxfoundation.org/openprinting/database/nospoolerdocumentation
        
        Foomatic configuration
        ----------------------
        A specific PPD file has to be created for the printer.
        Refer to the documentation that comes with the foomatic-db-engine package to
        learn how to generate PPD files
        (cf. ${LOCALBASE}/share/doc/pkg-readmes/foomatic-db-engine).
        
        # mkdir -p ${SYSCONFDIR}/foomatic/direct
        # foomatic-ppdfile -p 'Samsung-ML-2850D' -d 'Postscript' \
        	>${SYSCONFDIR}/foomatic/direct/samsung-ml2850d.ppd
        
        Alternatively, you can look under ${LOCALBASE}/share/foomatic/db/source/PPD for
        existing PPD files matching your printer (in which case the PPD file can be
        copied and/or gunzip'd under ${SYSCONFDIR}/foomatic/direct).
        
        PPD file configuration
        ----------------------
        For a TCP/Socket/JetDirect printer listening on port 192.168.0.10:9100 and
        supporting raw printing (does *not* work with LPD), add the following line near
        the top of ${SYSCONFDIR}/foomatic/direct/samsung-ml2850d.ppd:
        *FoomaticRIPPostPipe: "| /usr/bin/nc -w 1 192.168.0.10 9100"
        
        More examples are available in the official documentation (see link above).
        
        You should now be able to send jobs to this printer by running:
            $ /usr/local/bin/foomatic-rip -q -P samsung-ml2850d /path/to/file.ps
        
        Input filter script
        -------------------
        Files must be converted before being sent to foomatic-rip(1).
        Depending on your printer capabilities, it can accept PS and/or PDF input.
        
        Several packages can be used for convertion, a2ps being the most complete.
        Note that a2ps(1) requires external helper tools for converting files.
        They can be configured under ${SYSCONFDIR}/a2ps{,-site}.cfg.
        By default, converting images requires the ImageMagick package.
        
        Here's a sample converter script:
        
        ---8<-------------------------------------------------------------------
        #!/bin/sh
        
        ${LOCALBASE}/bin/a2ps -BRq --columns=1 -o - | \
        	/usr/local/bin/foomatic-rip -q -P samsung-ml2850d
        ---8<-------------------------------------------------------------------
        
        Tips: you can symlink this script to "lpr" to ease out-of-the-box printing for
        applications supporting lpr(1) printing.
        
        If your printer uses PDF printing, you can pipe a2ps to ps2pdf (from the
        ghostscript package).
        
        Additional options can be passed to foomatic-rip(1).
        e.g.
        - to print in duplex mode: -o duplex
        - to set the page size to letter: -o pagesize=letter
        
        Default options can be set by editing the PPD file.
        
        Used by (6 dependency relationships)

        Includes library, runtime, build and test dependencies.

        Package guides

        • Installing and updating packages
        • Set up printing and CUPS

        Package details as JSON

        Report a bug