LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-26-2006, 03:19 PM   #1
NoUse4ANick
LQ Newbie
 
Registered: Oct 2005
Location: Bellingham WA
Distribution: SUSE 10.0, will try others later =)
Posts: 24

Rep: Reputation: 15
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
 
Old 11-26-2006, 04:55 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
 
Old 11-26-2006, 05:06 PM   #3
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
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.
 
Old 11-27-2006, 01:58 PM   #4
NoUse4ANick
LQ Newbie
 
Registered: Oct 2005
Location: Bellingham WA
Distribution: SUSE 10.0, will try others later =)
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 09-13-2007, 05:36 AM   #5
newend
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
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".
 
Old 01-24-2011, 04:00 PM   #6
EddieN1
LQ Newbie
 
Registered: Feb 2008
Posts: 15

Rep: Reputation: 1
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
 
  


Reply

Tags
cups


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS gives host not found error dinolinux Linux - Software 4 04-24-2007 04:54 PM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM
Date of file creation on the remote FTP host kender Programming 1 08-31-2006 06:37 PM
Remote host did not accept control file (54) mudfrog Linux - Newbie 2 10-09-2004 06:33 PM
rpc remote system error: no route to host scrubbo Linux - Networking 0 09-14-2004 01:48 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration