954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

WinXP, RH9, Samba, and Printing

Setup:

RedHat 9 running Samba, Windows XP Professional connecting successfully to the RH box.

I can map a drive from Windows to RH, but cant print to the RH box. Here's my smb.conf file:

***
[root@home salvatore]# cat /etc/samba/smb.conf
; /etc/smb.conf
;
; Make sure and restart the server after making changes to this file, ex:
; /etc/rc.d/init.d/smb stop
; /etc/rc.d/init.d/smb start
[global]
; Uncomment this if you want a guest account
; guest account = nobody
hosts allow = 192.168. 127.
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
share modes = yes
printing = cups
[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[printers]
comment = All Printers
path = /var/spool/samba
public = yes
guest ok = yes
printable = yes
use client driver = yes
browseable = yes
read only = no
***

Obviously, the template for this file was taken from cscgal's primer on samba, but I cannot seem to print properly.
The printer is an HP Photosmart 7260, and works perfectly from the RH box. I can browse it from the Win box, and even have it set up as a printer there. I DLed the drivers from HP, and can view the properties of the printer from the Windows control panel. All print jobs spool, but never make it to the printer.

Where can I begin troubleshooting this?

Thanks in advance.

salvatore
Newbie Poster
5 posts since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

Drivers perhaps? Also, don't forget to disable the firewall for your windows machine if you haven't done that.

http://samba.mirror.ac.uk/samba/docs/man/printing.html#id2927201 for drivers.

Also, found a step by step for ya here

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

You can accsess all of your windows files without SAMBA if you have 2 HDD's connected at once 1 as master 1 as slave dual of course.
Then again I might be on another plateau than you guys.

cheers

WEATHER CHANNEL
Junior Poster
Banned
150 posts since Jan 2004
Reputation Points: 46
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: