Skipped content of type multipart/alternative-------------- next part -------------- # #======================= Global Settings ====================================[global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = WXPGRP # server string is the equivalent of the NT Description field server string = Samba Server printcap name = /etc/printcap load printers = yes printing = lprng log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes dns proxy = no #============================ Share Definitions =============================[homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [printers] comment = All Printers path = /var/spool/samba browseable = yes # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes
Hi, I had exactly the same problem as you last week. So maybe it's the same solution? I could see the printer from Win XP, but when I printed nothing happened. What gave me the clue for solving the problem is when I tried to print a test page from Windows XP; it said "Access Denied" (but the other applications would apparently print just fine, no error messages, but nothing came out of the printer). I solved this by giving rwx right to everybody for my spool directory. Actually, I didn't use /var/spool/samba but the one created when I installed my printer under Linux. In my case: /var/spool/lpd/Brother_HL-1650. When I gave rwx permissions to /Brother_HL-1650 then it worked perfectly. Hope that this helps! Jean-Francois Pelletier Le mar 03/12/2002 ? 13:31, Yousef I. Adan a ?crit :> I am facing a little problem with printing. > Linux Box RH 8.0 Samba 2.2.7. Everything was OK. Dunno what I did. Now, eventhough I can see the printer share and connect to it from my WXP PRO, when I send a print, nothing happens. Even If I watch the queue from the WXP, I can see that nothing is going thru this port. Where is the file going? If I check the printer properties (ports), it seems that this particular printer is not point to anywhere. I don't even know whether the problem is from the XP side or Linux side. I know that the printer is configured properly on the Linux and is printing from there. I am attaching my SMB.conf as it's now. I am not a Linux expert. Just starting, so don't take for granted that I checked the easiest parts even. Thanks in advance. > > Yousef > > > > > > > > ---- >> # > #======================= Global Settings ====================================> [global] > > # workgroup = NT-Domain-Name or Workgroup-Name > workgroup = WXPGRP > > # server string is the equivalent of the NT Description field > server string = Samba Server > > printcap name = /etc/printcap > load printers = yes > > printing = lprng > > log file = /var/log/samba/%m.log > > max log size = 0 > > security = user > > encrypt passwords = yes > smb passwd file = /etc/samba/smbpasswd > > unix password sync = Yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* > > pam password change = yes > > obey pam restrictions = yes > > > > dns proxy = no > > > #============================ Share Definitions =============================> [homes] > comment = Home Directories > browseable = no > writable = yes > valid users = %S > create mode = 0664 > directory mode = 0775 > > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = yes > # Set public = yes to allow user 'guest account' to print > guest ok = no > writable = no > printable = yes > > >
To which queue are the print jobs being sent from the window's client. Post your smb.conf and printcap files. Joel On Tue, Dec 03, 2002 at 05:20:26PM +0400, Yousef I. Adan wrote:> On the Linux side I am selecting text only or raw when creating the printer > and in both cases it is printing(locally). The printer is an HP laserjet 6L > and doesn't support PS. > > >From the Win XP,I just grab the printer and say connect and load the proper > driver. When I check (now) the print processor is showing raw but I normally > don't select at this level. > > Now, on the linux side when I run LPQ, there is s some thing like Error > Aborting Operations, coming from root@localhost+697. I don't know what that > means. > > The thing used to work easily without any meddling from my side, by just > creating, restarting SMB and picking it up from the Win xp side, thru the > samba shares. > > Thanks. > > Yousef > > > ----- Original Message ----- > From: "Joel Hammer" <Joel@HammersHome.com> > To: "Yousef I. Adan" <yousef@emirates.net.ae>; <sed-users@yahoogroups.com> > Sent: Tuesday, December 03, 2002 4:32 PM > Subject: Re: [Samba] printing and other questions > > > > Which queue are you sending your print jobs to from the windows client? It > > needs to be a raw queue without a filter. > > > > Joel > > > > On Tue, Dec 03, 2002 at 10:31:44AM +0400, Yousef I. Adan wrote: > > > I am facing a little problem with printing. > > > Linux Box RH 8.0 Samba 2.2.7. Everything was OK. Dunno what I did. Now, > eventhough I can see the printer share and connect to it from my WXP PRO, > when I send a print, nothing happens. Even If I watch the queue from the > WXP, I can see that nothing is going thru this port. Where is the file > going? If I check the printer properties (ports), it seems that this > particular printer is not point to anywhere. I don't even know whether the > problem is from the XP side or Linux side. I know that the printer is > configured properly on the Linux and is printing from there. I am attaching > my SMB.conf as it's now. I am not a Linux expert. Just starting, so don't > take for granted that I checked the easiest parts even. Thanks in advance. > > > > > > Yousef > > > > > > > > > > > > > > > > > > > > > > > > > > # > > > #======================= Global Settings > ====================================> > > [global] > > > > > > # workgroup = NT-Domain-Name or Workgroup-Name > > > workgroup = WXPGRP > > > > > > # server string is the equivalent of the NT Description field > > > server string = Samba Server > > > > > > printcap name = /etc/printcap > > > load printers = yes > > > > > > printing = lprng > > > > > > log file = /var/log/samba/%m.log > > > > > > max log size = 0 > > > > > > security = user > > > > > > encrypt passwords = yes > > > smb passwd file = /etc/samba/smbpasswd > > > > > > unix password sync = Yes > > > passwd program = /usr/bin/passwd %u > > > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > > > > > > pam password change = yes > > > > > > obey pam restrictions = yes > > > > > > > > > > > > dns proxy = no > > > > > > > > > #============================ Share Definitions > =============================> > > [homes] > > > comment = Home Directories > > > browseable = no > > > writable = yes > > > valid users = %S > > > create mode = 0664 > > > directory mode = 0775 > > > > > > > > > [printers] > > > comment = All Printers > > > path = /var/spool/samba > > > browseable = yes > > > # Set public = yes to allow user 'guest account' to print > > > guest ok = no > > > writable = no > > > printable = yes > > > > > > > > > > > >