Home 樹梅派列印機和掃描器伺服器
Post
Cancel

樹梅派列印機和掃描器伺服器

  • 樹梅派作業系統

  • CUPS和SANE https://wiki.archlinux.org/title/CUPS

L3110-主要依照這篇 https://antivirus.com/2021/05/26/raspberry-pi-project-how-to-convert-a-usb-all-in-one-printer-to-a-wireless-printer/

  • 加使用者看這一篇–Add Printer foribbiden排除 https://unix.stackexchange.com/questions/235477/cups-add-printer-page-returns-forbidden-on-web-interface

  • 印不出來除錯
    1
    
    tail -n 100 -f /var/log/cups/error_log
    

    https://wiki.archlinux.org/title/CUPS/Troubleshooting

  • 安裝 printer-driver-escpr、hplip 列印的時候出現以下錯誤,而且job一直是stopped
    1
    
     File \"/usr/lib/cups/filter/epson-escpr-wrapper\" not available: No such file or directory
    

下面方法解決問題並且成功列印測試頁。

1
2
sudo apt install printer-driver-escpr #安裝後解決
sudo apt install hplip #下次測試不安裝可不可以順利運作(epson)

https://forums.raspberrypi.com/viewtopic.php?t=225739

local列印成功後,設定網路

  • 開啟網路管理服務以及nmtui
    1
    2
    
    systemctl start NetworkManager
    sudo nmtui
    

不要設定AllowUser以免權限不足

如果發現錯誤,請在網頁AllowUser留白並且儲存

1
Returning IPP client-error-not-authorized for Create-Job (ipps://192.168.50.169:631/printers/epson_l3110_series) from 192.168.50.9.

https://askubuntu.com/a/708217

掃描器

使用SANE:Setting up a Raspberry Pi Scanner Server using SANE

安裝必要軟體後,檢查SANE能不能找到你的掃描器,如果不行就必須手動設定,方法如官網Helpful commands for Troubleshooting sane

網頁板掃描頁面

https://github.com/sbs20/scanservjs/tree/master

安裝後出現以下說明

1
2
3
4
5
6
7
Created symlink /etc/systemd/system/multi-user.target.wants/scanservjs.service → /etc/systemd/system/scanservjs.service.

scanservjs installed and running
  http://127.0.0.1:8080

If you encounter problems when running, try
  sudo journalctl -e -u scanservjs

桌面版軟體

安裝後在windows上面安裝前端軟體SaneTwain

其他參考: https://ubuntu.com/server/docs/service-cups

airprint https://www.developer.com/mobile/cups-and-raspberry-pi-airprinting/

https://unix.stackexchange.com/questions/394687/printer-drivers-required-if-cups-is-installed

This post is licensed under CC BY 4.0 by the author.

Nomachine無法控制Ubuntu Server解法

Deepstream辨識結果遠端觀看