diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-23 23:13:59 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-23 23:13:59 +0000 |
commit | 7601f1979736cd4364f7c1753a61ce9227ed6254 (patch) | |
tree | bae50e483f4112c45949c73f5c3f9d1223c685bf /usr.sbin/lpr | |
parent | b4076cebe0bc429b79277777bcfad38ea02aead0 (diff) |
It is not a reasonable default behavior to abort a printout because of its
size now that there's PostScript[tm].
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/common_source/lp.local.h | 4 | ||||
-rw-r--r-- | usr.sbin/lpr/lpr/lpr.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/lpr/common_source/lp.local.h b/usr.sbin/lpr/common_source/lp.local.h index ab124b54da1..3462749a524 100644 --- a/usr.sbin/lpr/common_source/lp.local.h +++ b/usr.sbin/lpr/common_source/lp.local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lp.local.h,v 1.2 1997/01/17 16:11:36 millert Exp $ */ +/* $OpenBSD: lp.local.h,v 1.3 1997/06/23 23:13:56 kstailey Exp $ */ /* * Copyright (c) 1983, 1993 @@ -45,7 +45,7 @@ #define DEFLP "lp" #define DEFLOCK "lock" #define DEFSTAT "status" -#define DEFMX 1000 +#define DEFMX 0 #define DEFMAXCOPIES 0 #define DEFFF "\f" #define DEFWIDTH 132 diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c index 4a71ca9c73f..75387447f54 100644 --- a/usr.sbin/lpr/lpr/lpr.c +++ b/usr.sbin/lpr/lpr/lpr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpr.c,v 1.14 1997/06/20 17:46:16 kstailey Exp $ */ +/* $OpenBSD: lpr.c,v 1.15 1997/06/23 23:13:58 kstailey Exp $ */ /* $NetBSD: lpr.c,v 1.10 1996/03/21 18:12:25 jtc Exp $ */ /* @@ -50,7 +50,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)lpr.c 8.4 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: lpr.c,v 1.14 1997/06/20 17:46:16 kstailey Exp $"; +static char rcsid[] = "$OpenBSD: lpr.c,v 1.15 1997/06/23 23:13:58 kstailey Exp $"; #endif #endif /* not lint */ @@ -443,12 +443,8 @@ copy(f, n) nc -= BUFSIZ; nr++; if (MX > 0 && nr > MX) { - /* XXX by now you have wasted a large amount of paper by printing half - * a PostScript file you fool! Can't this be evaluated earlier? - */ printf("%s: %s: copy file is too large\n", name, n); - printf("%s: %s: WARNING: I stupidly sent a bunch of stuff to the printer anyway\n", name, n); break; } } |