Amanda-Users

Re: no printer defined

2003-04-17 11:38:33
Subject: Re: no printer defined
From: Jean-Louis Martineau <martinea AT IRO.UMontreal DOT CA>
To: WR <amanda-user AT planetofidiots DOT com>
Date: Thu, 17 Apr 2003 09:57:10 -0400
Hi Moritz,

The "lpr" command must be find by configure.
You should reconfigure amanda and make sure it find the 'lpr' (lp) command.

Jean-Louis

On Thu, Apr 17, 2003 at 06:02:24AM -0700, WR wrote:
> 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
> 
> 

-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

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