[Samba] Problem with samba printer under Win2k
Joel at HammersHome.com
Thu May 29 01:10:24 GMT 2003
I am confused,now.
In your first post it seemed you were printing. Can you not print at all?
>From which machine is the printing failing?
There is no printing command given in your global section.
You have spool misspelled in your printer share.
Doesn't removing all those comments make this file easier to read?
On Wed, May 28, 2003 at 05:14:30PM +0200, gertian.brataj at riedmann.it wrote:
> On 28 May 2003 at 7:41, Joel Hammer wrote:
> > With lprng, you need to edit the file:
> > /etc/lpd.perms
> > Here is all I have in mine:
> > DEFAULT ACCEPT
> > Joel
> I try to make the changes, but it seems to have another problem, don't work at all.
> I recive this message when I try to print or to see the printer status with lpstat:
> get_local_host ´myhostname´ bad
> > On Wed, May 28, 2003 at 09:50:11AM +0200, gertian.brataj at riedmann.it wrote:
> > > I´m running Debian Linux 3.0 r1 with Samba 2.2.8a and I have got printing problems:
> > > --- when I print something the job don't appear in the window printing status, so I
> > > have no way to check the actual status of the job, or to delete the job from window
> > > printer status in Win2K.
> > > here is configurations file of smb.conf:
> > > [global]
> > > workgroup = Gertian
> > > log level = 99
> > > queuepause command = /usr/bin/lpc stop %p
> > > queueresume command = /usr/bin/lpc start %p
> > > lppause command = lp -I %p-%j -H hold
> > > lpresume command = lp -I %p-%j -H
> > > lprm command = /usr/bin/cancel %p-%j
> > > lpq command = /usr/bin/lpq -P%p -l
> > > printing = lprng
> > > server string = %h server (Samba %v)
> > > load printers = yes
> > > printcap name = /etc/printcap
> > > printer admin = gertian wolfgang
> > > hosts allow = 192.168.1.111
> > > invalid users = root
> > > log file = /var/log/samba/log.%m
> > > max log size = 1000
> > > syslog = 0
> > > encrypt passwords = true
> > > socket options = TCP_NODELAY
> > > dns proxy = no
> > > passwd program = /usr/bin/passwd %u
> > > passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> > > *Retype\snew\sUNIX\spassword:* %n\n .
> > > obey pam restrictions = yes
> > > [homes]
> > > comment = Home Directories
> > > browseable = no
> > > writable = no
> > > create mask = 0700
> > > directory mask = 0700
> > > [sharing]
> > > comment = docs sharing
> > > path = /usr/local/src
> > > browseable = yes
> > > writable = yes
> > > directory mask = 0777
> > > guest account = nobody
> > > guest only = true
> > > [printers]
> > > comment = All printer
> > > browseable = yes
> > > path = /var/spoll/lpd/lp
> > > printable = yes
> > > public = yes
> > > create mode = 0700
More information about the samba