Amanda-Users

Re: no printer defined

2003-04-17 07:46:20
Subject: Re: no printer defined
From: WR <amanda-user AT planetofidiots DOT com>
To: gene.heskett AT verizon DOT net
Date: Thu, 17 Apr 2003 03:07:17 -0700
On Thursday 17 April 2003 02:36 am, you wrote:
> On Thu April 17 2003 03:06, WR wrote:
> >Hi all,
> >
> >I'm having trouble getting amanda to address a printer. I can
> > print using
> >
> ># amreport dailySet -l log.file.0 -f /dev/usb/lp0
> >
> >which produces the email-style report, but I'm trying to use the
> > tapetype option to create labels after each dump:
> >
> >lbl_templ "/path/to/3hole.ps"
> >
> >(within the braces) while also defining the printer with
> >
> >printer "/dev/usb/lp0"
> >
> >(outside of the braces) which produces an error on amcheck
> > claiming that the printer is undefined.
> >
> >I've also tried
> >
> >printer "lpr"
> >printer "820" # cups printer name
> >
> >and neither worked.
> >
> >Thanks for any assistance!
> >WR
>
> Make sure 'amanda' has rights to print.

Amanda is in the lp group, and running

# echo 'testprint' | lpr 

as user amanda works.

 

<Prev in Thread] Current Thread [Next in Thread>