{"id":403,"date":"2021-05-23T19:22:18","date_gmt":"2021-05-23T19:22:18","guid":{"rendered":"https:\/\/andrejacobs.org\/?p=403"},"modified":"2022-04-11T20:22:59","modified_gmt":"2022-04-11T20:22:59","slug":"saving-a-samsung-printer-from-the-landfill-by-using-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/andrejacobs.org\/general-computing\/saving-a-samsung-printer-from-the-landfill-by-using-a-raspberry-pi\/","title":{"rendered":"Saving a Samsung Printer from the landfill by using a Raspberry Pi"},"content":{"rendered":"\n
Photo by Antoine GIRET<\/a> on Unsplash<\/a><\/p>\n\n\n\n I have been using a Samsung CLP-320 printer (Colour laser) for years and it used to work on every macOS up until Big Sur. It used to be as easy as just attaching the printer to the Mac and the driver would be installed automatically.<\/p>\n However that is no longer the case with Big Sur. You can no longer find a driver that works with macOS Big Sur. HP bought the printer business from Samsung and don’t seem to offer any new drivers.<\/p>\n Instead of land filling the printer I decided to connect a Raspberry Pi Zero W to it and turn it into a WiFi accessible printer.<\/p>\n I will be running the Raspberry Pi in headless mode (meaning without a display) and followed my previous tutorial<\/a> on how I set it up.<\/p>\n Here is a recap of what I have done:<\/p>\n However in my case none of the existing drivers worked. I managed to download the driver from HP’s (who now owns the Samsung printer business) website<\/a>. Also managed to find the .ppd file inside of the installation zip without having to run the installation scripts.<\/p>\n This still didn’t work! See the troubleshooting section for more details on what I did to get the printer to work.<\/p>\n NOTE:<\/strong> It wasn’t quite as smooth sailing for me. See the troubleshooting section.<\/p>\n Do a test print.<\/p>\n We are back in business!<\/strong> Yeah baby yeah<\/p>\n<\/li>\n<\/ul>\n As mentioned earlier I couldn’t get the Samsung CLP-320 to print out of the not so new box.<\/p>\n After using the CLP-320 ppd file a print would never even start and the job just ends up saying stopped.<\/p>\n I noticed this status message and after a Google I found this<\/a> on SO (ja ja ding dong I know it is stack exchange and not stack overflow). Looks like the driver is not for arm (Pi) and so had to install splix-drivers.<\/p>\nHardware used<\/h2>\n
<\/p>\n
\n
Software used<\/h2>\n
\n
Initial setup<\/h2>\n
\n
printpi<\/code><\/li>\n
Setting up the Print server<\/h2>\n
\n
pi@printpi:~ $ sudo apt install cups\n<\/code><\/pre>\n
\n
pi@printpi:~ $ sudo usermod -a -G lpadmin pi\n<\/code><\/pre>\n
\n
pi@printpi:~ $ sudo cupsctl --remote-any\n<\/code><\/pre>\n
\n
<\/p>\n
\n
pi<\/code> and the password that was set earlier.<\/li>\n
<\/p>\n
\n
<\/p>\n
\n
\n
<\/p>\n
Testing 1 2 3<\/h2>\n
\n
<\/p>\n
<\/p>\n
Adding the printer to macOS<\/h3>\n
\n
<\/p>\n
\n
<\/p>\n
\n
<\/p>\n<\/li>\n
Troubleshooting<\/h2>\n
<\/p>\n
\n
pi@printpi:~ $ sudo apt-get install printer-driver-splix\n<\/code><\/pre>\n
\n
<\/p>\n
References<\/h2>\n