Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 have installed cups and samba. I can see my network printer. When I set it up in the kde printer program, all is well. Then it ask me to supply a user name and password, so I type that in. Then it says retry even though I tried it a hundred times. I also tried it as root and making up my own. I am not sure what the problem is and why it won't let me setup a printer because of a dumb user name and password.
You can also try "guest" for a username (guest does not have a password, afaik). I think that the guest user should be allowed to use the printer as well. But even Windows 98 has some basic security that wants to know the user connecting to network resources, which means that it must be a known Windows user.
You may not have a guest user on the PC. I don't remember if Win98 uses one, or even disables that account by default.
In the Win98 Network Settings, under File and Print Sharing => Properties, have you checked "I want others to be able to print to my printer"? All I can think of at this point is that maybe the printer is not shared.
Could you explain exactly what the setup here is? The printer is connected to a Win98 box that is networked to the Linux box, right?
Samba appears to be correctly configured if you can see the printer (if it wasn't, you wouldn't be able to connect to network shared resources).
When you add the printer using KPrint, do you click the Administrative Mode before doing so? Only root may add or configure hardware.
What option are you choosing to add the printer?
Have you tried adding the printer via the CUPS web interface? Open a web browser and type http://localhost:631 in the address bar. Go to "Manage Printers" and then click the "Add Printer" button. You will be asked for the root username and password to continue; give it. Give the printer a name (location and description are optional), then "Continue". On the next screen, use the drop-down menu to choose the very last option, "Windows Printer via SAMBA", and then "Continue" again. The correct format for the device URI you will be asked for is:
Then choose a driver class and a driver for the printer. Your printer should be added; if it is not, then please tell us what went wrong, and maybe between failure in two different interfaces, we can figure out what actually is going wrong.
From the command line in root on my slackware box I can
smbclient //abit/epson -U guest
Where abit is what my XP box is known as and epson is the sghare name for the printer. It invites me to type a password in this case there isn't one so I just hit <Return> it should then gives the following prompt
smb: \>
at this prompt I type
print /root/.bash_profile
the .bash_profile is a small text file that exists in my root folder. The print command sends the file to the printer whose share name on the XP box is called epson which then gets printed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.