更新 'repository.yaml'
This commit is contained in:
11
cups-airprint/CHANGELOG.md
Normal file
11
cups-airprint/CHANGELOG.md
Normal file
@@ -0,0 +1,11 @@
|
||||
## 2.4.2-3 (2025-07-16)
|
||||
|
||||
- 版本升级
|
||||
|
||||
## 2.4.2-2 (2025-01-16)
|
||||
|
||||
- 版本升级
|
||||
|
||||
## 2.4.2 (2025-01-14)
|
||||
|
||||
- 首次推出
|
||||
41
cups-airprint/DOCS.md
Normal file
41
cups-airprint/DOCS.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# CUPS AirPrint
|
||||
|
||||
## 使用方法
|
||||
|
||||
- CUPS管理员登录:print,密码:print(可以在Dockerfile中更改)
|
||||
|
||||
|
||||
|
||||
**驱动安装方法**
|
||||
|
||||
以惠普1020打印机为例:按以下步骤安装hplip驱动的插件。
|
||||
|
||||
1. 浏览器打开下载地址:https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
|
||||
|
||||
2. 找到和版本号对应的两个.run和.run.asc文件,以及不区分版本的.plugin文件,例如:
|
||||
```json
|
||||
hp_laserjet_1020.plugin(不区分版本)、
|
||||
hplip-3.22.10-plugin.run(3.22.10版本)、
|
||||
hplip-3.22.10-plugin.run.asc(3.22.10版本)
|
||||
```
|
||||
3. 通过Filebrowser打开addon_configs/xxxxxx_opencups/upload目录,将上面三个文件拷贝进去。
|
||||
|
||||
4. 成功放进去后,使用命令进入插件的安装,浏览器打开http://homeassistant.local:7681 进入终端:
|
||||
输入命令行
|
||||
```shell
|
||||
login
|
||||
```
|
||||
第二步,进入docker容器内部
|
||||
```shell
|
||||
wgha d cups -S /bin/bash
|
||||
```
|
||||
第三步,执行命令
|
||||
```shell
|
||||
sudo hp-plugin -p /config/upload/
|
||||
```
|
||||
5. 完成插件的安装,期间会询问是否同意许可协议,按“y”同意。
|
||||
|
||||
6. 到此驱动添加完毕,addons webui打开 CUPS-AirPrint即可使用。
|
||||
|
||||
|
||||
参考地址:https://blog.csdn.net/inthesun29/article/details/127143638
|
||||
9
cups-airprint/README.md
Normal file
9
cups-airprint/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 冬瓜甄选addon: CUPS AirPrint
|
||||
|
||||
## 关于
|
||||
|
||||
配备AirPrint功能的CUPS打印服务器
|
||||
|
||||
## 源
|
||||
|
||||
https://github.com/zajac-grzegorz/homeassistant-addon-cups-airprint
|
||||
24
cups-airprint/config.yaml
Normal file
24
cups-airprint/config.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: CUPS AirPrint
|
||||
version: "2.4.2-3"
|
||||
slug: opencups
|
||||
description: 著名的开源打印共享服务器
|
||||
url: https://gitcode.com/waxgourd/addons
|
||||
image: r.hassbus.com/wghaos/addon-cups-airprint
|
||||
arch:
|
||||
- amd64
|
||||
- aarch64
|
||||
usb: true
|
||||
init: false
|
||||
homeassistant_api: true
|
||||
host_network: true
|
||||
webui: "[PROTO:http]://[HOST]:[PORT:631]"
|
||||
ports:
|
||||
631/tcp: 631
|
||||
631/udp: 631
|
||||
ports_description:
|
||||
631/tcp: 让本地网络上的其他设备打印到此服务器
|
||||
631/udp: 让本地网络上的其他设备打印到此服务器
|
||||
# ingress: false
|
||||
map:
|
||||
- addon_config:rw
|
||||
|
||||
BIN
cups-airprint/icon.png
Normal file
BIN
cups-airprint/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
cups-airprint/logo.png
Normal file
BIN
cups-airprint/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user