LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-24-2008, 11:08 PM   #1
des_a
Member
 
Registered: Sep 2006
Posts: 855
Blog Entries: 34

Rep: Reputation: 20
USB Printers Within on Mandrake Linux Community 10.1


I previously ended up solving a DNS issue by finding a simple patch I could create because I was able to finally see within how DNS worked. So, I'm also having a small issue with my printer that should be able to be solved with a patch if I could see how it worked within.

I used to once upon a time, leave my HP PSC 1300 Series on all the time. This was back when it worked easily with a simple local setup by installing the Windows driver for it on Windows. I know now, I'll have issues if I did the same thing now, because I use my laptop mostly, which can be wired or wireless. So a simple local setup would create a "disappearing printer".

This simple fact, meant that when my origional network ideas weren't perfect, I still could not go back to a simple local printer setup. Note that this printer includes a scanner, as it is a PSC (Printer, Scanner, Copier). This is USB.

It's successfully hooked up to a machine running Mandrake Linux Community 10.1. So first of all, to get past my initial assumption from what people told me, will or will the ink not dry up, if I left the printer on all the time, and still didn't use it "every day"? This is my first ever printer that I actually own and attempt to maintain, so I don't know much about what dries ink up or the differences/advantages between different types of printers.

Next, I'm noticing a simple problem. I'd configure it, using the GUI tool (I believe I initially configured it with the installation program). Hardware Autodetection is on, to my memory also, if that makes a difference. This would've been via the installation program, and I've got no idea how to do it manually.

I know I added some configuration using the printer drake wizard GUI tool. Right after configuring it, and closing the program, I turned the printer off, both to save power, and according to other people, to save ink from drying up too fast. I'd turn it on, when I needed to print to it, or scan from it, etc.

There were no obvious problems with this initially. At one point I even remember turning it back on, and there were no issues yet. It knew the printer was being turned on, and it knew when it was off. (I'm testing an installation, so this may not be the time I did that)

When I rebooted for the first time after finishing printer configuration via the wizard, that's when I pinpointed that I've got the problem. Say, the printer was in an off state when I rebooted (which it was by then). Now when I reboot, it detects it's in an off state. I belive it says that the printer is disabled. That's true. But when I turn it on, the printer should be recognized that it's in an on state while the system is still running, and then it should enable the printer, but it doesn't.

This may very well be due to a bug. Even if it is, however, the current best thing to do, would be to figure out where the bug is, and manually patch it. Now I'm not talking about C++/C bugs, or recompiling the kernel. If this is the only thing that would fix it (or upgrading), then in interest of time, I guess I'll try a different way to do this, by running Windows underneath and then Linux on top, but prefferebly, I'd rather not do this, because the machine will perform loads better using Linux.

So, I'm looking for an explanation of how Linux printers work, and how I can use scripts to catch events and stuff like that. Perhaps it's not running the right program when hotplug runs? Where do I find the script files to manipulate printer type events?
 
Old 01-25-2008, 04:36 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: voidlinux with LXDE
Posts: 5,509

Rep: Reputation: Disabled
that distro version is old...can I suggest you move to Mdv 2008.0 free of course...the GPL edition.

2) as a rule....usb printers should be turned on...if they have a separate power switch and then the usb jack plugged into your usb port.

3) to install any usb printer....open a web browser with root powers

eg if you use firefox...open a shell and type
su (and passwd)
firefox

----
after it loads type the following in the url address bar

localhost:631 (and press enter)

if Common Unix printer page is displayed you have reached CUPS and can click on add printer button and follow the steps to add any printer.

----
if you get unavailable error message of some sort...check that cups (the service) is running....go into Mdv control centre.../system/manage services....if you are not short of memory...allow cups to start at boot...if infrequent printer...leave it off and turn on or off from here

then retry localhost in web browser
 
Old 01-25-2008, 04:48 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: voidlinux with LXDE
Posts: 5,509

Rep: Reputation: Disabled
the above is the easiest gui way.

now if you like to torture yourself? read /usr/share/doc/cups/readme which will give you commands you can use to print a file.

2) http://www.cups.org/index.php has links to docs and user mailing list
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Saitek P880 USB Gamepad Stopped Working in Mandrake 10.1 Community DarthSabbath Linux - Hardware 3 12-15-2004 09:53 PM
Mandrake 10.1 Community disables USB Teclavow Mandriva 0 10-20-2004 04:24 PM
Zoom ADSL USB modem and mandrake community otto k Mandriva 1 07-01-2004 09:04 PM
Problem with Mandrake 10.0 Community, Sagem usb modem and logitech usb mouse. al370601 Mandriva 4 04-29-2004 06:48 PM
trouble with usb devices under mandrake linux 10 community rosssax Mandriva 0 04-20-2004 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:07 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