UP | HOME

Arch printing

1. Setup

  • Get a CUPS server
  • Get Avahi for zero configuration networking
  • find the drivers
  • ippfind to get the uri
    • Alternatively, use avahi-browse --all --ignore-local --resolve --terminate to get all the local devices
    • You'll get an IP for the printer. Then go to, e.g. http://192.168.0.202:631/printers/ this is the URI
  • use lpadmin to set up a queue
    • lpadmin -p HP_LASERJET_P1006_NETWORK -v ipp://luke-rpi-0.local:631/printers/HP_LaserJet_P1006 -E -m everywhere
    • the everywhere means that the drivers will be found automatically (hopefully)

2. Printing

  • lpr <file> to print
  • lpq to check jobs

2.1. using web interface

  • https://kb.adamsdesk.com/operating_system/arch_linux_install_network_printer/

    Open "Manage Printing" or browse to http://localhost:631/. Click on “Administration” at the top of the web page. Click on “Add Printers”. Select the desired printer under "Discovered Network Printers" and click the "Continue" button. Set the "Name", "Description" and "Location" and then clock on the "Continue" button. Select the "Model" of printer and click the "Add Printer" button. Select default options and click the "Set Default Options" button.

Created: 2024-07-15 Mon 01:28