blacklist: Add a quirks file for the CUPS 1.6.4+ or 1.7-rc2+ USB backend.
This will blacklist all printers this backend supports.
This commit is contained in:
parent
ebbd130ed1
commit
51d3ef75f6
3
Makefile
3
Makefile
|
@ -2,6 +2,7 @@ CFLAGS = -Wall -Wextra -g
|
|||
LDFLAGS = -lusb-1.0
|
||||
|
||||
CUPS_BACKEND_DIR = /usr/lib/cups/backend
|
||||
CUPS_DATA_DIR = /usr/share/cups
|
||||
DEPS = backend_common.h
|
||||
SOURCES = backend_sonyupdr150.c backend_kodak6800.c backend_common.c backend_kodak1400.c backend_shinkos2145.c backend_canonselphy.c
|
||||
|
||||
|
@ -27,6 +28,8 @@ canonselphy: gutenprint
|
|||
|
||||
install:
|
||||
install -o root -m 700 gutenprint $(CUPS_BACKEND_DIR)/gutenprint+usb
|
||||
mkdir -p $(CUPS_DATA_DIR)/usb
|
||||
install -o root -m 644 blacklist $(CUPS_DATA_DIR)/usb/net.sf.gimp-print.usb-quirks
|
||||
|
||||
clean:
|
||||
rm -f gutenprint canonselphy kodak6800 kodak1400 shinkos2145 sonyupdr150
|
||||
|
|
115
blacklist
Normal file
115
blacklist
Normal file
|
@ -0,0 +1,115 @@
|
|||
# Gutenprint USB backend 'quirks' file.
|
||||
#
|
||||
# This file ensures that all printers handled by the Gutenprint CUPS backends
|
||||
# are blacklisted by the default CUPS USB backend.
|
||||
#
|
||||
# Please note that this file requires CUPS 1.6.4 or 1.7-rc2 (or newer).
|
||||
#
|
||||
|
||||
# Canon CP-10
|
||||
0x04a9 0x304a blacklist
|
||||
|
||||
# Canon CP-100
|
||||
0x04a9 0x3063 blacklist
|
||||
|
||||
# Canon CP-200
|
||||
0x04a9 0x307c blacklist
|
||||
|
||||
# Canon CP-220
|
||||
0x04a9 0x30bd blacklist
|
||||
|
||||
# Canon CP-300
|
||||
0x04a9 0x307d blacklist
|
||||
|
||||
# Canon CP-330
|
||||
0x04a9 0x30be blacklist
|
||||
|
||||
# Canon SELPHY CP400
|
||||
0x04a9 0x30f6 blacklist
|
||||
|
||||
# Canon SELPHY CP500
|
||||
0x04a9 0x30f5 blacklist
|
||||
|
||||
# Canon SELPHY CP510
|
||||
0x04a9 0x3128 blacklist
|
||||
|
||||
# Canon SELPHY CP520
|
||||
# ??? UNKNOWN
|
||||
|
||||
# Canon SELPHY CP530
|
||||
0x04a9 0x31b1 blacklist
|
||||
|
||||
# Canon SELPHY CP600
|
||||
0x04a9 0x310b blacklist
|
||||
|
||||
# Canon SELPHY CP710
|
||||
0x04a9 0x3127 blacklist
|
||||
|
||||
# Canon SELPHY CP720
|
||||
0x04a9 0x3143 blacklist
|
||||
|
||||
# Canon SELPHY CP730
|
||||
0x04a9 0x3142 blacklist
|
||||
|
||||
# Canon SELPHY CP740
|
||||
0x04a9 0x3171 blacklist
|
||||
|
||||
# Canon SELPHY CP750
|
||||
0x04a9 0x3170 blacklist
|
||||
|
||||
# Canon SELPHY CP760
|
||||
0x04a9 0x31ab blacklist
|
||||
|
||||
# Canon SELPHY CP770
|
||||
0x04a9 0x31aa blacklist
|
||||
|
||||
# Canon SELPHY CP780
|
||||
0x04a9 0x31dd blacklist
|
||||
|
||||
# Canon SELPHY CP790
|
||||
# ??? UNKNOWN
|
||||
|
||||
# Canon SELPHY CP800
|
||||
0x04a9 0x3214 blacklist
|
||||
|
||||
# Canon SELPHY CP810
|
||||
0x04a9 0x3256 blacklist
|
||||
|
||||
# Canon SELPHY CP900
|
||||
0x04a9 0x3255 blacklist
|
||||
|
||||
# Canon SELPHY ES1
|
||||
0x04a9 0x3141 blacklist
|
||||
|
||||
# Canon SELPHY ES2
|
||||
0x04a9 0x3185 blacklist
|
||||
|
||||
# Canon SELPHY ES20
|
||||
0x04a9 0x3186 blacklist
|
||||
|
||||
# Canon SELPHY ES3
|
||||
0x04a9 0x31af blacklist
|
||||
|
||||
# Canon SELPHY ES30
|
||||
0x04a9 0x31b0 blacklist
|
||||
|
||||
# Canon SELPHY ES40
|
||||
0x04a9 0x31ee blacklist
|
||||
|
||||
# Kodak 805
|
||||
0x040a 0x4034 blacklist
|
||||
|
||||
# Kodak 1400
|
||||
0x040a 0x4022 blacklist
|
||||
|
||||
# Kodak 6800
|
||||
0x040a 0x4021 blacklist
|
||||
|
||||
# Kodak 6850
|
||||
0x040a 0x402b blacklist
|
||||
|
||||
# Shinko/Sinfonia CHC-S2145 (aka CS2)
|
||||
0x10ce 0x000e blacklist
|
||||
|
||||
# Sony UP-DR150
|
||||
0x054c 0x01e8 blacklist
|
Loading…
Reference in a new issue