Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

broder-printer布罗德打印机

Agent Skill

broder-printer 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,203

周安装

90

GitHub Stars

公开资料未说明

下载量

706
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:broder-printer(布罗德打印机)
来源仓库:https://github.com/yardfarmer/broder-printer
安装命令:
openclaw skills install broder-printer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install broder-printer

简介

Brother DCP-T426W 网络打印机技巧 — IPP + 免驱动(主要)、TCP 直接(仅限文本的回退,无需 sudo)。

SKILL.md

name
broder-printer
description
Brother DCP-T426W network printer skill — IPP + driverless (primary), TCP direct (fallback for text-only, no sudo).
version
5.0.0

Brother DCP-T426W Printer Skill

When to Use

  • When you need to print text, images, or PDFs to a Brother DCP-T426W from a CLI or script
  • When you're on a NAS, Linux, or macOS machine with CUPS and want driverless IPP printing
  • When you need a text-only fallback on a headless or no-root system (TCP direct, no CUPS)
  • When you want to check printer status or print a test page programmatically

How It Works

Printing to a Brother DCP-T426W inkjet printer via two methods:

  1. IPP + driverless PPD (primary) — Full support: text, images, PDFs. Requires CUPS with driverless.
  2. TCP direct (fallback) — Text only, no CUPS, no sudo required.

Supported platforms: Any device with CUPS + driverless (NAS, Linux, macOS) or Python 3 with TCP access (fallback).

Printer Info

FieldValue
ModelBrother DCP-T426W
IP192.168.50.232
ProtocolIPP (ipp://192.168.50.232:631/ipp/print) — primary; TCP 9100 fallback
TypeColor Inkjet MFP (Print / Scan / Copy)
Max Resolution4800 x 1200 dpi
PaperA4, Letter, A5, A6, Photo (10x15cm), Envelopes

Quick Start

# Print a text string (CUPS IPP)
python scripts/print.py --text "Hello World"

# Print a file (text, image, PDF — CUPS handles conversion)
python scripts/print.py --file document.txt
python scripts/print.py --file photo.jpg
python scripts/print.py --file report.pdf

# Print a receipt-style text
python scripts/print.py --text "Invoice #123\
Total: $42.00" --mode receipt

# Print a test page
python scripts/print.py --test

# Check printer status
python scripts/print.py --status

# Fallback: TCP direct (text only, no CUPS needed)
python scripts/print.py --text "Hello" --method tcp

Architecture

broder-printer/
├── SKILL.md                    # This file
├── CLAUDE.md                   # Project documentation
├── Brother_DCP-T426W/          # Brother driver files (backup only)
│   ├── drivers/
│   │   ├── Brother_DCP-T426W.ppd
│   │   └── Brother DCP-T426W CUPS.gz
│   └── readme.md
├── requirements.txt
└── scripts/
    └── print.py                # Main print CLI (IPP/CUPS primary, TCP fallback)

Setup (One-Time)

Step 1: Install CUPS + driverless

# Linux (Debian/Ubuntu)
sudo apt install cups cups-filters ipp-usb
sudo systemctl enable --now cups

# macOS — CUPS is built-in, skip this step

Step 2: Generate driverless PPD and add printer

# Generate PPD from printer's IPP capabilities
driverless "ipp://192.168.50.232:631/ipp/print" > ~/brother.ppd

# Add printer to CUPS
sudo lpadmin -p Brother_DCP-T426W \
  -v "ipp://192.168.50.232:631/ipp/print" \
  -E \
  -P ~/brother.ppd

sudo lpadmin -p Brother_DCP-T426W -o printer-is-shared=false

# Verify
lpstat -p Brother_DCP-T426W -l

Step 3: Test

echo "Hello" | lp -d Brother_DCP-T426W

How It Works

IPP + driverless (default):

  1. Script calls CUPS lp command
  2. CUPS converts input (text/image/PDF) to PWG-raster using the driverless PPD
  3. Data sent to printer via IPP protocol
  4. Printer renders and prints

TCP direct (fallback, --method tcp):

  1. Script opens TCP socket to printer port 9100
  2. Wraps text in PJL (Printer Job Language) commands
  3. Sends data directly to printer
  4. Text only — images/PDFs need CUPS conversion

IPP vs TCP

FeatureIPP + driverlessTCP Direct
SetupCUPS + driverlessNone
sudo requiredSetup only (once)No
Text printingYesYes
Image printingYes (PWG-raster)No (raw bytes only)
PDF printingYesNo
Print queueYesNo
Use caseNAS, desktop, full featuresHeadless, no-root, text-only

Direct CUPS Commands

# Print any file CUPS understands
lp -d Brother_DCP-T426W file.txt

# Print with options
lp -d Brother_DCP-T426W -o media=A4 -o sides=one-sided document.pdf

# Check jobs
lpstat -o Brother_DCP-T426W

# Cancel jobs
cancel Brother_DCP-T426W

Troubleshooting

IssueSolution
driverless: command not foundsudo apt install cups-filters ipp-usb
IPP connection refusedVerify printer supports IPP: driverless (list available IPP printers)
No paper outputCheck paper tray, ink levels, printer not in error state
TCP prints garbled textPrinter may not support PJL PLAINTEXT — use IPP method
CUPS printer not foundlpstat -p to list printers; re-run lpadmin setup
lp command not foundsudo apt install cups-client

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.31%
按下载量换算616

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills