• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux Printing help!

meson2000

Senior member
Hi everyone,
I am trying to get my Samsung ML-1740 printer shared from my Linux box (Suse 10.1) to my WinXP box. The printer is connected locally to my linux box. I can print fine locally. I am trying to share the printer to Windows via CUPS. I have sucessfully been able to get my Windows box to see the Linux printer using http://localhost:631/printers/printer name in the add new printers wizard in Windows. However, whenever I try to actually print something, the job goes in my windows print queue and I get an Error status message. There is no output at all on my printer. I can't even print a test page. I have the drivers for the printer installed under windows. That is pretty much all I know. Anyone have any ideas that I can try to get this to work? Thanks in advance!
 
Originally posted by: meson2000
I have sucessfully been able to get my Windows box to see the Linux printer using http://localhost:631/printers/printer name in the add new printers wizard in Windows.
Are you really using "localhost" there? It should be the hostname or IP address of your Linux machine. Localhost always points back to the PC making the request.

I've never tried printing from Windows via IPP, though I've heard it's possible and it seems like a good idea. I've always set up CUPS locally (as you did), and then shared the printer through Samba, which makes the printer appear as a share in Network Neighborhood just like a regular Windows printer. Any modern Samba package should be configured to use CUPS by default, in which case there should be very little configuration required.

 
Thanks cleverhandle,
Actually, I am not using localhost, its the IP address of the other machine. 🙂

At first I tried using Samba to share the printer. I set it up the best I could. I could browse to the printer from Windows, however, whenever I tried to do anything, it would fail to print. It would always say Unable to open, acccess denied. I couldn't figure out what was wrong. I have other folders shared to windows from my Linux machine with no problems at all. I couldn't figure it out. So my friend who is really good at linux told me its easier to just share it via CUPS alone. However, I can't get that to work either....
 
Originally posted by: meson2000
It would always say Unable to open, acccess denied.
Well, that could mean a few things. It could be that you don't have authentication set up properly for Samba. One way to narrow this down is to create a file share and make sure you can access that correctly. Another possible problem is that the Samba spool directory has the wrong permissions - it needs to be world-writable, and not all distros set it up this way by default. If you're going to use Samba, reading the relevant sections of the Samba HowTo's is pretty much required, as there are a lot of ways that printing can go wrong. Fortunately, the HowTo's are very detailed and well-written.

Sorry I can't be more helpful on the direct IPP route.

 
Originally posted by: cleverhandle
Originally posted by: meson2000
It would always say Unable to open, acccess denied.
Well, that could mean a few things. It could be that you don't have authentication set up properly for Samba. One way to narrow this down is to create a file share and make sure you can access that correctly. Another possible problem is that the Samba spool directory has the wrong permissions - it needs to be world-writable, and not all distros set it up this way by default. If you're going to use Samba, reading the relevant sections of the Samba HowTo's is pretty much required, as there are a lot of ways that printing can go wrong. Fortunately, the HowTo's are very detailed and well-written.

Sorry I can't be more helpful on the direct IPP route.


I have several folders shared between my linux and windows machines. These work fine. Printing has been a pain. I will try to go back the samba route, but I am not as hopeful. Most of the samba HowTo's are based on how to manually edit the samba.conf files. I was trying to do it with the built in Suse menus. I am not too keen on going in and changing a bunch of lines on a text file that may or may not work. I am pretty sure I will end up making things worse.
 
Back
Top