What are the appropriate permissions for the spool dir? Im interested in
allowing any person on the network to print to a SAMBA printer regardless if
they have a linux account or not?
Mike
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Patrick Marquetecken
Sent: Thursday, February 20, 2003 11:57 AM
To: Psyche redhat
Subject: Re: samba printer & CUPS (was Re: redhat-config-printer: I
can'tconfigure a working printer!)
i believe that the print job can not be written in the spool dir. Not enough
privileges.
Patrick
Op do 20-02-2003, om 17:37 schreef Thomas Robinson:
> Thanks to every body for their input. I've switched over to CUPS and
> got at least one of my printers working (the local one). That was too
> easy. For some reason redhat-config-printer will not work on my
> system.
>
> New Question. Does anyone know how to get a samba printer working on
> cups? /etc/samba/smb.conf has:
>
>printcap name = cups
>load printers = yes
>printing = cups
>
> # service smb restart
>
> Here's what cups reports about the printer status:
>
> Description: HP2000C
> Location: HADES
> Printer State: idle, accepting jobs.
> Device URI: smb://HADES/HP2000C
>
> When I try and print a test page I get:
>
> Forbidden
> You don't have permission to access the resource on this server.
>
> Any clues?
>
> Thanks,
>
> t.
>
> On Wed, 2003-02-19 at 19:55, Craig White wrote:
> > On Wed, 2003-02-19 at 05:29, Thomas Robinson wrote:
> > > On Tue, 2003-02-18 at 15:36, Craig White wrote:
> > > > On Tue, 2003-02-18 at 07:32, Thomas Robinson wrote:
> > > > > On Tue, 2003-02-18 at 14:02, Tim Waugh wrote:
> > > > > > On Tue, Feb 18, 2003 at 01:22:02PM +, Thomas Robinson
> > > > > > wrote:
> > > > > >
> > > > > > > Hmmm...I just looked in /var/spool/lpd/hplj4 and found the
> > > > > > > lpq.0 file: there is an error message in there:
> > > > > > >
> > > > > > > ---8<---
> > > > > > > Status: IF filter 'mf_wrapper' filter msg - 'error closing
> > > > > > > *main::STDOUT at /usr/sbin/lpdomatic line 812,
> > > > > > > line 672.' at 13:02:58.929
> > > > > > > ---8<---
> > > > > >
> > > > -
> > > > This is from my /etc/printcap...also an HP LaserJet 4
> > > >
> > > > lp|felix:\
> > > > :ml#0:\
> > > > :mx#0:\
> > > > :sd=/var/spool/lpd/lp:\
> > > > :af=/var/spool/lpd/lp/lp.acct:\
> > > > :sh:\
> > > > :lp=/dev/lp0:\
> > > > :lpd_bounce=true:\
> > > > :if=/usr/share/printconf/util/mf_wrapper:
> > > >
> > > > and ls -al /var/spool/lpd/lp
> > > > drwx--2 lp lp 4096 Feb 16 20:35 .
> > > > drwxr-xr-x4 root root 4096 Jun 1 2000 ..
> > > > -rw---1 lp lp 33117 Oct 25 2001 acct
> > > > -rw---1 lp lp147 May 16 2002
> > > > cfA622barney.azapple.com
> > > > -rw---1 lp lp 0 May 27 2001 control.lp
> > > > -rw---1 lp lp 0 May 15 2002 control.pr
> > > > -rw---1 lp lp 42122 May 16 2002
> > > > dfA622barney.azapple.com
> > > > -rw---1 lp lp515 May 16 2002 hfA622
> > > > -rw---1 lp lp 0 Feb 18 08:25 lock.pr
> > > > -rw---1 lp lp 0 May 27 2001 log
> > > > -rw---1 lp lp 0 May 15 2002 lp
> > > > -rw---1 lp lp 160449 Feb 16 20:30 lp.acct
> > > > -rw---1 lp lp 3141 Feb 16 00:26 lpq.0
> > > > -rw---1 lp lp688 Oct 2 23:49 mf.cfg
> > > > -rw---1 lp lp 17475 Oct 2 23:49
> > > > Postscript-69120.foo
> > > > -rw---1 lp lp 0 May 27 2001 status
> > > > -rw---1 lp lp 1036 May 15 2002 status.lp
> > > > -rw---1 lp lp 6861 Feb 16 20:35 status.pr
> > > > -rw---1 lp lp 6 May 15 2002 unspooler.lp
> > > > -rw---1 lp lp 6 Feb 16 20:30 unspooler.pr
> > > > -rw---1 lp lp483 Oct 2 23:49 VOLATILE
> > > >
> > > > HTH
> > > >
> > > > Craig
> > >
> > > Craig,
> > >
> > > My set-up looks like yours; all except the name/alias of the
> > > printer. You say yours works fine? Is there something else I'm
> > > missing? I still get the error message in lpq.0 when I print. Can
> > > you check your lpq.0 output by chance?
> > >
> > --
> > cat /var/spool/lpd/lp/lpq.0
> > Printer: lp@barney 'felix'
> > Queue: no printable jobs in queue
> > Server: no server active
> > Status: subserver pid 16556 exit status 'JSUCC' at 11:48:50.840
> > Status: [EMAIL PROTECTED]: job 'craig@linuxserver+854' printed
> > at 11:48:50.841
> > Status: job 'craig@linuxserver+854' saved at 11:48:50.842
> > Status: job 'craig@linuxserver+854' removed at 11:54:46.855
> > Status: waiting for subserver to exit at 17:57:50.745
> >