rpi: настроить домашнюю печать на Brother DCP-L2620DW
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Run as root after installing cups cups-client cups-filters cups-ipp-utils.
|
||||
set -eu
|
||||
systemctl enable --now cups.service
|
||||
lpadmin -p home-brother -E -v ipp://BRW2C9C58C1EEA7.local:631/ipp/print -m everywhere \
|
||||
-D 'Brother DCP-L2620DW' -L 'Дом' \
|
||||
-o printer-is-shared=false -o PageSize=A4 -o sides-default=one-sided \
|
||||
-o printer-error-policy=abort-job
|
||||
lpadmin -d home-brother
|
||||
lpstat -p home-brother -v
|
||||
Reference in New Issue
Block a user