Amanda-Users

Re: no printer defined

2003-04-17 10:32:57
Subject: Re: no printer defined
From: WR <amanda-user AT planetofidiots DOT com>
To: Wayne Richards <wrichards AT goodyear DOT com>
Date: Thu, 17 Apr 2003 06:02:24 -0700
I ran the following as both amanda and root:

# export PRINTER="lpd"
# export LPDEST="lpd"

and commented out the printer spec in amanda.conf

amcheck still errors with
ERROR: lbl_templ set but no printer defined


On Thursday 17 April 2003 04:55 am, you wrote:
> Have you set a default printer for the system?  If you haven't, try that
> and no printer statement is needed.
>
> Or if you want to set a default printer for the backup user you can set
> LPDEST=lpr
> or
> PRINTER=lpr
> provided that's a defined printer name and again you'll need no printer
> definition in the conf file.
>
> Wayne
>
> > 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




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