LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-17-2005, 02:09 PM   #1
phantomflute
LQ Newbie
 
Registered: Aug 2005
Location: Oregon
Distribution: Debian 3.1
Posts: 10

Rep: Reputation: 0
Printer issues with Debian 3.1


I can't print to my brother HL-5140 from any program on my computer. The computer sees the printer, and the print dialog shows that everything is working, but the printer isn't receiving any data and isn't printing.

Help?

Yes, the printer is turned on...
 
Old 08-17-2005, 02:32 PM   #2
towjamb
Member
 
Registered: Aug 2004
Location: Canada
Distribution: Debian
Posts: 87

Rep: Reputation: 15
Try installing these packages:

cupsys
cupsys-bsd
python-dev
python-qt3
libsnmp5-dev
libcupsys2-dev
lsb
hp-ppd
hpijs
hplip
hplip-base
hplip-data
 
Old 08-20-2005, 02:25 AM   #3
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
Re: Printer issues with Debian 3.1

Quote:
Originally posted by phantomflute
I can't print to my brother HL-5140 (...), the printer isn't receiving any data and isn't printing.

I had a similar issue with a lexmark printer....
 
Old 08-20-2005, 06:30 PM   #4
phantomflute
LQ Newbie
 
Registered: Aug 2005
Location: Oregon
Distribution: Debian 3.1
Posts: 10

Original Poster
Rep: Reputation: 0
Exclamation

My cd-rom won't mount, I changed the secondary master to a different drive in an attempt to be able to load it through there, and it still won't mount!

I tried creating a local directory through APT to install the files from, but the error I recieved was:

Binary dir debs not found

I'd modify my /etc/apt/sources.list file, but I have no idea how to do that.
 
Old 08-21-2005, 09:26 AM   #5
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
Why do you need your CD-Rom to install the files to get your printer working? This might be a separate issue unless there is something I am missing. You also don't need to modify your sources list from the default as all of these files are on the default repositories. If you want to comment out your CD ROM from the sources.list, open your list with a text editor, add a # in front of the CD-Rom entry, save it and close. Do all of this as root:

#pico /etc/apt/sources.list

To install the files above, just do an update then an install:

#apt-get update

#apt-get install cupsys cupsys-bsd python-dev python-qt3 libsnmp5-dev libcupsys2-dev lsb

After that, go to http://localhost:631 and see if you can add your printer. You will not need to install any of the hp***** files on that list below as those are for Hewlett Packard printers. Try this and let us know if it worked. If not, be sure to include what did work and what didn't as well as error messages.

Good Luck!

 
Old 08-22-2005, 10:05 PM   #6
phantomflute
LQ Newbie
 
Registered: Aug 2005
Location: Oregon
Distribution: Debian 3.1
Posts: 10

Original Poster
Rep: Reputation: 0
It is a seperate issue.

How to I update the sources.list file from a text editor aside from adding the #?
I don't understand how to access it. Could you please explain it?

Last edited by phantomflute; 08-22-2005 at 10:07 PM.
 
Old 08-22-2005, 11:33 PM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
To add your installation cd-roms, "su" to root and do "apt-cdrom add". It should ask you to insert cd-roms to be added to /etc/apt/sources.list.

You can also add new entries (as root) to /etc/apt/sources.list with the "apt-setup" command. These new entries will point to "stable" APT repositories. You can change them afterwards by using a text editor (for example, "nano /etc/apt/sources.list") and changing every "stable" word in /etc/apt/sources.list either to "testing" or "unstable", if that is your desire.

When adding a new printer, first you need to install all the necessary packages. To do this, type "aptitude" (and press enter), then scroll with the down arrow key to the Tasks section and select with Enter the section Print Server. Press "+" for every package in that section so that the packages become highlighted in green. Then press the "g" key twice. (If it asks for the root user's password, type it). After pressing the "g" key once, you have the chance to view also the list of suggested packages (at the bottom of the list). You may want to add some of those, too, with the "+" key before proceeding to press "g" for the second time.

Then reboot your computer with the printer connected and with power on, so that debian can detect your printer. After that you should be able to configure the printer by pointing your web browser to http://localhost:631/admin . If you have previous printer configurations, you should probably remove them before re-configuring the printer.

EDIT:
Oh, and like Tons of Fun explained, you should always update your APT sources with "apt-get update" and "apt-get dist-upgrade" before installing any new packages.

Last edited by Dead Parrot; 08-22-2005 at 11:37 PM.
 
Old 08-23-2005, 03:09 AM   #8
phantomflute
LQ Newbie
 
Registered: Aug 2005
Location: Oregon
Distribution: Debian 3.1
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you so much for the exceedingly explicit instructions!

Everything is downloading, I'll post after I locate the printer and everything to see if it works.... I'm sure it will, though.
 
Old 08-23-2005, 03:36 AM   #9
phantomflute
LQ Newbie
 
Registered: Aug 2005
Location: Oregon
Distribution: Debian 3.1
Posts: 10

Original Poster
Rep: Reputation: 0
Okay, it worked. For future reference-- don't use the recommended driver... use the Brother HL-5140 Foomatic/hpijs driver, the hl1250 didn't work after the packages were updated, but the hpijs did...
 
Old 08-23-2005, 05:53 AM   #10
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
That's what I love about this forum. I finally get to a point with Debian that I can start helping and what happens? I extend a hand to help someone out and I end up learning something new. I didn't know about apt-setup. I always edit my sources.list manually. Now I have something new to play with.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to debug printer issues PerfectReign Linux - Hardware 3 06-30-2005 02:01 PM
printer issues LOSTINAFOG Mandriva 0 01-06-2005 08:59 AM
printer issues outside of KDE tw001_tw Slackware 4 07-17-2004 08:44 PM
Samba/Printer share issues.. rusium Linux - General 1 06-02-2003 12:37 AM
help with HP printer issues? (USB) akshunj Slackware 2 10-08-2002 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration