Networking Forums

Networking Forums > Computer Networking > Linux Networking > Printing to Samba-shared printer from WinXP

Reply
Thread Tools Display Modes

Printing to Samba-shared printer from WinXP

 
 
Dave Weaver
Guest
Posts: n/a

 
      12-30-2003, 06:56 AM

I'm having difficulty printing to a samba-shared printer from Windows XP.
The server is Fedora Core 1, running Samba 3,0,0-15.
The client is WindowsXP Home.
The printer is a Canon i850, connected via /dev/usb/lp0, using the
driver from www.turboprint.de - I can print fine from Linux.

On the Windows client I can add the printer as a network printer (it shows
up fine when browsing the network), install the driver, and the printer
shows up in my Printers 'folder' with a status of "ready".

If I try to print a Windows test page, I get no errors, and Windows seems
to be under the impression that everything went fine, but I get no output
on the printer, and "lpstat" and "lpq" indicate that there's no problem
and nothing to print.

The time on the spool directory /var/spool/samba gets modified to the time
I tried the print, so I guess somethings happening, but I get no output
and no error messages, and nothing in any samba logs.

My /etc/printcap file is:

# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
tp0|tp0:rm=dontmind.net:rp=tp0:

The printers section in smb.conf is:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
public = yes
guest ok = yes
writable = yes
printable = yes
use client driver = yes

Can anyone shed some light on my problem? Why can't I print from
Windows? How can I better diagnose the problem?

Thanks,
Dave.

 
Reply With Quote
 
 
 
 
stewart menday
Guest
Posts: n/a

 
      12-30-2003, 08:33 AM
Hi
Not too sure why its not working but try tcpdump to see if Linux is
receiving any info from XP (tcpdump -i eth0)

Regards

Stew

"Dave Weaver" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> I'm having difficulty printing to a samba-shared printer from Windows XP.
> The server is Fedora Core 1, running Samba 3,0,0-15.
> The client is WindowsXP Home.
> The printer is a Canon i850, connected via /dev/usb/lp0, using the
> driver from www.turboprint.de - I can print fine from Linux.
>
> On the Windows client I can add the printer as a network printer (it shows
> up fine when browsing the network), install the driver, and the printer
> shows up in my Printers 'folder' with a status of "ready".
>
> If I try to print a Windows test page, I get no errors, and Windows seems
> to be under the impression that everything went fine, but I get no output
> on the printer, and "lpstat" and "lpq" indicate that there's no problem
> and nothing to print.
>
> The time on the spool directory /var/spool/samba gets modified to the time
> I tried the print, so I guess somethings happening, but I get no output
> and no error messages, and nothing in any samba logs.
>
> My /etc/printcap file is:
>
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file. All changes to this file
> # will be lost.
> tp0|tp0:rm=dontmind.net:rp=tp0:
>
> The printers section in smb.conf is:
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = yes
> public = yes
> guest ok = yes
> writable = yes
> printable = yes
> use client driver = yes
>
> Can anyone shed some light on my problem? Why can't I print from
> Windows? How can I better diagnose the problem?
>
> Thanks,
> Dave.
>



 
Reply With Quote
 
Dave Weaver
Guest
Posts: n/a

 
      12-30-2003, 11:05 AM
On Tue, 30 Dec 2003 20:33:55 +1100, stewart menday <> wrote:
> Hi
> Not too sure why its not working but try tcpdump to see if Linux is
> receiving any info from XP (tcpdump -i eth0)
>


No need to use tcpdump - the client/server are obivously communicating
since other samba operations like disk sharing work fine.

Also, the spool directory appears to get updated during an attempted
print, so something's obviously being transferred.

Dave.

 
Reply With Quote
 
Kirk C Aune
Guest
Posts: n/a

 
      12-30-2003, 12:25 PM
Dave Weaver wrote:
> I'm having difficulty printing to a samba-shared printer from Windows XP.
> The server is Fedora Core 1, running Samba 3,0,0-15.
> The client is WindowsXP Home.
> The printer is a Canon i850, connected via /dev/usb/lp0, using the
> driver from www.turboprint.de - I can print fine from Linux.
>
> On the Windows client I can add the printer as a network printer (it shows
> up fine when browsing the network), install the driver, and the printer
> shows up in my Printers 'folder' with a status of "ready".
>
> If I try to print a Windows test page, I get no errors, and Windows seems
> to be under the impression that everything went fine, but I get no output
> on the printer, and "lpstat" and "lpq" indicate that there's no problem
> and nothing to print.
>
> The time on the spool directory /var/spool/samba gets modified to the time
> I tried the print, so I guess somethings happening, but I get no output
> and no error messages, and nothing in any samba logs.
>
> My /etc/printcap file is:
>
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file. All changes to this file
> # will be lost.
> tp0|tp0:rm=dontmind.net:rp=tp0:
>
> The printers section in smb.conf is:
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = yes
> public = yes
> guest ok = yes
> writable = yes
> printable = yes
> use client driver = yes
>
> Can anyone shed some light on my problem? Why can't I print from
> Windows? How can I better diagnose the problem?
>
> Thanks,
> Dave.
>

Cups-

Go to /etc/cups
remove comment of octet-stream in mime.convs and mime.types.
remove comment of msword in one of the two indicated files (don't remember!)


 
Reply With Quote
 
Dave Weaver
Guest
Posts: n/a

 
      12-30-2003, 05:33 PM
On Tue, 30 Dec 2003 13:25:51 GMT, Kirk C Aune <(E-Mail Removed)> wrote:

> Go to /etc/cups
> remove comment of octet-stream in mime.convs and mime.types.
> remove comment of msword in one of the two indicated files (don't remember!)


Perfect! That works nicely.

Thanks,
Dave.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - FC3 - Can't access shared printers on WinXP phillipedison1891@gmail.com Linux Networking 0 02-06-2006 01:07 PM
Help Printing from WinXP to Fedora via SAMBA USMC Sniper Linux Networking 4 01-18-2005 01:34 AM
Printing to a WinXP Shared Printer Richard Balaban Wireless Networks 1 12-16-2004 08:47 AM
Help printing from WinXP to Linux via Samba...PLEASE :) USMC Sniper Linux Networking 7 02-01-2004 06:09 PM
printing to samba printer Michael Powe Linux Networking 0 09-16-2003 01:21 AM



1 2 3 4 5 6 7 8 9 10 11