🦀 ClawHub
Brother DCP-T426W Printer
by @yardfarmer
Brother DCP-T426W network printer skill — IPP + driverless (primary), TCP direct (fallback for text-only, no sudo).
⚡ When to Use
💡 Examples
# 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.pdfPrint a receipt-style text
python scripts/print.py --text "Invoice #123\nTotal: $42.00" --mode receiptPrint a test page
python scripts/print.py --testCheck printer status
python scripts/print.py --statusFallback: TCP direct (text only, no CUPS needed)
python scripts/print.py --text "Hello" --method tcp
📋 Tips & Best Practices
| Issue | Solution |
|-------|----------|
| driverless: command not found | sudo apt install cups-filters ipp-usb |
| IPP connection refused | Verify printer supports IPP: driverless (list available IPP printers) |
| No paper output | Check paper tray, ink levels, printer not in error state |
| TCP prints garbled text | Printer may not support PJL PLAINTEXT — use IPP method |
| CUPS printer not found | lpstat -p to list printers; re-run lpadmin setup |
| lp command not found | sudo apt install cups-client |
TERMINAL
clawhub install broder-printer