Hacking With MSCRIPT

See all articles from CATS v4 n1
Author(s): Mark Fisher
Publication: CATS Newsletter
Pub Details: CATS v4 n1 (Volume 4, Issue 1)
Date: April 1986
Pages: 11

I’ve always been a little jealous of word processors that can format output in two columns per page. Wordstar is a case in point. Many can’t; such as MacWrite. Good old MSCRIPT can, however (though not on the screen). I realized this as Sarah was telling me how the Wang word processor does the trick.

Since MSCRIPT has commands to put different page headings on even and odd pages, it is a simple matter to establish an Odd page Top heading (using )OT=prntr cmd) that sets the printer’s left margin at 000, and an Even page Top heading (using )ET=prntr cmd) that sets the left margin of the second column to halfway across the paper. The OT and ET commands add two line feeds to each page, so you may want to increase page length by two. If using single sheet paper, just reinsert the sheet for the second column.

If your printer supports it, it is even possible to insert commands to reverse the direction of the line feed, return to top of page (TOF), and resume printing. This works best with continuous feed paper. Watching the paper zigzag through the platen can be a little suprising! For the Prowriter, the commands are:

ESC-r            Reverses line feed
FF               Advance to Top Of Form
ESC-f            Set forward line feed
(and ESC-L040)   to set the new left margin.