Raspberry Pi 4B stepped pit Guide - (14) local area network to share a family center with cups

Raspberry pie at home at least three 家庭资源共享中心roles: 无线打印服务器, 下载服务器, .
无线打印服务器Apple developed with cupsprinter sharing wireless implementation.

Installation Preparation

Confirm your printer model, it will be used later. Then as usual, the first update source.

sudo apt-get update

installation

sudo apt-get install cups
# 安装cups

sudo usermod -a -G lpadmin pi
# 将用户pi设为管理员

sudo cupsctl --remote-any
# 开启远程访问权限

# cups安装完毕

Configuration

  1. Open your browser and visit http://192.168.*.*:631. Colon front is ip address raspberry pie, 631 can not be omitted behind.

  2. Click on the middle of the screen Adding Printers and Classes, then click the first button on the left side Add Printer, choose your printer (such as HP 1110), and then click continue.
    Note: The process requires the use of user passwords Raspberry Pi landing. If there is 您的连接不是私密连接, you can click on the bottom 高级- 继续前往.

  3. Will Nameand Descriptionchanged the name easy to remember, such as HP1110, maybe later will be used. Check on Share This Printer, click continue.

  4. After selecting the model, click on the Add PrinterAdd Printer is completed.

    Pit 1: Here you must select exactly the same model or series, such as HP1110 and 1112 must select the 1110 series, if a similar model, does not prompt any error, but that does not print anything.

    Most of the models have been preset, if no corresponding model, you need to install the appropriate drivers. For example, HP series printers There are two ways:

     1. 用清华源的话,简单速度快,推荐。`sudo apt-get install hplip`
    
     2. 去`https://developers.hp.com/hp-linux-imaging-and-printing/gethplip`,选择`Debian`,点击`Download HPLIP`。之后会跳转到`Sourceforge`进行下载。目前(2020.3.28)版本号:3.20.3。嫌速度慢的话可以用我下载好的:`链接: https://pan.baidu.com/s/1BZidAhtKxA_G8P2LlQP_Jw 提取码: 93dw`。
    
    chmod 755 hplip-3.20.3.run
    # 赋予可执行权限
    
    ./hplip-3.18.4.run
    # 运行,并按提示操作
    
  5. Press the map print a test page, if you can print, the installation is complete. My HP 1110 color play out a bit dim.

Win use

  1. Win10 is very simple, then click on 设置- 设备- 打印机和扫描仪, you can see the printer, click on Add, and other less than a minute to use.

  2. Win7 slightly complicated, need to manually set. Click 控制面板- 硬件和声音- 设备和打印机- 我所需的打印机未列出- 按名称选择共享打印机, fill http://192.168.*.*:631/printers/HP1110(之前设置的打印机名)- 下一步- 对应驱动-确定

Mac use

Under normal circumstances, Click 设置- 打印机与扫描仪- +, select the drive and add the shared printer can be.

Pit 2: If not connected, or connected to, but not print it manually set, as shown below. I was half an hour in the pits this step. .

Note: The queue of HP1110the printer name previously set, use the following to manually select the appropriate drive.

Guess you like

Origin www.cnblogs.com/bowen404/p/12588173.html