Tagged: Brother, CUPS, Printer, wifi printer
- This topic has 19 replies, 6 voices, and was last updated Nov 5-6:35 pm by caprea.
-
AuthorPosts
-
October 21, 2017 at 4:57 pm #626Member
mmmmna
Antix 16.2, up to date as of 2017 10 21.
Cups version in my repositories (listed below) is v1.75, 3 years old, and has been unable to configure my WiFi Printer (Brother HL-L2360DW, bought 2.5 years ago, newer than the installed Cups version). The same printer connected fine with Kubuntu 14.04, so my printer should work today.
I can attempt to install Cups from the Cups website, since it is a tar.gz, but before I hang myself, is my plan going to be a simple task, as in not needing me to manually relocate Cups’s default files and such??
On the other hand, maybe enabling a different repository would help, but which one?
mmmmna@antix16.2:~ $ cat /etc/apt/sources.list.d/antix.list # Use with Debian Stable/Jessie repositories. Set as default for antiX-16. deb http://repo.antixlinux.com/jessie jessie main nosystemd # Use with Debian Stretch repositories. #deb http://repo.antixlinux.com/stretch stretch main nosystemd # Use with Debian Testing repositories. #deb http://repo.antixlinux.com/testing testing main nosystemd # Use with Debian Sid repositories. #deb http://repo.antixlinux.com/sid sid main nosystemd mmmmna@antix16.2:~ $ cat /etc/apt/sources.list.d/debian.list # Note:If you want maximum stability, keep to the default Stable/Jessie repos. # Jessie is the new stable release and will only recieve security # updates, while Testing will be 'rolling'. # Debian Stable. Default for antiX-16. # Use for maximum stability INSTEAD of the 'rolling' TESTING release concept. deb http://ftp.us.debian.org/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free #deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free # Debian Stretch. # Stretch enabled for 'new stable' release. #deb http://ftp.us.debian.org/debian/ stretch main contrib non-free #deb http://security.debian.org/ stretch/updates main contrib non-free #deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free # Debian Testing. # Testing enabled for 'rolling' release. #deb http://ftp.us.debian.org/debian/ testing main contrib non-free #deb http://security.debian.org/ testing/updates main contrib non-free #deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free # Multimedia Stable and Testing # Use to install libdvdcss2 and codecs. #deb http://www.deb-multimedia.org jessie main non-free #deb http://www.deb-multimedia.org stretch main non-free #deb http://www.deb-multimedia.org testing main non-free ###### Debian Unstable/Sid########## ###### Use at your own risk! ######## #deb http://ftp.us.debian.org/debian/ unstable main contrib non-free #deb http://www.deb-multimedia.org unstable main non-free mmmmna@antix16.2:~ $ cat /etc/apt/sources.list.d/debian-stable-updates.list # Debian Jessie Updates deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free # Debian Stretch Updates #deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free mmmmna@antix16.2:~ $October 21, 2017 at 6:39 pm #632Moderator
caprea
::You maybe go better by installing the drivers from the brother page.
http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2360dw_us&os=128They have a driver install tool, which will download the drivers automatically
Follow the instructions on the side that opens with the downloadThe last post in this thread explains the procedure
https://askubuntu.com/questions/575500/brother-hl-l2360dw-printer-installationEdit: The links haven’t been posted, I dont Know why but I can’t get this to work.
- This reply was modified 5 years, 6 months ago by caprea.
- This reply was modified 5 years, 6 months ago by caprea.
- This reply was modified 5 years, 6 months ago by caprea.
October 21, 2017 at 7:20 pm #642Forum Admin
richb
::I see the links. Were their others you posted that do not show?
AMD A8-7600 Radeon R7 Home built desktop, Acer Aspire V2-572G-6679 Optimus laptop
LG V10 phoneOctober 21, 2017 at 7:38 pm #643Moderator
caprea
::Now all links are shown.
I tried the insert link tool. This didnt work. I could see them, but they were not visible after sending.
I had to copy them from my own post.October 22, 2017 at 4:38 pm #670Membermmmmna
::You maybe go better by installing the drivers from the brother page.
Tried those drivers with other Debian derived distros, and similar to my current situation, the Brother setup tools don’t give me anything which works.
The last post in this thread explains the procedure
The first post includes this:
I need help installing my brother Model HL-L2360DW printer using a USB cable.
I want wifi access, since the printer has only been used via wifi. I can ping the printer’s IP address from a console, so it is reachable, but the issue seems to be the Cups system isn’t configuring my OS properly.
- This reply was modified 5 years, 6 months ago by mmmmna. Reason: Forum code not familiar and no post preview options
October 22, 2017 at 7:00 pm #675Moderator
caprea
October 23, 2017 at 6:22 am #689Membermmmmna
::Well, that still failed, as the installer script saw many errors:
Fetched 232 kB in 5s (43.4 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5E: Package ‘ia32-libs’ has no installation candidate
dpkg -x hll2360dlpr-3.2.0-1.i386.deb /
dpkg -x hll2360dcupswrapper-3.2.0-1.i386.deb /
(Reading database … 207348 files and directories currently installed.)
Removing hll2360dcupswrapper (3.2.0-1) …
lpadmin: The printer or class does not exist.
Purging configuration files for hll2360dcupswrapper (3.2.0-1) …
dpkg: warning: while removing hll2360dcupswrapper, directory ‘/opt/brother/Printers/HLL2360D’ not empty so not removed
cp: cannot stat ‘/home/mmmmna/Documents/CUPS’: No such file or directory
cp: cannot stat ‘2.2.5/2017’: No such file or directory
cp: cannot stat ‘10’: No such file or directory
cp: cannot stat ‘23’: No such file or directory
cp: cannot stat ‘Brother’: No such file or directory
cp: cannot stat ‘HL-L2360DW’: No such file or directory
cp: cannot stat ‘Drivers/hll2360dlpr-3.2.0-1.i386.deb’: No such file or directory
dpkg-deb: error: failed to read archive `hll2360dlpr-3.2.0-1.i386.deb’: No such file or directory
dpkg-deb: error: failed to read archive `hll2360dlpr-3.2.0-1.i386.deb’: No such file or directory
linux-brprinter-installer-2.1.1-1: line 1900: DEBIAN/control.tmp: No such file or directory
cat: DEBIAN/control: No such file or directory
mv: cannot stat ‘DEBIAN/control.tmp’: No such file or directory
dpkg-deb: error: failed to open package info file `./brother_driver_packdir/DEBIAN/control’ for reading: No such file or directory
dpkg -b ./brother_driver_packdir hll2360dlpr-3.2.0-1a.i386.deb
cp: cannot stat ‘/home/mmmmna/Documents/CUPS’: No such file or directory
cp: cannot stat ‘2.2.5/2017’: No such file or directory
cp: cannot stat ‘10’: No such file or directory
cp: cannot stat ‘23’: No such file or directory
cp: cannot stat ‘Brother’: No such file or directory
cp: cannot stat ‘HL-L2360DW’: No such file or directory
cp: cannot stat ‘Drivers/hll2360dcupswrapper-3.2.0-1.i386.deb’: No such file or directory
dpkg-deb: error: failed to read archive `hll2360dcupswrapper-3.2.0-1.i386.deb’: No such file or directory
dpkg-deb: error: failed to read archive `hll2360dcupswrapper-3.2.0-1.i386.deb’: No such file or directory
linux-brprinter-installer-2.1.1-1: line 1925: DEBIAN/control.tmp: No such file or directory
cat: DEBIAN/control: No such file or directory
mv: cannot stat ‘DEBIAN/control.tmp’: No such file or directory
dpkg-deb: error: failed to open package info file `./brother_driver_packdir/DEBIAN/control’ for reading: No such file or directory
dpkg -b ./brother_driver_packdir hll2360dcupswrapper-3.2.0-1a.i386.deb
mv: target ‘Drivers’ is not a directory
mv: target ‘Drivers’ is not a directory
linux-brprinter-installer-2.1.1-1: line 1943: cd: /home/mmmmna/Documents/CUPS: No such file or directory
dpkg -i –force-all hll2360dlpr-3.2.0-1a.i386.deb
dpkg: error processing archive hll2360dlpr-3.2.0-1a.i386.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
hll2360dlpr-3.2.0-1a.i386.deb
dpkg -i –force-all hll2360dcupswrapper-3.2.0-1a.i386.deb
dpkg: error processing archive hll2360dcupswrapper-3.2.0-1a.i386.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
hll2360dcupswrapper-3.2.0-1a.i386.deb
###############################ls: cannot access /usr/share/ppd/*.ppd: No such file or directory
ls: cannot access /usr/share/cups/model/*.ppd: No such file or directory
#
dpkg-query: package ‘hll2360dlpr’ is not installed
Use dpkg –info (= dpkg-deb –info) to examine archive files,
and dpkg –contents (= dpkg-deb –contents) to list their contents.Which is odd, because early in the brprinter-installer script, the output of the script stated:
You are going to install following packages.
hll2360dlpr-3.2.0-1.i386.deb
hll2360dcupswrapper-3.2.0-1.i386.deb
OK? [y/N] ->ySo the error message of the brprinter-installer script shouldn’t happen:
dpkg: error processing archive hll2360dcupswrapper-3.2.0-1a.i386.deb (–install):
cannot access archive: No such file or directory- This reply was modified 5 years, 6 months ago by mmmmna. Reason: Sure would be handy to have a post preview function!
- This reply was modified 5 years, 6 months ago by mmmmna. Reason: No post preview, and BBcodes aren't well supported
October 23, 2017 at 6:31 am #692Membermmmmna
October 25, 2017 at 7:12 pm #789Moderator
caprea
::This was a little bit strange,where was your post ???
Saw it the first time today.Could you please type in terminal
system-config-printerLook if there is already a HLL2360D , if so delete it and close the config-printer
Then try again the install-script
Its odd that it doesnt find /home/mmmmna/Documents/CUPS ,which I assume is a folder you created for unzipping the install-tool.
If you didnt make maybe a little mistake, I dont really know whats going on, because I installed the driver for your printer on two antix machines without any error.
But we will see what happens if you delete and try again.Question:Is the folder you created really named /home/mmmmna/Documents/CUPS , maybe theres a space ? Could be its a problem with the name.
- This reply was modified 5 years, 6 months ago by caprea.
- This reply was modified 5 years, 6 months ago by caprea.
October 26, 2017 at 4:01 am #803Forum Admin
anticapitalista
::It was hidden (I have no idea why or how)
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 31, 2017 at 9:29 am #1416Moderator
Brian Masinick
::Okay, where did my post go?
“Missing posts” seem to be the latest mystery in the youth of this particular forum. I believe that the admins are figuring out what’s going on, but it appears to be a defect in the current forum management software.
--
Brian MasinickOctober 31, 2017 at 2:09 pm #1479Member
fatmac
::It looks like raw URLs & large blocks of text without code tags are classed as spam by the forum software, this is what I have found so far. 🙂
Linux (& BSD) since 1999
November 4, 2017 at 7:05 pm #1863Membermmmmna
::Ah. Well, then, forum software problems. http://www.phpbb.com/ is a good and VERY mature forum package.
caprea:
You requested I execute system-config-printer command; that produced a window with 2 instances of the printer. I deleted both of them, so as to start with nothing that could interfere.Reacquired the brother driver installer, so that a fresh download could alleviate a failed prior download.
Reinstalled:
mmmmna@antix16.2:~/Cups Again $ sudo bash linux-brprinter-installer-2.1.1-1 HL-L2360DW [sudo] password for mmmmna: You are going to install following packages. hll2360dlpr-3.2.0-1.i386.deb hll2360dcupswrapper-3.2.0-1.i386.deb OK? [y/N] ->y ========================================= Brother License Agreement Brother retains any and all copyrights ...The process executed very similar to example already posted: tons of errors.
No test print.system-config-printer as root shows the printer listed in the window.
In the window, I opened the properties for the HL-L2360DW, and the listed device URI is file:///dev/null.
So, is that the reason for the lack of function?November 4, 2017 at 8:18 pm #1866Moderator
caprea
::It looks like you created a folder named “Cups Again” for doing the install-tool.
It seems like the installer has a problem with the space between Cups and Again.
Could you try it again with a folder named “Cups_Again” or “Cupsagain”
Dont forget to delete your already installed printers in system-config-printer before,not as root.- This reply was modified 5 years, 6 months ago by caprea.
November 5, 2017 at 6:31 am #1894Membermmmmna
::Ok.
Run system-config-printer as user, deleted all entries for HL-L2360DW.
Renamed “Cups Again” to “Brother”.
I deleted all files in Brother except the driver tar.gz.
I extracted the installer from the archive.
As user:
$ bash linux-brprinter-installer-2.1.1-1Response:
Only root can perform this operation.su, then run again:
root@antix16:/home/mmmmna/Brother# bash linux-brprinter-installer-2.1.1-1 Input model name ->and off I went.
The installation concludes with asking me how to connect to the printer:
Will you specify the Device URI? [Y/n] ->I have no idea of the wifi IP address, as my router isn’t displaying any connected devices, yet this PC itself is a connected device.
I answered Y, but as I just said, I’m not sure where the printer is connected, so in reality, I should have selected No.The response of the installer script showed 15 items, number 15 seemed to be correct:
15 (A): Auto. (dnssd://Brother%20HL-L2360D%20series._ipp._tcp.local/)I selected 15.
Got this after entering 15:
lpadmin -p HLL2360D -v dnssd://Brother%20HL-L2360D%20series._ipp._tcp.local/ -E Test Print? [y/N] ->Sure, so I entered Y, nothing happened.
Browser, localhost:631
Cups 1.75 loads. Why so old? Version 2.2.5 is what I asked about installing in my first post….Administration tab, manage printers link, and yes, HL-L2360DW is listed.
As user: =
system-config-printer,Yes, HL-L2360DW is listed.
The printer properties in system-config-printer shows URI is now dnssd://Brother%20HL-L2360D%20series._ipp._tcp.local/
Click the print test page button, nothing happens.
Back in the localhost, I click the printer queue name for the 2360, it loads a new page where the message says:
"Unable to locate printer "BRW40B89AC92658.local"."What next?
- This reply was modified 5 years, 6 months ago by mmmmna. Reason: ` is not the same as '
- This reply was modified 5 years, 6 months ago by mmmmna. Reason: reformatted text for clarity
-
AuthorPosts
- You must be logged in to reply to this topic.