DamnSmallLinuxThis forum is for the discussion of DamnSmallLinux.
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.
I tried to install my HP OfficeJet600 Printer. First I tried apsfilter but I understood almost nothing. Then I tried cups 1.3.5 and I had the following issues:
1. I was asked for a root password although I donīt use one on my computer
I answered just hitting Enter.
2. I was asked to specify "device". In WindowsXP, the device for the printer was "COM:" but cups didnīt have that in this menu.
3. I was asked for a "device URI", what is that? How do I find out what to say here?
(4. cups wants a "ppd" file, but from the HP download link, I only got a file named "hplip-3.9.2.run". what with this?
Download manager said that "hplip-3.9.2.run" was executable,but when I double-clicked it in emelfm it didnīt execute.)
thanks, hh.
PS. I just found out how to make this file executable with "chmod". Now it did execute, finishing with the message
"./hplip-install: line 5: python: command not found"
and i have heaps of .ppd files in mydsl/hplip-3.9.2.
I try on later...
Last edited by hhanz; 03-24-2009 at 08:33 AM.
Reason: found out how to execute .run file but python error
Your post is confusing. Could you clarify a few things.
First of all, what machine is your printer attached to? Xp or Linux? If it is linux, what has XP got to do with it?
You do need the root password to add a printer in Cups. What distro are you using?
The device is usually the hardware you are going through to connect to the printer, like USB1.
The Device URI is a locater the software used. It may point to the same or a different machine. You can find help for these in the Cups documentation online. Go to http://localhost:631 and look at the documentation link.
I am using DamnSmallLinux, Linux Version Number is 2.4.31. I also have WindowsXP on the same Computer. The printer has no USB connection, it works with a parallel port, which, in Windows, is named "COM:".
I made the "hplip-3.9.2.run" file executable with "chmod", and it produced a file named "hp-officejet_series_600-hpijs.ppd".
This is what cups offered me to choose from as "device":
AppSocket/HP JetDirect
Backend Error Handler
CUPS-PDF
Internet Printing Protocol (http)
Internet Printing Protocol (ipp)
LPD/LPR Host or Printer
PTAL Device not found
SCSI Printer
Serial Port #1
Serial Port #2
The following is new since my last post:
I have now set a root password.
I started trying "AppSocket/HP JetDirect" as device and "lpd://box/queue" as deviceURI, as shown in the examples given by cups. ("box" is HOSTNAME in DamnSmallLinux).
Asked for "make/manufacturer", I specified the .ppd file mentioned above.
Then, cups asked me for a username and password. I first tried "root" and the root password, then "dsl" (non-root user, no password), but I was asked over and over again until I quit.
I hope this explanation was better than the last one.
Can you help me?
Then, cups asked me for a username and password. I first tried "root" and the root password, then "dsl" (non-root user, no password), but I was asked over and over again until I quit.
Cups will only allow root user to add or modify printer configuration. Your root password should have worked. When you first connect to cups, click Admin. I think it will ask for the root password then.
DSL, since it is a stripped down distro may not operate as other linux systems. So if you can not get by the password thing, then this is a DSL system problem. It may take some scratching around on the DSL site to figure it out.
The rest of what you are doing looks O.K. I'm not sure about the URI. I have only used a parallel port for printing once, a long time ago. I thought it would start out as Par. Anyway, let me know if you can or can not get past the password thing.
For most problems in Linux, the solution can be very simple (i.e. forgetting to connect the printer to the computer or forgetting to power up the printer). Here are some tutorials that I found useful when configuring printing in Linux (Slackware). I was able to configure my laser printer with CUPs as a shared via Samba so that computers on my LAN could print. Also I was able to configure older version of Linux (Slackware) with APSFILTER to share printer over network via Samba and all computers on my LAN could print
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.