samba printing
Joel Hammer
Joel at HammersHome.com
Fri Dec 14 11:45:02 GMT 2001
Yes, but I am using windows 98.
Is DEFAULT ACCEPT the only line in lpd.perms?
On Fri, Dec 14, 2001 at 10:02:18AM -0800, dominique at linuxwon.org wrote:
> Joel,
>
> Thanks so much for the response. I have made change per you instructions, the DEFAULT is set to ACCEPT in lpd.perms. I still cannot see the queue on NT. I looked at the lpd.conf and lpd.perms, there are probably some settings that need to be changed but don't know which. Is your queue showing on windows and Linux?
>
> Thanks.
>
> On Thu, 13 December 2001, Joel Hammer wrote:
>
> >
> > I take it things are printing ok.
> > As I recall, RH 7.1 uses lprng, yes? Samba may not specify lprng as the
> > default. Better check that out.
> > Just taking some wild shots here:
> > There may be a problem with the command that samba is using for showing the
> > queue. Or, maybe something odd in lpd.perms.
> > I would try making lpd.perms have only this one line:
> > DEFAULT ACCEPT
> > Bad security, but good for troubleshooting.
> > Here is the setup I have for a printer hanging off a linux box with samba:
> > path = /tmp
> > create mask = 0700
> > guest ok = Yes
> > hosts allow = 192.168.
> > printable = Yes
> > printing = lprng
> > print command = echo %J %p %s >> /tmp/junkJ;\
> > a="`echo '%J' | sed "s/^.*- //"`" ;\
> > echo This is truncated $a >> /tmp/junkJ;\
> > /usr/bin/lpr -Plp -J"$a" %s;\
> > rm %s
> > lpq command = /usr/bin/lpq -Plp
> > lprm command = /usr/bin/lprm -Plp %j
:> > lppause command = /usr/sbin/lpc hold -Plp %j
> > lpresume command = /usr/sbin/lpc release -Plp %j
> > The fancy print command allows the real file name to appear in the queueand
> > also removes the annoying Microsoft prefix with Word documents.
> > Joel
> >
> >
> > On Thu, Dec 13, 2001 at 01:24:01PM -0800, dominique at linuxwon.org wrote:
> > > Hi,
> > >
> > > I am desperate for some help with samba printing. I would truly appreciate any light
> > > you could shed into this turmoil.
> > > I have samba running on RH 7.1. I have configured my printers with the printtool
> > > with their respective drivers.
> > > I installed the samba printers on my NT workstations. When a user sends a print
> > > job to a printer, the job does not show in the printer icon on the NT WKS. It can
> > > be seen on the Linux box with the lpq -P devicename command. If I configure a port
> > > on the printer properties on NT than I can see the queue in the NT printer icon but
> > > not on Linux. Is is possible to see the queue in both places? We cannot configure
> > > a port for each user because we want the admin group to control the print jobs.
> > >
> > > Thanks you so much in advance.
> > >
> > > Dominique
> > >
> > >
> > >
> > >
> > > --
> > > 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