LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-25-2004, 11:55 AM   #1
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Rep: Reputation: 15
Printing from XP to CUPS via SAMBA


Hi folks!

I'll bet this question has been asked (and hopefully answered!) many times before, and my apologies if I'm contributing to the clutter on the forum, but I've searcehd and I can't find a solution!

I have a Linux box (running LFS 5.1) onto which I have installed CUPS (which I can print from ok) and SAMBA 3 (which seems to be working insofar as all the file shares work).

Ok, I have 2 Windoze boxes, one running XP Pro and the other XP Home and both have this particular problem, so I'm guessing that the issue lies elsewhere (for once).

The problem is this:

I can see my shared printer on the server. I can connect to it and the drivers get downloaded from print$, but if I try to print I get an error. (Usual windows, no error code or message). I've tried both the cups-samba-1.1.16 and the cups-samba-5.0rc3 printer drivers and have the same problem each time. This is driving me nuts!

If I go to the printer properties and click on the Sharing tab and then Additional Drivers, Only Windows NT4.0 or 2000 is ticked. I can't seem to get the Windows 2000 or XP to activate. I suspect the driver, but am not sure.


HELP!!!!!!

Many thanks in advance

Paul
 
Old 10-25-2004, 02:59 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
These may help.

http://www.faqs.org/docs/Linux-mini/...g_with_windows

http://us3.samba.org/samba/docs/man/.../printing.html

good luck.

Last edited by Peacedog; 10-25-2004 at 03:04 PM.
 
Old 10-25-2004, 03:15 PM   #3
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Rep: Reputation: 15
i had the same problem as you. then i read a magazine about printing.

You don't need samba for network printing. You only need it if you still live in the stone age and use windows ME, 95/8 on the client computers. Windows 2000 and XP (NT?) support IPP, which CUPS uses.

Connect to the linux server with IPP. Just make sure that cupsd.conf accepts ip's in your LAN, accepts raw.

COnfigure your windows client by add network printer.

URL = http://serverhostname:631/name_of_printer

Map the server name to the server name's ip address in c:\windows\system32\drivers\etc\hosts

then install the driver on the win box, and it should start working. Samba is not necessary at all except for file sharing.


Enjoy! I was overjoyed when i finally got my printer working,
 
Old 10-26-2004, 04:34 AM   #4
knutove1728
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Redhat FC2
Posts: 44

Rep: Reputation: 15
Try to configure the windoze printer with http://<your host lan card ip eks.192.168.x.x>:631/printers/<your printername eks hpxx>
 
Old 10-26-2004, 05:10 AM   #5
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks, but...

Ok, I can get a little further, but I have 2 (hopefully minor) problems...

1) This method doesn't support auto-driver download (which SAMBA does...) so I can't "point-and-print". Not a huge problem, but a pain.

2) How do I install the Postscript printer driver? It isn't on the list (that I can find anyway) and the downloaded one I've been trying to use doesn't have the inf file to let me install it manually...

Thanks

Paul
 
Old 11-01-2004, 04:57 AM   #6
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15
For anyone who, like me, has been doing battle with this one, I finally got it (sort of) fixed..

It turns out that the samba spool directory hadn't been created by the install. (smb.conf also had it defined in the wrong place, but that's another issue!)

Seems ok now.

Thanks to anyone who had a look at this one for me!

Paul
 
Old 04-15-2008, 05:43 PM   #7
1inxs
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by denning View Post
i had the same problem as you. then i read a magazine about printing.

You don't need samba for network printing. You only need it if you still live in the stone age and use windows ME, 95/8 on the client computers. Windows 2000 and XP (NT?) support IPP, which CUPS uses.

Connect to the linux server with IPP. Just make sure that cupsd.conf accepts ip's in your LAN, accepts raw.

COnfigure your windows client by add network printer.

URL = http://serverhostname:631/name_of_printer

Map the server name to the server name's ip address in c:\windows\system32\drivers\etc\hosts

then install the driver on the win box, and it should start working. Samba is not necessary at all except for file sharing.


Enjoy! I was overjoyed when i finally got my printer working,
I've been working on getting my wife's Windows XP PC to print through my Fedora PC for so long I think I'm going backwards. Can you be specific? How do I
Connect to the linux server with IPP. Just make sure that cupsd.conf accepts ip's in your LAN, accepts raw.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and Cups Printing zfletcher Linux - General 7 04-25-2005 01:08 PM
Printing from Cups to Samba MurrayL Linux - Networking 1 03-04-2005 06:49 PM
Samba/cups printing doralsoral Linux - Software 2 12-14-2004 02:43 PM
cups+samba printing vital4ik Linux - Software 0 06-08-2004 01:08 PM
Samba/Cups Printing Gildogg Linux - General 7 11-10-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration