Skip to content

Instantly share code, notes, and snippets.

@scintill
Created August 21, 2019 06:31
Show Gist options
  • Save scintill/d219607fd33bbf09ffc85c0d81547eb0 to your computer and use it in GitHub Desktop.
Save scintill/d219607fd33bbf09ffc85c0d81547eb0 to your computer and use it in GitHub Desktop.

Tested with HP LaserJet 1018.

  1. Set up Raspbian buster as usual. https://raspberrypi.stackexchange.com/a/57023 helped with headless setup of Wifi and SSH.
  2. Change /etc/hostname and /etc/hosts to set hostname.
  3. sudo apt-get install cups hplip
  4. sudo hp-setup -i
  5. sudo cupsctl --share-printers
  6. avahi-browse -art on desktop should show your printer.

You can forward port 631 over ssh to log in to the CUPS web interface. You may have to set a root password to do certain operations over the browser interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment