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

        hplip-common-3.26.6

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

        OpenBSD 8.0 release ยท amd64

        HPLIP applications common files

        Project homepage: http://hplipopensource.com/

        Description

        The Hewlett-Packard Linux Imaging and Printing (HPLIP) system provides a unified single and multi-function connectivity driver solution. It provides support for print, scan, fax and toolbox. This package provides the HPLIP applications' common files.

        Package information

        Ports path
        print/hplip,-common
        Package architecture
        amd64
        Maintainer
        Antoine Jacoutot <ajacoutot@openbsd.org>
        Categories
        print, lang/python
        Available flavors
        None listed
        Only for architectures
        aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa, m88k, sh

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

        Direct dependencies

        Library

        • devel/libusb1
        • net/avahi,-libs
        • net/net-snmp

        Build

        • lang/gawk
        • devel/py-setuptools
        • lang/python/3
        • devel/gmake
        • devel/dwz

        Test

        • lang/python/3
        OpenBSD README

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

        +-----------------------------------------------------------------------
        | Running hplip-common on OpenBSD
        +-----------------------------------------------------------------------
        
        This is a common README for all HPLIP packages.
        
        HPLIP is a complete imaging and printing system for CUPS that includes HPIJS.
        HPIJS is the basic printing driver that supports printing from CUPS, LPD, PPR,
        and other spoolers.
        
        Communication with local printers is done via CUPS over libusb, make
        sure you read the "USB" section of the documentation that comes with the
        cups package (cf. ${LOCALBASE}/share/doc/pkg-readmes/cups-*).
        
        If you care about device information (e.g. ink status), you should use
        the HP tools to install and communicate with it (see below).
        
        Supported printers are available here:
        https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index
        Models that don't need a "Driver Plug-in" are prefered as they don't require a
        proprietary blob.
        
        Printing
        ========
        
        Installing a printer automatically using the HP tools
        -----------------------------------------------------
        (req. hplip, opt. hplip-gui)
        
        To add a CUPS printer, run the following command as root
        (the DBus, Avahi -for network printer- and CUPS daemons must be running):
            hp-setup -i
        
        Alternatively, if you have hplip-gui installed, you can use the
        graphical interface by just running the following as root:
            hp-setup
        
        Installing a printer manually
        -----------------------------
        (req. hpcups, opt. hpijs)
        
        To manually add a CUPS printer without using the native HP tools from
        the hplip package you must know the device URI of the printer. This URI
        is created using the 'hp-makeuri' utility from the hplip package, but
        once known, hplip is not needed and can be pkg_delete(1)d.
        
        e.g. for a network printer:
            hp-makeuri -c 192.168.10.100
            CUPS URI: hp:/net/Officejet_7500_E910?ip=192.168.10.100
        
        Then add an 'HP Printer (HPLIP)' entry in CUPS with the corresponding
        URI (using the CUPS web interface or lpadmin(8)).
        
        Network printers can also be used through JetDirect and/or LPD, in which
        case it is not necessary to create a URI; the spooler can be configured
        to use a direct connection.
        For example:
            socket://192.168.255.14:9100
            lpd://192.168.255.14/lp
        
        Alternatively, the printer can be configured to use the foomatic print
        framework using the hpijs package (useful for direct printing without
        CUPS). For more information, see:
            ${LOCALBASE}/share/doc/pkg-readmes/cups-filters-*
        
        Scanning
        ========
        
        See generic scanning documentation in:
            ${LOCALBASE}/share/doc/pkg-readmes/sane-backends
        
        Installing a scanner automatically using the HP tools
        -----------------------------------------------------
        (req. hplip+hpaio)
        
        First, install the printing part of your all-in-one printer using the HP
        tools under cups(1) as documented above (it must used an hpcups driver).
        
        The dbus-daemon(1) must be running:
            # rcctl enable messagebus && rcctl start messagebus
        
        Once configured in CUPS with an hp:// URI, then it should work out of
        the box using hp-scan and/or sane(7)-compatible applications.
        e.g.
            scanimage -L                       
            device `hpaio:/net/Officejet_7500_E910?zc=oj-7500a' is a Hewlett-Packard Officejet_7500_E910 all-in-one
        
        Installing a scanner manually
        -----------------------------
        (req. hpaio)
        
        To manually add a scanner without using the native HP tools from the
        hplip package you must know the device URI of the scanner. This URI is
        created using the 'hp-makeuri' utility from the hplip package, but once
        known, hplip is not needed and can be pkg_delete(1)d.
        
        e.g. for a network scanner:
            hp-makeuri -s 192.168.10.100
            SANE URI: hpaio:/net/Officejet_7500_E910?ip=192.168.10.100
        
        Then pass this URI to your sane(7)-compatible application.
        e.g.
            xsane hpaio:/net/Officejet_7500_E910?ip=192.168.10.100
        
        Note that in this mode, not all applications will be able to detect your
        scanner; if that's an issue, install your scanner using the HP tools as
        documented above.
        
        Plugin installation
        ===================
        (req. hplip)
        
        Some devices will not work properly without a corresponding proprietary
        binary plugin. HPLIP plugins automated installation is not available on
        OpenBSD but it can be installed manually by running the following as
        root (or as a regular user with su(1) rights):
            cd /tmp
            ftp http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${V}-plugin.run
            /bin/sh ./hplip-${V}-plugin.run --keep 2>/dev/null
            cd plugin_tmp && ${MODPY_BIN} ./plugin_install.py -i
        
        Used by (4 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