[SOLVED] installation of a brother hl2170w from brother
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have tried to install a brother hl2170w without success under Porteus a derivative of slax.
Here is the procedure that I have followed:
1) downloaded and converted them into slackware packages with rpm2txzthe two necessary printer drivers: http://welcome.solutions.brother.com/bs ... l#HL-2170W
Within kword HL-2170W is idle. Trying to print a job a message box opens and closes fast, but no printing. From http://localhost:631/printers/HL2170W, using the maintenance dialog box to get a print test page, there is no printing neither.
However, I get the following error message:
The page your are trying to view is the result of posted form data. If you resend the data, any action the form carried out (such as search or online purchase) will be repeated.
I did installed alien, I get the following error message:
bash-4.1# alien -t -c brhl2170wlpr-2.0.2-1.i386.rpm
error: brhl2170wlpr-2.0.2-1.i386.rpm: Header SHA1 digest: BAD
error: brhl2170wlpr-2.0.2-1.i386.rpm: not an rpm package (or package manifest)
Error executing "LANG=C rpm -qp --queryformat %{NAME} brhl2170wlpr-2.0.2-1.i386.rpm": at /usr/lib/perl5/site_perl/5.10.0/Alien/Package.pm line 482.
bash-4.1#
My Brother HL2140 works fine with the above command. Writing to the device has fewer things that can go wrong than using Brother's software and CUPS.
Ed
@Ed:
Thanks a lot for giving some help. Here is what I get using your strategy:
bash-4.1# su -c 'chmod gou+rwx /dev/usb/lp0'
bash-4.1# gs -dNOPAUSE -dSAFER -sDEVICE=hl1250 -sOutputFile=/dev/usb/lp0 \
> -dDOINTERPOLATE -dGraphicsAlphaBits=4 -r600 file.ps -c quit
GPL Ghostscript 9.01 (2011-02-07)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedfilename in (file.ps)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 9.01: Unrecoverable error, exit code 1
bash-4.1#
It looks like the rpm file is corrupted. Try downloading it again.
Brian
Meanwhile, I have installed gutenprint-5.2.7 along cups. I was able to install the brhl2170w thru cups. Do I persevere trying to convert rpm's?
I still get the error message:
The page your are trying to view is the result of posted form data. If you resend the data, any action the form carried out (such as search or online purchase) will be repeated.
Last edited by francois.e; 07-24-2011 at 02:54 PM.
Reason: not solved
The Ghostscript error looks like the input file was not valid Postscript. You first need to save the printout file as Postscript.
Since the printer is now working, you're done!
Ghostscript can already drive the HL-21xx printers without the use of Brother's software (which I suspect amounts to configuration files for a few Linux distributions).
Ed
1) The Ghostscript error looks like the input file was not valid Postscript. You first need to save the printout file as Postscript.
2) Since the printer is now working, you're done!
3) Ghostscript can already drive the HL-21xx printers without the use of Brother's software (which I suspect amounts to configuration files for a few Linux distributions).
Ed
1) What was missing in the syntax so that the file printout could be saved as Postscript. I just copy/paste your suggestion without reference to any concrete file that I had on my computer.
2) The printer still does not print. Maybe, I did not express myself well. There is no printing at all. I wonder if cups was well installed in the first place on that distribution of mine. Is there any command to verify that?
3) With Gutenprint installed at least the brother manufacturer is offered as a choice to install the printer. This is an improvement over my former situation within cups. However, the printer does not print.
Any other suggestion. Maybe I should remove and reinstall cups a new. What do you think^
In the app that you're printing from, select "Print to file", set the format to Postscript, and save "file.ps". Then, use the Ghostscript command above.
Ed
Francois
I have the same printer and I ended up using one of the other printer drivers (I think it was the HL1270, can't remember and it my laptop in front of me) and everything worked out fine.
Try one of the other brother CUPS drivers first since it worked exactly the same for me.
Meanwhile, I have installed gutenprint-5.2.7 along cups. I was able to install the brhl2170w thru cups. Do I persevere trying to convert rpm's?
I still get the error message:
The page your are trying to view is the result of posted form data. If you resend the data, any action the form carried out (such as search or online purchase) will be repeated.
You should try again to convert. I just tested it and it worked fine, you probably just have a corrupted file. You will also need the cupswrapper.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.