LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
LinkBack Search this Thread
Old 10-19-2007, 05:03 AM   #1
jazzdude
LQ Newbie
 
Registered: Jun 2004
Location: Hampshire, UK
Distribution: FC8
Posts: 24

Rep: Reputation: 15
Unhappy CUPS print server with WinXP client


I have a desktop running FC5 with an HP Photosmart C4180 connected via USB. I can print perfectly form the desktop.
I also have my office laptop running Windows XP SP2 with the HP 4180 drivers installed. I have set up a network print queue on the laptop as an LPD port. The two machines can communicate via the network (I access the laptop via RDP from the desktop). When I send a print job from the laptop to the network queue on the desktop, the print job arrives in the queue but does not print. I have checked the CUPS job queue and it shows the job as held. If I hit release, it says "Job released for printing." When I check the job history it says "aborted". Here is an extract from /var/log/cups/error_log

I [19/Oct/2007:10:41:50 +0100] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4747)
E [19/Oct/2007:10:41:50 +0100] Job ID 377 has no files! Canceling it!
I [19/Oct/2007:10:41:50 +0100] Job 377 was released by "root".

Could this be a print filtering problem?

Remember printing works fine locally from the linux desktop.

Any suggestions please?

Thanks in advance.

Andy
 
Old 10-19-2007, 08:32 AM   #2
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
I do not know anything about the method you are using but:

I have a desktop running Slackware 11 connected to a printer through the parallel port. I have a laptop which is networked with samba and able to print via CUPS. The only configuration that needed doing was samba.conf
 
Old 10-19-2007, 09:05 AM   #3
jazzdude
LQ Newbie
 
Registered: Jun 2004
Location: Hampshire, UK
Distribution: FC8
Posts: 24

Original Poster
Rep: Reputation: 15
Thumbs down

Yeah thanks. I've tried all that to no avail. This used to work fine with the old LPD. CUPS has given me nothing but trouble. Why fix something that isn't broken?

Andy
 
Old 10-19-2007, 09:25 AM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
You say you can connect with rdp but can your users see their linux home directories from XP with samba? Just wondering if this could be a samba problem rather than a CUPS problem.
 
Old 10-19-2007, 10:01 AM   #5
jazzdude
LQ Newbie
 
Registered: Jun 2004
Location: Hampshire, UK
Distribution: FC8
Posts: 24

Original Poster
Rep: Reputation: 15
Question

Now that's a good point. Although going back one step, I am trying to print from XP to the Linux queue using the LPD protocol (I have installed the lpd client in windows and cups-lpd is active in linux). However, I have also tried using the windows printing protocol and i get to the point when setting up the remote queue where it asks for authentication but this fails. And I have just tried to connect to a samba shared drive on the linux machine from XP but no response. I usually connect to a share on XP from Konqueror so I hadn't noticed this failure before. But that still doesn't explain why I can't print via lpd, does it? AS I said, the print job arrives in the queue but cups aborts the job for some reason.

Andy
 
Old 10-19-2007, 10:26 AM   #6
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
With samba I found that I had to log on to XP using the same password as for my linux login.
 
Old 10-19-2007, 12:32 PM   #7
jazzdude
LQ Newbie
 
Registered: Jun 2004
Location: Hampshire, UK
Distribution: FC8
Posts: 24

Original Poster
Rep: Reputation: 15
I have set up a samba user associated with my linux account and i have also replicated my XP account and password in linux but neither has provided connectivity.
 
Old 10-20-2007, 11:16 AM   #8
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,293

Rep: Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803
With my Samba servers, I maintain (within CUPS) two print queues for a printer.
One is a raw print queue, which is accessed by the Windows machines. As the Windows machines have their own printer drivers installed, they format the print pages, and the formatted output is passed as is via the raw print queue to the printer.
The other print queue is used by the Samba servers only, any print pages are formatted by the drivers within CUPS and then sent to the printers.
 
Old 10-20-2007, 01:44 PM   #9
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
May be you might find some help in the networking forum.
 
  


Reply

Tags
cups, network, print


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS Print Queue Manager for Print Server Matir Linux - Software 9 01-11-2009 04:32 AM
remote client can't print using cups wilcsnyder Linux - Networking 0 10-01-2004 02:41 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
CUPS print client-error stabu Linux - Newbie 2 06-27-2004 04:44 PM
Cannot print from CUPS to winXP machine slackist General 0 06-22-2004 09:16 PM


All times are GMT -5. The time now is 07:32 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