VectorLinux
November 27, 2014, 06:44:53 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: HOWTO install a Brother HL-2040 laser printer  (Read 6857 times)
no2thesame
Packager
Vectorite
****
Posts: 136


« on: January 14, 2007, 01:13:10 am »

To install a Brother HL-2040 laser printer in Vector Linux SOHO 5.1.1 on the parallel port:

1.If you haven't already done so:
Attach the parallel cable to the printer and the Parallel port and ensure it fits snugly.
Insert the Power cable. Turn the power on. (switch at right side near the back)
Press Go for a printer test page so you know if the printer itself is OK and the cartridge is in correctly fitted.

2. On your Vector KDE desktop while you are on the web
Open the Konsole (from the main menu) and type:
   su   (and supply the root password)
   cd /usr/share/ppd/
   mkdir Brother
      cd Brother/
      wget -c http://www.profv.de/brother/Brother-HL-2040-hl1250.ppd
(it will copy the driver from the web to your newly-made Brother directory)
   /etc/rc.d/init.d/cups restart
(CUPS will restart and find your new driver)

3. Add the Printer by going to the main menu:
V > Control Center > Peripherals > Printers
   Click on "Administrator Mode" (bottom-left of box - supply root password)
   Change "Print System currently used:" to CUPS (bottom-right)
   Click "Add"  (top-right) > Add Printer/Class
Complete the Wizard as follows (change as needed for your system)   
   Local Port Selection: Parallel Port #1 >Next
   Printer Model Selection: Brother  then  HL-2040 hl1250 >Next
   Printer Test: Test   (it should work after a pause)
   Settings (yours may be different) Page size: A4, Resolution: 600DPI, Toner Saving: Low (25%) >next
   Banner Selection: (no changes) >next
   Printer Quota Settings (no changes) >next
   User Access Settings: (no changes) >next
   General Information: Name:laser Location: (left blank) Description: BROTHER HL-2040 hl1250 >next
   Confirmation: > Finish  > OK

I then printed a page from OOo Writer, which worked perfectly. Abiword too!

The reason that I wrote this up is that it has taken me 2 days and 5 reinstalls of Vector (the last one was just to ensure the system was clean)!

Things to do
- Use KDE's Printing Manager (not CUPS administration)
- Go to the LinuxPrinting .org Brother HL-2040 listing at
http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-2040
- follow the link to the PPD file for Brother HL-2040 at
http://www.profv.de/brother/  (this is where you got your ppd (PostScript Printer Description) file from.

Things to AVOID (from my experience):
- Brothers drivers: I downloaded both the LPR and CUPSwrapper files from Brother and using the rpm2tgz technique as recommended at this post and used the F2 commands in Midnight Commander to install them.It mangled my system so badly I could not do anything but log out then I could not log in again except as root. I couldn't even log into new users I created as root.

- F2 commands in Midnight Commander too. I did it from the command line the third time round they installed well but I still couldn't print.

- CUPS Printer Administration: Besides being confusing, it did not work for me.

Hope this helps
no2
Logged
JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #1 on: January 14, 2007, 07:52:16 am »

no2,

Thanks for posting this. This goes to show that there can be many ways to do the same thing in Linux, namely setting up a printer that could otherwise be a pain to do. ;-)

Cheers,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!