summarylogtreecommitdiffstats
path: root/brother-mfc-j497dw.install
blob: e7b0f3dc501f6a25b57c2b428bf734386261c784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  rm /usr/lib/cups/filter/brother_lpdwrapper_mfcj497dw
  ln -s /opt/brother/Printers/mfcj497dw/cupswrapper/brother_lpdwrapper_mfcj497dw /usr/lib/cups/filter/brother_lpdwrapper_mfcj497dw
  post_upgrade;
}

post_upgrade() {
  echo "Restart CUPS to load the new files"
  echo "You can now register your new printer using the web interface at:"
  echo "  http://localhost:631/"
  echo "To print over wireless, choose the 'LPD/LPR Host or Printer' protocol"
  echo "when adding the printer, and use the following connection:"
  echo "  lpd://ipaddress/queue"
}