Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/groff Document what BROKEN_SPOOLER_FLAGS 'add 16...



details:   https://anonhg.NetBSD.org/src/rev/c8b259326288
branches:  trunk
changeset: 558045:c8b259326288
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jan 27 01:00:09 2004 +0000

description:
Document what BROKEN_SPOOLER_FLAGS 'add 16' is for, and add it to the
default broken flags.  groff 1.19 defaulted to this value off, whereas
groff 1.18.1 and earlier defaulted to this being on.  Setting this value
fixes postscript printing to my HP LJ4m.
Note: BROKEN_SPOOLER_FLAGS was previously `7', so we were already enabling
workarounds for other issues...

diffstat:

 gnu/usr.bin/groff/Makefile.inc |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r f724f137bdaa -r c8b259326288 gnu/usr.bin/groff/Makefile.inc
--- a/gnu/usr.bin/groff/Makefile.inc    Mon Jan 26 21:59:42 2004 +0000
+++ b/gnu/usr.bin/groff/Makefile.inc    Tue Jan 27 01:00:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2003/10/28 02:51:56 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.12 2004/01/27 01:00:09 lukem Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/Makefile.inc,v 2.7 2003/05/01 13:22:18 ru Exp $
 
@@ -17,21 +17,32 @@
 # make its output acceptable to such programs.  This variable controls
 # only the default behaviour of grops; the behaviour can be changed at
 # runtime by the grops -b option (and so by groff -P-b).
+#
 # Use a value of 0 if your spoolers and previewers are able to handle
 # conforming PostScript correctly.
+#
 # Add 1 if no %%{Begin,End}DocumentSetup comments should be generated;
 # this is needed for early versions of TranScript that get confused by
 # anything between the %%EndProlog line and the first %%Page: comment.
+#
 # Add 2 if lines in included files beginning with %! should be
 # stripped out; this is needed for the OpenWindows 2.0 pageview previewer.
+#
 # Add 4 if %%Page, %%Trailer and %%EndProlog comments should be
 # stripped out of included files; this is needed for spoolers that
 # don't understand the %%{Begin,End}Document comments. I suspect this
 # includes early versions of TranScript.
+#
 # Add 8 if the first line of the PostScript output should be %!PS-Adobe-2.0
 # rather than %!PS-Adobe-3.0; this is needed when using Sun's Newsprint
 # with a printer that requires page reversal.
-BROKEN_SPOOLER_FLAGS=7
+#
+# Add 16 if no media size information should be used in the document
+# (don't use %%DocumentMedia and don't use the set-pagedevice PostScript
+# command).  This was the default in groff 1.18.1 and earlier and is needed
+# for older printers which don't understand PostScript LanguageLevel 2.
+#
+BROKEN_SPOOLER_FLAGS=23
 
 # DEVICE is the default device.
 DEVICE=ps



Home | Main Index | Thread Index | Old Index