sudo apt install cups
sudo usermod -a -G lpadmin pi
sudo cupsctl --remote-any
sudo cupsctl --share-printers
sudo lpinfo -v # should show your USB-connected printer
Source: https://www.bchemnet.com/suldr/suld.html
I used version 1.00.06 (driver2)
, works fine. But you can try another one with arm binaries.
- Download https://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-1.00.06.tar.gz
- Extract to any location
- Go to
https://<RPI-IP>:631/
- Navigate
Administration
->Add printer
- Select your printer
- Configure name, sharing option
- Select PPD file for your printer from extracted tar archive, e.g.:
uld/noarch/share/ppd/Samsung_ML-191x_Series.ppd
scp /path/to/your/UnifiedLinuxDriver-1.00.06.tar.gz pi@<RPI-IP>:/home/pi
orwget --trust-server-names https://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-1.00.06.tar.gz
- then extract and copy all that you need:
tar zxvf UnifiedLinuxDriver-1.00.06.tar.gz
sudo cp ./uld/arm/libscmssc.so /usr/lib/ && \
sudo cp ./uld/arm/smfpnetdiscovery /usr/bin/ && \
sudo cp ./uld/arm/smfpnetdiscovery /usr/lib/cups/backend/ && \
sudo cp ./uld/arm/pstospl /usr/bin/ && \
sudo cp ./uld/arm/pstospl /usr/lib/cups/backend/ && \
sudo cp ./uld/arm/pstosplc /usr/bin/ && \
sudo cp ./uld/arm/pstosplc /usr/lib/cups/filter/ && \
sudo cp ./uld/arm/rastertospl /usr/bin/ && \
sudo cp ./uld/arm/rastertospl /usr/lib/cups/filter/ && \
sudo cp ./uld/arm/rastertosplc /usr/bin/ && \
sudo cp ./uld/arm/rastertosplc /usr/lib/cups/filter/
rm -rf ./uld
lpstat -t # list printers
echo "test" | lp -d <YOUR_PRINTER_NAME>