HI,

I committed the attached patch.

Jean-Louis

On 06/27/2013 07:40 AM, Jean-Louis Martineau wrote:
What is in the 'invoking printer' line in the amreport debug file?
Do you checked that LPRFLAG is set to "-P" in the installed Constants.pm file, A recompilation can reinstall the broken one.

Jean-Louis

On 06/26/2013 10:41 PM, Gene Heskett wrote:
On Wednesday 26 June 2013 22:40:09 Gene Heskett did opine:

On Wednesday 26 June 2013 12:26:02 Jean-Louis Martineau did opine:
On 06/26/2013 10:32 AM, Gene Heskett wrote:
On Wednesday 26 June 2013 10:25:44 Jean-Louis Martineau did opine:
Gene, Steve,

What is the values of LPRFLAG in ..../Amanda/Constants.pm
$LPR is /usr/bin/lpr
$LPRFLAG is an empty "" here, but is now "-PBROTHEHL2140" which is
how cups knows it, as does lpr.
I think my email was clear, set it to "-P"

I did, now the epson has 4 jobs queued.  IOW no diff.

Amanda append the PRINTER setting.

Reinstall in progress.  But how do I make this part of my .configure
driver?
The bug is that LPRFLAG is not correctly set, if you confirm it works
then I will make a patch.
Ok, reset and reinstalled, but not reconfigured first.

How about my other question?  Where have the alpha's been moved to?

Jean-Louis

And where have the 'alpha' downloads been moved to?

Set it to "-P" if you are using lpr and set it to "-d" if you are
using lp (see LPR in the same file).

      $LPRFLAG = "-P";

or $LPRFLAG = "-d";

Jean-Louis

On 06/25/2013 12:18 PM, Steven Backus wrote:
Gene writes:
root@coyote:/home/amanda # amgetconf Daily printer
Yet another "me too" post:

amgetconf gen printer
SteveLaser

yet it comes out on ColorLaser.

Steve
Cheers, Gene
Cheers, Gene

Cheers, Gene


diff --git a/config/amanda/progs.m4 b/config/amanda/progs.m4
index 31e7007..40c9ef1 100644
--- a/config/amanda/progs.m4
+++ b/config/amanda/progs.m4
@@ -150,7 +150,9 @@ AC_DEFUN([AMANDA_PROG_LPR],
 		lp|*/lp) amanda_cv_printer_flag="-d";;
 	    esac
 	])
-	if test -z "$amanda_cv_printer_flag"; then
+	if test ! -z "$amanda_cv_printer_flag"; then
+	    LPRFLAG=$amanda_cv_printer_flag
+	else
 	    AMANDA_MSG_WARN([WARNING: amanda will always print to the default printer])
 	fi
     fi

Reply via email to