Skip to content

Instantly share code, notes, and snippets.

@jack338c
jack338c / cups_hplj1020_tutorial.md
Created January 7, 2026 10:07 — forked from Solarflame5/cups_hplj1020_tutorial.md
How to set up an HP LaserJet 1020 printer server using CUPS on Raspberry Pi OS Bullseye

How to set up an HP LaserJet 1020 printer server using CUPS on Raspberry Pi OS Bullseye

Set up the Raspberry Pi

Note: This probably also works in Raspberry Pi OS Bookworm, but I have only tested this on my Pi 1 B+ that doesn't support Bookworm. It should also probably work on most Debian based distros including Ubuntu.

  • Flash the Raspbian Bullseye Lite image to the SD card
  • Configure the user account, network and SSH settings while imaging to make setup easier.

Install the required packages

You need to install CUPS, HPLIP, and the foo2zjs printer drivers, use the following commands:

sudo apt update
sudo apt install cups hplip printer-driver-foo2zjs
@jack338c
jack338c / raspberry-pi-cups.md
Created October 8, 2023 13:34 — forked from bcastellano/raspberry-pi-cups.md
Configure Raspberry to be print server with cups and adding HP LaserJet 1020
@jack338c
jack338c / -etc-init.d-clash
Created October 2, 2023 14:59 — forked from zsien/-etc-init.d-clash
openwrt-clash
#!/bin/sh /etc/rc.common
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
START=95
USE_PROCD=1