How to install Brother DCP-7060D on Ubuntu

Visit the Linux driver(.deb) download page for Brother DCP-7060D.
Download the “Driver Install Tool”
Run the following:

gunzip linux-brprinter-installer-2.0.0-1.gz
sudo su 
bash linux-brprinter-installer-2.0.0-1

Now you will asked: “Input model name ->”
Type: DCP-7060D
and type Y to all the prompts until you reach this question:
“Will you specify the DeviceURI ?”
Here, specify No if you have the printer connected to USB (7060D has no direct network support).

After installation continues, try to print a test page. It didnt succeed for me and I found that Linux was “waiting for the printer to respond”.

At this point, I opened “Printers” from Unity, deleted the printer that was automatically installed, and clicked on “Add new printer”, and chose the entry corresponding to DCP-7060D. Now the test page worked.

Troubleshooting:
For some odd reason, on my new Ubuntu 14.04 installation, www.brother.com could not be resolved by the installation script (wget timeout). I had to manually add the following line to /etc/hosts:

23.55.58.66 www.brother.com

Installing Scanner drivers:
Download the scanner DEBs from the download page

dpkg -i --force-all brscan4-0.4.3-2.amd64.deb 
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
dpkg -i --force-all brother-udev-rule-type1-1.0.0-1.all.deb

After installation, CUPS can be managed from http://localhost:631/printers

Manufacturer instructions for installation:
Login as a superuser ( or use “sudo” option if it is required )

Check if pre-required procedures are completed
For Debian/Ubuntu 64 bit
For Ubuntu8.04 or greater

Download drivers
Download LPR driver and cupswrapper driver.

Install LPR driver and cupswrapper driver
Turn on the printer and connect the USB cable.
Open the terminal and go to the directory where the drivers are.
Install LPR driver.The install process may take some time. Please wait until it is complete.
Command (for dpkg) : dpkg -i –force-all (lpr-drivername)

Install cupswrapper driver.The install process may take some time. Please wait until it is complete.
Command (for dpkg) : dpkg -i –force-all (cupswrapper-drivername)

Check if the LPR driver and cupswrapper driver are installed
Command (for dpkg) : dpkg -l | grep Brother

Depending on the connection type you are using (USB or Network), follow one of the steps below.

(for USB Connection)
Open a web browser and go to “http://localhost:631/printers”.
Check if the Device URI of your printer is “usb://Brother/(your printer’s model name)”

If the device URI is different from the example above, please go to “Modify Printer” of your printer to select proper device and driver.
If your printer is not listed on “http://localhost:631/printers”, please go to “http://localhost:631/admin” and click “Add printer” and select proper device and driver.

(for Network Connection)

Open a web browser and go to “http://localhost:631/printers”.
Click “Modify Printer” and set following parameters.
– “LPD/LPR Host or Printer” or “AppSocket/HP JetDirect” for Device
– lpd://(Your printer’s IP address)/binary_p1 for Device URI
– Brother for Make/Manufacturer Selection
– Your printer’s name for Model/Driver Selection
Try a test print
Open a text editor, write something and select “print” from the menu.


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.

Install HP Laserjet P1007 in Debian and Ubuntu

This was the easiest installation I’ve ever seen in a Linux distro, comparable to Windows Plug and Play

I plugged in my printer. As expected nothing happened. I tried to fathom what happened:

[[email protected] c]$ sudo tail -f /var/log/messages
Dec  7 10:49:38 debian kernel: [ 6316.051712] usb 1-7.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  7 10:49:38 debian kernel: [ 6316.051715] usb 1-7.1.2: Product: HP LaserJet P1007
Dec  7 10:49:38 debian kernel: [ 6316.051718] usb 1-7.1.2: Manufacturer: Hewlett-Packard
Dec  7 10:49:38 debian kernel: [ 6316.051720] usb 1-7.1.2: SerialNumber: EC0FCLS
Dec  7 10:49:38 debian kernel: [ 6316.051849] usb 1-7.1.2: configuration #1 chosen from 1 choice
Dec  7 10:49:39 debian kernel: [ 6316.635466] usblp1: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4817
Dec  7 10:49:39 debian kernel: [ 6316.635500] usbcore: registered new interface driver usblp
Dec  7 10:49:39 debian kernel: [ 6317.567202] usb 1-7.1.2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1
Dec  7 10:49:42 debian /usr/sbin/hpljP1007: foo2zjs: Missing HP LaserJet P1007 firmware file /lib/firmware/hp/sihpP1005.dl
Dec  7 10:49:42 debian /usr/sbin/hpljP1007: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1007

That was very instructive. Ok, so I have to execute ./getweb. From where.

Since it said foo2zjs I tried to find out where foo2zjs was located

[[email protected] c]$ which foo2zjs
/usr/bin/foo2zjs

Great. So:

[[email protected] c]$ cd /usr/bin
[[email protected] bin]$ which foo2zjs
/usr/bin/foo2zjs
[[email protected] bin]$ ./getweb P1007
You need to be root
[[email protected] bin]$ sudo ./getweb P1007
sihpP1005.img

(c) Copyright Hewlett-Packard 2008

[[email protected] bin]$ sudo tail -f /var/log/messages
Dec  7 10:49:38 debian kernel: [ 6316.051712] usb 1-7.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  7 10:49:38 debian kernel: [ 6316.051715] usb 1-7.1.2: Product: HP LaserJet P1007
Dec  7 10:49:38 debian kernel: [ 6316.051718] usb 1-7.1.2: Manufacturer: Hewlett-Packard
Dec  7 10:49:38 debian kernel: [ 6316.051720] usb 1-7.1.2: SerialNumber: EC0FCLS
Dec  7 10:49:38 debian kernel: [ 6316.051849] usb 1-7.1.2: configuration #1 chosen from 1 choice
Dec  7 10:49:39 debian kernel: [ 6316.635466] usblp1: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4817
Dec  7 10:49:39 debian kernel: [ 6316.635500] usbcore: registered new interface driver usblp
Dec  7 10:49:39 debian kernel: [ 6317.567202] usb 1-7.1.2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1
Dec  7 10:49:42 debian /usr/sbin/hpljP1007: foo2zjs: Missing HP LaserJet P1007 firmware file /lib/firmware/hp/sihpP1005.dl
Dec  7 10:49:42 debian /usr/sbin/hpljP1007: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1007

So it downloaded the file but again gave the same message. I decided to unplug and replug the printer.

Sure enough I was greeted by the familiar startup sound of the printer… And confirmation from syslog:

[[email protected] bin]$ sudo tail -f /var/log/messages
Dec  7 10:53:42 debian kernel: [ 6560.287745] usb 1-7.1.2: New USB device found, idVendor=03f0, idProduct=4817
Dec  7 10:53:42 debian kernel: [ 6560.287750] usb 1-7.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  7 10:53:42 debian kernel: [ 6560.287754] usb 1-7.1.2: Product: HP LaserJet P1007
Dec  7 10:53:42 debian kernel: [ 6560.287756] usb 1-7.1.2: Manufacturer: Hewlett-Packard
Dec  7 10:53:42 debian kernel: [ 6560.287759] usb 1-7.1.2: SerialNumber: EC0FCLS
Dec  7 10:53:42 debian kernel: [ 6560.287903] usb 1-7.1.2: configuration #1 chosen from 1 choice
Dec  7 10:53:42 debian kernel: [ 6560.290938] usblp1: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4817
Dec  7 10:53:43 debian kernel: [ 6561.402520] usb 1-7.1.2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1
Dec  7 10:53:45 debian /usr/sbin/hpljP1007: foo2zjs: loading HP LaserJet P1007 firmware /lib/firmware/hp/sihpP1005.dl to /dev/usb/lp1 ...
Dec  7 10:53:46 debian /usr/sbin/hpljP1007: foo2zjs: ... download successful.
Dec  7 10:53:58 debian udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP-LaserJet-P1007

Going to the printers applet, I could see a new Laserjet P1007 installed. Installed a test print.

Related info can be found here.

Install printer in Kubuntu 12.10

It was too easy. Everything was Plug and play.

However if it doesnt install for you, you can try downloading the file from HP and installing it:

First use the system script to download the driver:

/usr/bin/python /usr/bin/hp-plugin -i

Now install it:

sh /tmp/hplip-3.12.6-plugin.run --nox11 -- -i
[[email protected] droidzone]#/usr/bin/python /usr/bin/hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.12.6)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: PolicyKit support requires DBUS or PolicyKit support files missing
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

\
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.12.6 |
-----------------------------------------

The driver plugin for HPLIP 3.12.6 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ?

 

sh /tmp/hplip-3.12.6-plugin.run --nox11 -- -i
Verifying archive integrity... All good.
Uncompressing HPLIP 3.12.6 Plugin Self Extracting Archive.......................................................

HP Linux Imaging and Printing System (ver. 3.12.6)
Plugin Installer ver. 3.0

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.12.6
Installed HPLIP version: 3.12.6
Number of files to install: 50

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in   
........................
Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y

Done.

 

 

d


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.

Keyboard shortcuts

Assign Win Key to KDE menu launcher:

  • Install Ksuperkey (download the Ubuntu deb): dpkg -i package.deb
  • Start ksuperkey (just type ksuperkey in the konsole).
  • Try to press the left Super key (Win key). If the application launcher does not show up, make sure that its shortcut is set to Alt+F1
    • right click on the application launcher icon
    • -> Application Launcher Settings -> Keyboard Shortcut.
    • Alt F1
  • Make ksuperkey start automatically at system startup
    • System settings>Advanced user settings>Autostart
    • Add program>/usr/bin/ksuperkey

Assign Win+D to Hide Desktop

  • Add the “Show the desktop” widget to the default panel
  • Right click>Show Desktop settings>Keyboard shortcut>Meta+D

Assign Win+E to Dolphin

  • On Debian: Kmenu>System settings>Computer Admin>Input Actions
  • On Kubuntu: Kmenu>System settings>Common appearance and behavior>Shortcuts and Gestures>Custom shortcuts
  • Right click on an empty area on the left colomn
  • New>Global shortcut>
  • Command url: dolphin (no need of path)
  • Trigger>Meta+E (Can press the Combo here)

Assign Win+S to Capture a new screenshot area in Shutter

    • Install Shutter
    • On Debian: Kmenu>System settings>Computer Admin>Input Actions
    • On Kubuntu: Kmenu>System settings>Common appearance and behavior>Shortcuts and Gestures>Custom shortcuts
    • On Xubuntu>XFCE Launcher>Settings Manager>Keyboard>Application shortcuts>
    • Right click on an empty area on the left colomn
    • New>Global shortcut>
    • Command url:
/usr/bin/shutter -s --disable_systray
  • Trigger>Meta+S (May conflict with another shortcut. Choose to reassign if this happens)

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.