Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
May be compiled in the kernel,if you want we can try this;
Use the output of the first two grep statements to fill in the last foomatic-configure command)
# grep $printer_model /usr/share/foomatic/db/source/printer/*
# grep $printer_ID /usr/share/foomatic/db/source/driver/*
# foomatic-configure -s cups -p $printer_model_number -c file:$print_device_path -n queue name -d driver
It will be like this;
foomatic-configure -s cups -p HP-DeskJet_3520 -c file:/dev/usb/lp0 -n HP -d hpijs
restart cups chmod a+x /etc/rc.d/rc.cups /etc/rc.d/rc.cups stop /etc/rc.d/rc.cups start
If that works go to localhost:631 and you should see a printer HP,try and print a test page
Last edited by comprookie2000; 02-01-2005 at 07:58 PM.
try dmesg | tail we should see somthing like
hub.c: USB new device connect on bus2/2, assigned device number 2
printer.c: usblp0: USB bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1104
also found this;
Make sure you don't have lprng running, if you even still have it on your system. Me, I like to remove lprng with pkgtool to make sure there are no conflicts.also this
For others who may need to know this, you can get a debug log for cups this way:
<< Edit /etc/cups/cupsd.conf (or wherever this configuration file is installed in your case) to have the line "LogLevel debug" there. Then restart your CUPS daemon ["/etc/rc.d/rc.cups start" for slackware]...
Now print a job. Watch what is written to your CUPS error log. It normally sits in /var/log/cups/error_log. In debug level, nearly every action of the CUPS daemon is logged. You can see which filters and backends are called in which order. Very often you'll get a hint about what is missing for the print job to succeed. >>
Last edited by comprookie2000; 02-01-2005 at 08:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.