Passthrough Printing

git at bmts.com git at bmts.com
Thu Apr 26 09:54:06 GMT 2001


The Samba pinter spool directory has to be
writable by the user. In your case, this is
/var/spool/lpd/lp   

You may (should?) want to create a spool directory
reserved for samba and make it user writable (or
if your security is tight, make writable by a
samba group and modiy groups/users accordingly)
/var/spool/samba  

Note: the Samba spool directory is not the same as
the LPD spoo directory.

Hope this helps, Appologies if I've made any
errors.



> I have a samba network setup and am trying to
print to an epson 3000 local
> to the samba server from windows clients. LPRNG
allows windoze drivers to be
> used to print unfiltered (raw) to the linux
printer. I have the Epson setup
> as a generic raw print device with the following
printcap:
> 
> lp:\
>     :rw:wh:\
>     :lp=/dev/lp0:\
>     :sd=/var/spool/lpd/raw:\
>     :fx=flp:\
> 
> The smb.conf section for printers is:
> 
> [printers]
>  comment = All Printers
>  path = /var/spool/lpd/lp
>  printable = yes
>  public = yes
>  browseable = no
>  writeable = no
>  create mode = 0777
> 
> [lp]
>  printable = yes
>  print command = lpr -b -P %p %s
>  writeable = yes
>  public = yes
>  browseable = yes
> 
> All the directories/files in the path are set to
daemon/lp as user/group
> respectively.
> 
> Attempts to print result in "Failed To Open
File" error messages in the
> Epson Spooler. This occurs when printing to
spooler and direct to printer.
> If anyone has experienced
> this and knows where to look to correct I would
appreciate it.
> 
> MM
> 
> 
> 
> 
> 
> 
> -- 
> To unsubscribe from this list go to the
following URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba
> 


-






More information about the samba mailing list