Have a printer you want to share between multiple computers?
Looking for another way to use a Raspberry Pi in your smarthome?
Stay tuned and I will show you how to do this
⏱️TIMESTAMPS⏱️
0:00 – Intro
0:49 – What we will be covering
1:06 – Required items
1:49 – Creating a SD card for RPI
3:53 – Enabling SSH
4:32 – Updating RPI OS
6:02 – Installing CUPS
13:15 – Adding printer to CUPS
15:57 – Configuring workstation to use CUPS based printer
## Update RPI
sudo apt-get update
sudo apt-get upgrade
sudo reboot
## Install CUPS
sudo apt-get install cups
## Add user pi to lpadmin group
sudo usermod -a -G lpadmin pi
## Make a backup of cups confi file
Cd /etc/cups
sudo cp cupsd.conf cupsd.conf.back
## Start cups service before making any changes to make sure it would start at this point
sudo /etc/init.d/cups restart
sudo /etc/init.d/cups status – should show as started
sudo /etc/init.d/cups stop
## Configure CUPS
sudo nano /etc/cups/cupsd.conf
# listen on all interfaces
#Listen localhost:631
# Restrict access to the server…
Order allow,deny
Allow @Local
# Restrict access to the admin pages…
Order allow,deny
Allow @Local
# Restrict access to configuration files…
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow @Local
# You can allow all domains to access the interface
ServerAlias *
# or provide a specific name.
# ServerAlias one.example.com two.example.com
## Allow CUPS to be available everywhere on the network
sudo cupsctl –remote-any
** Note if error restart, use the restart cmd below and the retry this cmd
## Restart CUPS to make these changes active
sudo /etc/init.d/cups restart
## Check for CUPS admin page to respond
http://x.x.x.x:631 (replace x.x.x.x with ip address of CUPS RPI)
If printer is HP and not showing under “Local Printers”, may need to install hplip from this URL
https://developers.hp.com/hp-linux-imaging-and-printing
## If the printer only prints X number of jobs and then quits, try the following-
# Replace PRINTERNAME with the name used in step 7. Eg: m1136
lpadmin -p PRINTERNAME -o usb-no-reattach-default=true
# Restart your Pi
sudo reboot
================================================
*** Show Notes, Links and Resources ****
Here are the items mentioned in this video –
CanaKit Raspberry Pi 4 2GB Basic Starter Kit with Fan (2GB RAM)
https://amzn.to/35QBB8I
———————————–
Click on this link to get the
SmartHome Account Creation Checklist
http://eepurl.com/go4fVP
➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Never miss a video about creating your own smart home
Subscribe ⇢ http://ronaldnutter.com/subscribe
To listen to an audio version of this episode while driving, TechBytes with Ron Nutter is available on iTunes, Google Podcasts, Stitcher and TuneIn. Go to TechByteswithRonNutter.com to subscribe today!
To subscribe to the TechbytesRN newsletter, click here – http://ronaldnutter.com/sample1
In return for subscribing to the newsletter, I will send you a chapter from my first DIY Smart Home Guide Book.
Visit http://www.ronaldnutter.com to see all the books Ron has written
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for the support!
*===============================*
Become a Patreon supporter
https://www.patreon.com/techbytesrn
*===============================*
#TechBytesRN #smarthome #RaspberryPi #CUPS
Podcast: Play in new window | Download
Subscribe: Apple Podcasts | TuneIn | RSS