Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Still can't get my office jet K60 to work. Tried localhost:631 and redhat-config-printer. I'm sure it's just the url is wrong.
I think Linux is looking in the wrong place for it. Under Red Hat printer config I get the message unable to open usb:/dev/usb/lp0. If I could set the path to /dev/usb/lp0 it should work. Where is the config file with the path in it???
I have hpijs and hpoj installed. I'm sure it's just a path problem. Help!!
What I read there a lot of problems setting up CUPS through Redhat. You can try Mandrake or another distribution.
Parallel port is easy to configure under LINUX than USB. Try setting up one of the printers using parallel port to see if it works. If it does work, you can get a card with parallel port and set it that way.
My CUPS config is located in /etc/cups. You can try there. I think printers.conf is the file.
Well I found printers.conf and edited it to /dev/usb/lp0 but that didn't help.
I will try buying a parallel cable and see if that does it.
localhost:631 just sets it up wrong too.
I can of course carry it upstairs and try it on the other computer, running Mandrake 9.2
Thanks for the help anyway.
The address localhost is for only the computer that is running an HTTP, FTP, SSH, etc service. If you want to connect to it over the network. You have to know the IP address.
The problem with USB is it changes every time you disconnect and connect the device. You have to write a script that finds out the vendor ID, device ID, and what device node that LINUX created for it. Then the script will make or remake a symbolic link to the device. The path that CUPS has pointed to will be the name of the symbolic link something like /dev/hpijs and /dev/hpoj. The script will also help you if for some reason some one disconnects the printers.
Its also hard in Windows but I think LINUX is a little easier to control when dealing with USB devices.
I do not think CUPS has a driver for your printer.
Thanks for the help, but it still won't work. I have hpoj and hpijs, newest versions.
I read through ptal help htmls.
ptal-connect can't connect.
ptal-setup can't setup. I am baffled. If I connect my Epson CUX42 or whatever it's called, works first time. And under win the OJ K60 works fine. Linux just can't handle it, afraid to say!
Originally posted by Electro The problem with USB is it changes every time you disconnect and connect the device. You have to write a script that finds out the vendor ID, device ID, and what device node that LINUX created for it. Then the script will make or remake a symbolic link to the device. The path that CUPS has pointed to will be the name of the symbolic link something like /dev/hpijs and /dev/hpoj. The script will also help you if for some reason some one disconnects the printers.
Wait, I don't follow, but from what I think I understand, it fits my situation:
When I set up my printer, it CUPS saw my printer on USB1, but none of the documents actually printed to the printer, although all the programs (Including KDE's print manager and CUPS) claimed that the prints were completed. Then I turned off the printer, turned it back on, seeing if that would do anything. Now CUPS doesn't see the printer on USB1 when I choose where the source is (It just lists off USB1-8, etc, no names next to the device names).
So what are you saying I have to do with my K60, Electro?
Every device has a vendor ID and device ID that is hard coded in the firmware. If you check dmesg from any user you will see the vendor ID and device ID that LINUX has found. You have to add a line in usb.distmap found in hotplug directory. Make a script called printer and put it under ../hotplug/usb. Usually hotplug directory is located in /etc. The script should find if the printers are connected or removed. Using a utility like lsusb will help you. Then it should make a backup of your printer.conf from the cups directory. Next the script should edit the printer.conf to change to the new usb port. Finally, restart cups.
I have problems with Windows when using USB printers. I have to make sure to change to the right USB port before printing documents.
IMO, when printing, stick with parallel ports. They always work when they supposed to. You do not have to change configs every time you turn on the printer or plug it in a port.