Making an old USB printer support Apple AirPrint using a Raspberry Pi
source link: https://blog.jgc.org/2021/11/making-old-usb-printer-support-apple.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Making an old USB printer support Apple AirPrint using a Raspberry Pi
There are longer tutorials on how to connect a USB printer to a Raspberry Pi and make it accessible via AirPrint but here's the minimal one that's just a list of commands and simple instructions.
1. Install Raspbian on a SD card
2. Mount SD card on some machine and navigate to /. Add a file called ssh and set up wpa_supplicant.conf for WiFi access. Now you have headless and don't need a keyboard or monitor.
3. Boot. Login. sudo raspi-config. Change password.
4. Connect printer via USB cable
5. Then execute the following sequence of commands to set up CUPS and make it accessible on the network.
sudo apt-get update
sudo apt-get full-upgrade
sudo apt-get install cups
sudo usermod -a -G lpadmin pi
sudo cupsctl --remote-any
sudo systemctl restart cups
6. Visit http://raspberrypi:631/admin and add the local printer. Make sure "sharing" is enabled on the printer.
7. Then make sure AirPrint is set up
sudo apt-get install avahi-daemon
sudo reboot
Printer should work now via AirPrint.
Popular posts from this blog
Recommend
-
96
r/iOS11:
-
15
对很多办公室环境来说,局域网共享打印机往往都是刚需,而如果局域网内的设备大多为 Windows 设备,通过
-
6
Using a Driverless Printer on Debian (Without Avahi) It's nice to be back on a relatively minimal Debian install, instead of Ubuntu-with-everything. But...
-
6
How to Check if Your Printer Is AirPrint Enabled By Jessica Lanman Published 7 hours ago AirPrint makes it effortless...
-
5
Using a 3D Printer to Create Disposable First Aid Tools By Samuel L. Garbett Published 11 hours ago Having first aid...
-
8
How 60,000 Parts Were 3D Printed In Under Eight Hours Using Magna 3D Printer By Sammy Ekaran Published 8 hours ago
-
6
Stop using 8.5×11 paper for labels with this 4×6 thermal printer now at $118 (New low, Reg. $174) ...
-
3
Rini Kalsi October 5, 2022 3 minute read ...
-
12
Rollo wireless printer review: A the...
-
2
Digital making with Raspberry Pis in primary schools in Sarawak, Malaysia Dr Sue Sentance, Director of our Raspbe...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK