Debian10: 安装兄弟DCP-7080D打印机

本文详细介绍如何在Debian10服务器上配置BrotherDCP-7080D打印机,并通过CUPS服务实现与Windows10客户端的网络共享打印。包括驱动安装、CUPS服务配置、测试及客户端连接步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

服务器:debian10  IP地址192.168.0.240
客户端:windows10   IP地址192.168.0.100
打印机:brother DCP-7080D

第一步:准备文件
到打印机官方网站下载Linux版本的Driver Intall Tool和windows10版本的<添加打印机向导驱动程序>,文件名分别为:
linux-brprinter-installer-2.2.2-1.gz
Y14B_C1-hostm-D2.EXE
网址:https://support.brother.com/g/b/producttop.aspx?c=cn&lang=zh&prod=dcp7080d_cn

第二步:安装 CUPS服务(通用Unix打印系统)

markul@server:sudo apt-get update
markul@server:sudo apt-get install cups

第三步:安装打印机驱动

markul@server:sudo gunzip linux-brprinter-installer-2.2.2-1.gz
markul@server:sudo bash linux-brprinter-installer-2.2.2-1 DCP-7080D
You are going to install following packages.
   dcp7080dlpr-3.2.0-1.i386.deb
   dcp7080dcupswrapper-3.2.0-1.i386.deb
   brscan4-0.4.9-1.amd64.deb
   brscan-skey-0.3.1-1.amd64.deb
OK? [y/N] ->y
........
Will you specify the Device URI? [Y/n] ->y
0: lpd
1: socket
2: https
3: ipps
4: cups-brf:/
5: beh
6: serial:/dev/ttyS0?baud=115200
7: ipp
8: http
9: usb://Brother/DCP-7080D?serial=E80117B0N291805
10 (I): Specify IP address.
11 (A): Auto. (usb://Brother/DCP-7080D?serial=E80117B0N291805)

select the number of destination Device URI. ->11

Test Print? [y/N] ->y



#测试打印机
markul@server:sudo lp -P DCP7080D /usr/share/cups/data/testprint

 第四步:修改cups配置(/etc/cups/cupsd.conf) 

# Only listen for connections from the local machine.
Listen *:631
Listen /run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow all
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow all
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow all
</Location>

# Restrict access to log files...
<Location /admin/log>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

第五步:重启cups服务

markul@server:sudo service cupsd restart
markul@server:sudo lpstat -a
DCP7080D accepting requests since Sun 16 Aug 2020 03:42:22 AM EDT

第六步:测试cups  WEB管理
客户端浏览器打开:https://192.168.0.240:631

第七步:客户端安装WIN10版本驱动
运行Y14B_C1-hostm-D2.EXE,解压出驱动程序文件,注意路径。

 第八步:客户端连接打印机
浏览网络---->打开服务器---->右击dcp7080d-->连接(N)

在弹出的对话框中点 "确定"


再点“从磁盘安装(H)...”

浏览第七步解压驱动包的路径,然后确定,在出现的列表中选择“Brother DCP-7080D Printer”

至此安装完成!

### 关于 'cache-loader' 模块未找到的解决方案 当遇到 `Syntax Error: Error: Cannot find module 'cache-loader'` 错误时,通常是因为某些依赖项未能正确安装或存在版本兼容性问题。以下是针对该问题的具体分析和解决方法: #### 1. 删除现有依赖并重新安装 由于部分依赖可能未完全下载或配置失败,建议清理当前环境中的依赖文件,并重新执行安装操作。 - **删除旧依赖** 进入项目根目录,运行以下命令以移除现有的 `node_modules` 文件夹以及锁定文件: ```bash rm -rf node_modules package-lock.json ``` - **重新安装依赖** 使用以下命令重新拉取所有必要的模块: ```bash npm install ``` 此过程会依据 `package.json` 配置自动解析所需依赖关系[^3]。 #### 2. 处理高版本 Node.js 和 NPM 的兼容性问题 如果使用的 Node.js 或 NPM 版本较高,则可能会触发上游依赖冲突的情况。此时可以通过指定参数来忽略此类警告并强制完成安装流程。 - 执行带选项的安装指令: ```bash npm install --legacy-peer-deps ``` 上述命令能够有效规避因新策略引入而导致的部分历史遗留库无法匹配的问题[^4]。 #### 3. 明确目标加载器及其关联插件的状态 确认是否遗漏了其他间接影响到构建链路的关键组件(例如 `sass-loader`, `style-loader`)。对于特定场景下的样式表预处理工具缺失情况也需要同步关注[^1]。 通过上述措施基本可以消除由缓存机制引发的相关异常状况;当然,在实际开发过程中还应定期更新全局管理软件至最新稳定版次从而减少不必要的麻烦发生几率。 ```javascript // 示例代码片段展示如何验证已修复后的服务端渲染功能是否恢复正常工作状态。 const express = require('express'); const path = require('path'); let app = express(); app.use(express.static(path.join(__dirname, './dist'))); app.listen(8080,function(){ console.log("Server is running on port 8080..."); }); ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值