Troff, landscape mode, and IMAGEN printers

mike%brl-vgr at sri-unix.UUCP mike%brl-vgr at sri-unix.UUCP
Fri Mar 9 15:39:15 AEST 1984


From:      Mike Muuss <mike at brl-vgr>

I don't see what all the fuss about old TROFF is.
In order to typeset 12inch wide output, instead of 7.5,
make the following change to /usr/src/usr.bin/troff/t10.c:

At line 281, change:

		if(((j = (esct + i*(1-2*escm))) > (46*72+18-T_IESC)) ||

to:

		/*
		 * the magic number in the next line is
		 * # of inches max line length * #picas/inch *#bu's/pica
		 */
		if(((j = (esct + i*(1-2*escm))) > (12*6*72+18-T_IESC)) ||

This will widen your output from 7.66 inches (46/6) to 12 inches.
Presto!

Best,
 -Mike Muuss
  Advanced Computer Systems Team
  U. S. Army Ballistic Research Laboratory



More information about the Comp.unix.wizards mailing list