summaryrefslogtreecommitdiff
path: root/debian/README.Debian
blob: 5a43c92184fcd6f7eb5ff57e34fbdca1b1f38e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Here's how to configure a Canon BJNP printer with CUPS using the command-line:

# Run bjnp to list active BJNP-listening printers on the local network
$ /usr/lib/cups/backend/bjnp
network bjnp://CANON-MP560.local:8611 "Canon MP560 series" "Canon MP560 series CANON-MP560.local" "MFG:Canon;CMD:BJL,BJRaster3,BSCCe,NCCe,IVEC,IVECPLI;SOJ:TXT01,BJNP2;MDL:MP560 series;CLS:PRINTER;DES:Canon MP560 series;VER:1.040;STA:10;FSI:00;HRI:PAM;MSI:DAT,E3,HFSF;PDR:3;"

# Find an appropriate PPD for the printer on the system
$ sudo lpinfo -m | grep -i canon | grep -i 560
gutenprint.5.2://bjc-560i/expert Canon 560i - CUPS+Gutenprint v5.2.9
gutenprint.5.2://bjc-i560/expert Canon i560 - CUPS+Gutenprint v5.2.9
gutenprint.5.2://bjc-i560X/expert Canon i560X - CUPS+Gutenprint v5.2.9
lsb/local/canonmp560.ppd Canon MP560 series Ver.3.20
gutenprint.5.2://bjc-MULTIPASS-MP560/expert Canon PIXMA MP560 - CUPS+Gutenprint v5.2.9

# Create the printer in CUPS, enable it, and set it as the default
$ sudo lpadmin -p CanonMP560 -v bjnp://CANON-MP560.local:8611 -D "Canon MP560 series" -m lsb/local/canonmp560.ppd
$ sudo cupsaccept CanonMP560
$ sudo cupsenable CanonMP560
$ sudo lpadmin -d CanonMP560

# Looks good
$ lpstat -a
CanonMP560 accepting requests since Fri 07 Dec 2012 02:52:10 PM EST