:: Re: [DNG] Printing -- now a permiss…
Top Pagina
Delete this message
Reply to this message
Auteur: Hendrik Boom
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Printing -- now a permissions problem
On Mon, Oct 19, 2015 at 02:49:47PM -0400, Hendrik Boom wrote:
> On Mon, Oct 19, 2015 at 07:04:20PM +0100, Rainer Weikusat wrote:


> >
> > Adjusting the permission accordingly, ie, make lpr owned by root and
> > setuid 0 and the spool directory owned and writable by lp may work. Or
> > possibly not as the Brother drivers are (AFAIK) intended to be used with
> > lprng and not the BSD lpr. In this case, you could try switching to
> > lprng.
>
> Did that. Now I'm noo longer getting the permissions error.

i.e., I installed lprng, removing lpr.

>
> But the job isn't getting to the printer either, and there seems to be
> problem finding it in the queue.
>
> root@notlookedfor:/home/hendrik# /usr/bin/lpr -h -PHL3170CDW Documents/math/Librationism=1407.3877v3.ps
> root@notlookedfor:/home/hendrik# lpq
> Printer: HL3170CDW@notlookedfor (dest 515@172.25.1.122)
>  Queue: no printable jobs in queue
>  Server: no server active
>  Status: job 'root@notlookedfor+929' saved at 14:32:41.255
>  Rank   Owner/ID               Pr/Class Job Files                 Size Time
> error  root@notlookedfor+929        A   929 ERROR: Mystery error from Send_job
> Printer Name: 515
> Jobs: No Jobs in Queue
> root@notlookedfor:/home/hendrik# 


I'm a little puzzled about Printer Name: 515.
I thought it was HL3170CDW or 515@172.25.1.122.

-- hendrik

>
> Is Send_job the thing that sends the job to the queue or to the
> printer?
>
> -- hendrik