Skip to content

Instantly share code, notes, and snippets.

View jaindinkar's full-sized avatar
💡
"Pleasure in the job puts perfection in the work" ~Aristotle

Dinkar Jain jaindinkar

💡
"Pleasure in the job puts perfection in the work" ~Aristotle
View GitHub Profile
@jaindinkar
jaindinkar / cups_hplj1020_tutorial.md
Last active April 23, 2026 12:12 — 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.

  • Additional Note: Tested this on RPi Zero 2 W with RPi OS Lite (64bit) and it works like charm.
  • 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
@jaindinkar
jaindinkar / esptool troubleshooting.md
Last active April 24, 2022 02:57 — forked from DrSensor/esptool.md
ESP Troubleshooting 101
$ esptool.py chip_id
esptool.py v2.5.1
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:0b:dd:53