User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 402,623 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,152 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 2664 | Replies: 2
Reply
Join Date: Jan 2004
Location: Tallahassee, Florida
Posts: 5
Reputation: salvatore is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
salvatore salvatore is offline Offline
Newbie Poster

WinXP, RH9, Samba, and Printing

  #1  
Jan 28th, 2004
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2004
Location: VA, USA
Posts: 459
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Rep Power: 6
Solved Threads: 17
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: WinXP, RH9, Samba, and Printing

  #2  
Jan 28th, 2004
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...html#id2927201 for drivers.

Also, found a step by step for ya here
My Home Away from Home: Yet Another Linux Blog
Reply With Quote  
Join Date: Jan 2004
Location: Low earth Orbit...right? Soon to be cali to finish up ten year.
Posts: 150
Reputation: WEATHER CHANNEL will become famous soon enough WEATHER CHANNEL will become famous soon enough 
Rep Power: 0
Solved Threads: 1
WEATHER CHANNEL's Avatar
WEATHER CHANNEL WEATHER CHANNEL is offline Offline
Banned

Re: WinXP, RH9, Samba, and Printing

  #3  
Jan 29th, 2004
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
Last edited by WEATHER CHANNEL : Jan 29th, 2004 at 3:14 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb *nix Software Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the *nix Software Forum

All times are GMT -4. The time now is 1:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC