Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
My laptop: gentoo linux
My main computer: win xp pro w/ printer attached and shared (also unix printing services are installed)
my problem: I cannot print to the shared printer from my laptop, I get the error "Remote host did not accept data file(1)", I would like to use ldp and NOT samba, but I will use samba in a pinch if I must (if I have to.... I guess...) I do know that my laptop can ping the main computer just fine, and I think cups connected to the printer (it says that it's accepting jobs and what not), I have also made sure that no traffic is blocked from the laptop on the main computer.
If you do think I should be running samba, please post an example of your working config file.
I haven't used Microsoft's Unix Services for Windows, but in normal Unix printing you would have to configure the print server to accept jobs from each remote computer. I imagine that Microsoft's Unix Services... must have a file that is a list of computers authorized to send print jobs.
There is no reason to be reluctant about using Samba. It is excellent software. I'd rather use Samba on a Linux machine than use Unix Services for Windows on a Windows machine.
I don't use Microsoft Print Service for UNIX, either. According to this page, http://support.microsoft.com/kb/324078, it looks like it's another way around. Your Linux box should be the print server and that MS service allows your Windows box to send print jobs to the server.
I don't use Microsoft Print Service for UNIX, either. According to this page, http://support.microsoft.com/kb/324078, it looks like it's another way around. Your Linux box should be the print server and that MS service allows your Windows box to send print jobs to the server.
I don't want to use my LAPTOP as a server for print jobs though, I just want to be able to come home, program, then print out my source code w/o having to plug the printer into my laptop. But thanks for pointing me to that article, I did a bit more digging in the kb and didn't find anything sadly =( I also tried what that article said, still nothing =/
Quote:
Originally Posted by stress_junkie
I haven't used Microsoft's Unix Services for Windows, but in normal Unix printing you would have to configure the print server to accept jobs from each remote computer. I imagine that Microsoft's Unix Services... must have a file that is a list of computers authorized to send print jobs.
There is no reason to be reluctant about using Samba. It is excellent software. I'd rather use Samba on a Linux machine than use Unix Services for Windows on a Windows machine.
I have no doubt that samba is good software... I just can't seem to get it to work correctly with cups (it says it cant find the cifs host or something like that) =( If you know of any (good) articles that would help me with this, please post them for me.
Also, I would assume that MS just implemented the unix services as anyone can have access to the printer (or they use the same list for the 'normal' sharing of the printer if there was one)...
I doubt very many people are still having this problem, but I was able to solve a similar problem by upgrading to cups-1.1.17-13.3.43 and cups-libs-1.1.17-13.3.43.
When I looked through my logs I had the entry "PID #### stopped with status 22".
I am getting the same message under different circumstances. My printer is shared on a Windows 7 PC. When I send a CUPS test page, it works. When I try to use the lpr command from the shell, I get the “Remote host did not accept data file (1)” on the CUPS printer. If I try to use Samba, I get a "NT_STATUS_ACCESS_DENIED" message. These two messages just have to be related, right? Any thoughts?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.