[Samba] [Fwd: Samba print]

antonio anto.montagnani at virgilio.it
Thu Sep 4 21:56:22 GMT 2003


I have a notebook with Windows Xp. This PC works connected both to my

office network and my home network.

At work I can print from this PC to any printer on the network, in 
particular on a Epson 810 that is connected to a Linux box with RedHat 8.0

At home I have a Epson C70 connected to a Linux box with RedHat 9, but I 
can't print on the Linux printer

I copied the smb.conf file from office to home that is:

#======================= Global Settings 

[global]
   log file = /var/log/samba/%m.log
   printer = epson
   load printers = yes
   smb passwd file = /etc/samba/smbpasswd
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   null passwords = yes
   username map = /etc/samba/user.map
   encrypt passwords = yes
   passwd program = /usr/bin/passwd %u
   dns proxy = no
   server string = Samba Server
   unix password sync = yes
   workgroup = Workgroup
   os level = 20
   comment = Epson C70 su Linux
   printcap name = /etc/printcap
   security = user
   max log size = 0
   pam password change = yes

[homes]
  comment = Home Directories
  browseable = no
  writable = yes
  valid users = %S
  create mode = 0664
  directory mode = 0775

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
   guest ok = yes
   comment = All Printers
   printable = yes
   path = /var/spool/samba

__________________________________________________________________________--
When I send the print command from the Control Panel of Windows (the 
test page print), i do not get any error, i see the Linux box working 
for a while, but no output.

If i go to a terminal window on my Linux box :

[antonio at PC233 antonio]$ smbclient //PC233/epson
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.254.2 bcast=192.168.254.255 nmask=255.255.255.0
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a]
smb: \>
and then use print any text file, i get the printer operating.

Furtermore, if I click on the epson icon on the Windows shares of  my 
Linux box I get that I cannot connect to my epson printer...

Any suggestion???

TNX

Antonio

-- 


==============================================
Written with  Mozilla 1.4 on Linux RedHat 9
==============================================




-- 


 ==============================================
 Written with  Mozilla 1.4 on Linux RedHat 9
 ==============================================





More information about the samba mailing list