add dcp-j152w printer
I want a simple way to add a DCP-J152W printer to my Ubuntu linux operating system. I am not a techie so it has to very simple
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anne Vicary
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
lsb_release -a; uname -a; lsusb
Thanks
Revision history for this message
|
#2 |
You might have to download and install the drivers from http://
Revision history for this message
|
#3 |
I don't know what actionparsnip question means. As for Manfred Hampl answer I know I will have to downloand and install drivers. I found this answer before at http://
Revision history for this message
|
#4 |
Copy the command text I gave (not techy) and press CTRL + ALT + T
Paste the text to the terminal and press ENTER (still nothing stretching).
Copy the output and paste as an update on:
https:/
There is nothing even remotely technical here..... Wouldn't you say?
Revision history for this message
|
#5 |
Actually what would be even better is that If I could get someone to come to my place and add the printer for me, I would pay them.
Revision history for this message
|
#6 |
To actionparsnip
lsb_release-a: command not found
unname-a: command not found
Bus 002 device 001: ID 1d6d:0002 Linux Foundation 2.1 root hub
Bus 008 device 001: ID 1d6d:0001 Linux Foundation 1.1 root hub
Bus 007 device 006: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 device 002: ID 46d:c51b Logtech.Inc.V220 cordless optical mouse for notebooks
Bus 006 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
Bus 001 device 001: ID 1d6b:0002 Linux foundation 2.0 root hub
Bus 005 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
Bus 004 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
Bus 003 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
anne@anne-
Revision history for this message
|
#7 |
You didn't copy and paste as my command has spaces in. The command is:
lsb_release -a
Not:
lsb_release-a
Like you ran. It's the same with the uname command and is why the command is not found. Please copy the command or retype it accurately.
Revision history for this message
|
#8 |
No LSB Modules are available.
Distributor ID: Ubuntu
Discription: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Linux anne-Latitude-E5500 3.13.0-49-generic #83 Ubuntu SMP Fri Apr 10 20:14:51 U
TC 2015 i686 i686 GNU/Linux
Bus 002 device 001: ID 1d6d:0002 Linux Foundation 2.1 root hub
Bus 008 device 001: ID 1d6d:0001 Linux Foundation 1.1 root hub
Bus 007 device 006: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 device 002: ID 46d:c51b Logtech.Inc.V220 cordless optical mouse for notebooks
Bus 006 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
Bus 001 device 001: ID 1d6b:0002 Linux foundation 2.0 root hub
Bus 005 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
Bus 004 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
Bus 003 device 001: ID 1d6b:0001 Linux foundation 1.1 root hub
anne@anne-
Revision history for this message
|
#9 |
ok run the below 5 commands in a terminal (Same copy and paste method). When you are typing your password after the commands starting with 'sudo' you will not get any feedback as you type the password but it is being accepted. Just enter your login password and hit ENTER
wget http://
sudo dpkg -i ./dcpj152wlpr-
wget http://
sudo dpkg -i ./dcpj152wcupsw
sudo apt-get -f install
The driver is now installed.
Nothing too technical...
Revision history for this message
|
#10 |
When I entered the following:
wget http://
the terminal came up with :
error processing archive ./dcpj152wcupsw
Obviously without that I can't add the printer
Revision history for this message
|
#11 |
There must have been a typo error, please try again:
wget http://
sudo dpkg -i ./dcpj152wcupsw
If that still fails., please copy/paste the complete output from the terminal window into this question document.
Revision history for this message
|
#12 |
That seems to have worked. Now is the printer already added or do I have to add it? Will the printer work wirelessly or will I have to plug it into the computer?
Revision history for this message
|
#13 |
It should be possible to set up the device that it can be used wirelessly, but the steps to do that are rather specific for the different printer manufacturers, that I cannot help with it.
I assume you have the best chance if you connect that device via an USB cable to your computer and then use the settings - printers dialogue to enable that printer on your system.
Do you also want to use that device as scanner? In that case you have to download and install also the scanner driver packages (if you haven't done this yet).
Revision history for this message
|
#14 |
Use the printer application in the Dash. It will work wireless. Brother loves Linux and their support is phenomenal. In return you will find many users but there products. This is similar to HP. They also have fantastic drivers and support for your OS.
Revision history for this message
|
#15 |
Yippee I can print, thank you for all your help. It was techie though even if you did not think so. Now all I have to figure out is the scanner bit.
Revision history for this message
|
#16 |
Please mark as solved if the issue is so
Revision history for this message
|
#17 |
The printer is connected yes but I would like to be able to use the scanner from the computer. So obviously I would have to type in some more on the terminal, probably wget and the web address of the scanner driver then sudo -i ./and part of the scanner driver web address. If this is correct then I need to know the web address of the scanner driver.
Revision history for this message
|
#18 |
Install the scanner driver from the Brother website
Revision history for this message
|
#19 |
I went into the Brother website and found the download and I did the first step downloading the driver into the software centre but I don't understand what to do next. The steps are:
1. Download the driver - I have done that
2. Login as superuser (or use sudo option if required) - I presume you open the terminal and type sudo but then what?
3. Check if pre required procedures are completed
For Debian, Ubuntu - what's this?
4. Install the driver.
1. Turn on your printer and connect the usb cable - would I have to do this if it is working wirelessly?
2. Open the terminal and go to the directory where the driver is - How do I do this?
3. Install the scanner driver
Command (for dpkg) : dpkg -i --force-all (scanner-
4. Check if the driver is installed
Command (for dpkg) : dpkg -I / grep brother
5. Use your scanning application by a superuser and try a test scan
Use your usb-connected scanner by a normal user
Revision history for this message
|
#20 |
Yes, the steps that you describe are more or less correct.
use your internet browser to visit http://
Download the packages
"Scanner driver 32bit (deb package)"
"Scan-key-tool 32bit (deb package)"
"Scanner Setting file (deb package)"
I assume they will be stored in a "Downloads" subdirectory of your home directory.
Open a terminal window and issue the command
cd Downloads
sudo dpkg -i --force-all brscan4-
sudo dpkg -i --force-all brscan-
sudo dpkg -i --force-all brother-
sudo apt-get install -f
Then reboot the computer and try the command
sudo sane-find-scanner
to check whether the scanner is found by the scanning programs
I am not sure whether this will find the scanner if connected wirelessly. If it fails, you might try connecting with a USB cable.
Revision history for this message
|
#21 |
The downloads went to the software centre and I installed them, is this why the terminal comes up with an error message when I put in the commands above? Should I uninstall them and download them to somewhere else to make these commands work?
Revision history for this message
|
#22 |
There should not be a difference between installing a .deb package with software center or terminal commands.
Can you provide the full text of the "terminal comes up with an error" message?
What is the output of the command
dpkg -l | grep dcpj
dpkg -l | grep brsc
dpkg -l | grep brother
Revision history for this message
|
#23 |
Sorry I took so long in replying, have been away and not checked my email.
I can't seem to copy and paste onto the terminal, so I am typing in all the commands.
I typed in cd Downloads and hit enter - that was fine, I then typed in the second line sudo dpkg -i --force-all brscan4-
dpkg: error processing archive brscan4-
cannot access archive: no such file or directory
errors were encountered while processing
brscan4-
I did not try entering the other command lines in case they came up with similar error messages.
Output of command dpkg -l | grep dcpj
ii dcpj14wlpr 1.1.3-6
s
ii dcpj152wcupswrapper 3.0.0-1
ns
ii dcpj152wlpr 3.0.0-1
s
Output of command dpkg -l | grep brsc
ii brscan-skey 0.2.4-1
ii brscan4 0.4.3
Output of command dpkg -l | grep brother
ii brother-
Revision history for this message
|
#24 |
that looks ok.
If you reboot and then try the commands
sane-find-scanner
and
sudo sane-find-scanner
what is the output?
Revision history for this message
|
#25 |
I entered sane-find-scanner and it came up with
Could not open USB device (string of numbers): Access denied (insufficient permission)
(there were a number of lines like this with a different string of numbers after the word device)
#No USB Scanners found. If you expected something different, make sure that
#you have loaded a kernel driver for your host controller and have setup
#the USB system correctly
#Not checking for parallel port scanner
#Most scanners connected to the parallel port or other proprietary ports
#can't be detected by this program
#you may want to run this program as root to find all devices. Once you
#found the scanner devices, be sure to adjust access permissions as
#necessary
Then I entered sudo sane-find-scanner and it came up with
#sane-find-scanner will now attempt to detect your scanner. If the
#result is different from what you expected first make sure your
#scanner is powered up and properly connected to your computer
#No SCSI Scanners found. If you expected something different, make sure that
#you have loaded a kernel SCSI driver for your SCSI adapter
#No USB Scanners found. If you expected something different make sure that
#you hacve loaded a kernel driver fot your USB host controller and have set up
#the USB system correctly. See man sane-usb for details
#Not checking for parallel port scanners
#Most scanners connected to the parallel port or other proprietary ports
#can't be detected by this program
When I saw all of the above I plugged in my USB connection then tried the simple Scan in my Applications, clicked the scan button and it scanned the photo I had put in my scanner, then I clicked save and was able to save the scan on to my computer.
With the USB connected I went back into the terminal and entered the 2 commands again and got exactly the same output.
So the result of all that is that I can scan with the simple scan in my applications with the USB plugged in but it will not work wirelessly. If this is the best result I can get I can manage but it would be good have wireless.
Revision history for this message
|
#26 |
You might try
http://
(scroll down to the headline "Installing a Network Scanner in Ubuntu Desktop")
Revision history for this message
|
#27 |
I went to the above web address and found "Installing a Network Scanner in Ubuntu Desktop"
I understood step 1.
scanimage -L
I think I understand step 2.
$ sudo vim /etc/default/saned
# set to yes to start saned
RUN=yes
(I presume that when you put in the command it comes up with the second bit and I put yes after the RUN=)
I don't understand step 3.
Lets edit the /etc/saned/net.conf file, and add the IP address of the server where the scanner is installed.
Does this mean I type into the terminal /etc/saned/net.conf file? Where do I find the IP address and where do I add It?
I understand step 4.
Restart saned
$sudo service saned restart
I understand step 5.
Lets see if the scanner is available now
scanimage -L
Revision history for this message
|
#28 |
If your want to access your printer/scanner via WLAN, then you need to know its IP address.
How is your local network configured? Do you have a local router that provides the IP addresses to all the connected boxes via DHCP?
"Let's edit the /etc/sane.
sudo gedit /etc/sane.
or
sudo vim /etc/sane.
or to use any other editor, and put the IP address of the printer/scanner into that file that is looks like the picture in the document.
Revision history for this message
|
#29 |
I think I have found the IP address on the back of my modem. I tried entering the command sudo vim /etc/default/saned and the outcome was command not found. I then tried sudo gedit /etc/default/saned and the outcome was
(gedit:3369): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
At the same time a window opened with the heading saned (/etc/default) - gedit. In the window was
#Defaults for the saned initscript, from sane-utils
#set to yes to start saned
Run=no (I changed to yes then and clicked the save button and the window closed)
#set to the user should run as
RUN_AS_USER=saned
I entered sudo gedit /etc/sane.
(gedit:3458): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
At the same time a window opened with the heading net.conf (/etc/sane.d) - gedit. At the bottom of the text in the window I typed in the IP address and clicked the save button.
I entered sudo service saned restart and the outcome was
Restarting SANE network scanner server: saned
I entered scanimage -L and the outcome was
*** Error in 'scanimage': double free or corruption (prev): 0x0889330 *** Aborted (core dumped)
Then a window came up with
Sorry, the application scanimage has stopped unexpectedly
send error report to help fix problem
Revision history for this message
|
#30 |
I have still got my wireless printing but I can no longer scan with the USB connection
Revision history for this message
|
#31 |
It is a known issue that you might see "GDBus.
If 'scanimage' has worked with the USB connection before the modifications in the config files, and does no more work now, then there is something wrong in context of the modifications that you did. There are some bug reports showing similar crashes when saned is activated.
Please undo the changes, restart saned and try again. Does it work again as it did before?
Revision history for this message
|
#32 |
I entered sudo gedit /etc/default/saned and changed the yes back to the no in the window and saved it.
I entered sudo gedit /etc/sane.
I entered sudo service saned restart the outcome was saned disabled; edit /etc/default/saned.
I then tried to scan with the USB connected and it worked.
Maybe the easiest solution is to get a very long USB cable, if there is such a thing.
Revision history for this message
|
#33 |
It seems that you cannot use the WLAN connection until Bug #1022650 is solved.
Revision history for this message
|
#34 |
Ok then I will get a longer USB cable. So I suppose my problem is a solved as it is going to be for the moment.