LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CUPS error: Remote host did not accept data file (https://www.linuxquestions.org/questions/linux-networking-3/cups-error-remote-host-did-not-accept-data-file-505051/)

NoUse4ANick 11-26-2006 03:19 PM

CUPS error: Remote host did not accept data file
 
Here is my setup:

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.

Thanks,
Art
:newbie:

stress_junkie 11-26-2006 04:55 PM

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.

nuxrl 11-26-2006 05:06 PM

Another way around?
 
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.

NoUse4ANick 11-27-2006 01:58 PM

Quote:

Originally Posted by nuxrl
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)...

Thanks for the help though.

newend 09-13-2007 05:36 AM

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".

EddieN1 01-24-2011 04:00 PM

CUPS Test Page works but nothing else
 
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?

Thanks, Eddie


All times are GMT -5. The time now is 08:28 PM.