[WBEL-users] Samba and Printing

Michael Falzon nozy@mozysswamp.org
Tue, 27 Apr 2004 12:50:01 +1000


--=-gpj0gBH3KHLN0ddJe9zY
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Jason 
                Try this 

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes
# added by nozy
# preexec = csh -c 'echo \"Your job destined for printer %S has been
received by %L \" | \/usr/bin/smbclient -M %m -I %I' &   
# add by nozy
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
# added by nozy
#this is need to stop the "Access Denied; Unable to connect"
    use client driver = Yes



On Tue, 2004-04-27 at 12:34, Jason Fahr wrote:

>     I need help with printing from an windows 2000 computer to my WBEL 
> computer. I set up samba and can see the share folders and printer from 
> the windows 2000 computer but cannot seem to print to the printer. Here 
> is what my smb.conf has set:
> # NOTE: If you have a BSD-style print system there is no need to
> # specifically define each individual printer
> [printers]
>     comment = All Printers
>     path = /var/spool/samba
>     printer name = raw
>     browseable = yes
> # Set public = yes to allow user 'guest account' to print
>     printable = yes
>     guest ok = yes
>     printer admin = @users
> 
> The printer is an Epson Stylus Photo 820
> 
> Thanks,
> Jason Fahr
> jfahr@direcway.com
>  
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users

"Programming, an art form that fights back." 

Michael Falzon (RHCT) 
Mozy's Swamp BBs & Red Dwarf BBs
http://mozysswamp.org
Registered LFS User   #406
Registered Linux User #204397

--=-gpj0gBH3KHLN0ddJe9zY
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
Hi Jason <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try this <BR>
<BR>
[printers]<BR>
&nbsp;&nbsp; comment = All Printers<BR>
&nbsp;&nbsp; path = /var/spool/samba<BR>
&nbsp;&nbsp; browseable = no<BR>
# Set public = yes to allow user 'guest account' to print<BR>
&nbsp;&nbsp; guest ok = no<BR>
&nbsp;&nbsp; writable = no<BR>
&nbsp;&nbsp; printable = yes<BR>
# added by nozy<BR>
# preexec = csh -c 'echo \&quot;Your job destined for printer %S has been received by %L \&quot; | \/usr/bin/smbclient -M %m -I %I' &amp;&nbsp;&nbsp; <BR>
# add by nozy<BR>
print command = lpr -P %p -o raw %s -r<BR>
lpq command = lpstat -o %p<BR>
lprm command = cancel %p-%j<BR>
# added by nozy<BR>
#this is need to stop the &quot;Access Denied; Unable to connect&quot;<BR>
&nbsp;&nbsp;&nbsp; use client driver = Yes<BR>
<BR>
<BR>
<BR>
On Tue, 2004-04-27 at 12:34, Jason Fahr wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>    I need help with printing from an windows 2000 computer to my WBEL 
computer. I set up samba and can see the share folders and printer from 
the windows 2000 computer but cannot seem to print to the printer. Here 
is what my smb.conf has set:
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
    comment = All Printers
    path = /var/spool/samba
    printer name = raw
    browseable = yes
# Set public = yes to allow user 'guest account' to print
    printable = yes
    guest ok = yes
    printer admin = @users

The printer is an Epson Stylus Photo 820

Thanks,
Jason Fahr
jfahr@direcway.com
 
_______________________________________________
Whitebox-users mailing list
Whitebox-users@beau.org</FONT>
<A HREF="http://beau.org/mailman/listinfo/whitebox-users"><U>http://beau.org/mailman/listinfo/whitebox-users</U></I></A></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
&quot;Programming, an art form that fights back.&quot; 
<PRE>Michael Falzon (RHCT) 
Mozy's Swamp BBs &amp; Red Dwarf BBs
http://mozysswamp.org
Registered LFS User   #406
Registered Linux User #204397</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-gpj0gBH3KHLN0ddJe9zY--