[comp.sys.3b1] nroff with HPLJ III

cjp@beartrk.beartrack.com (CJ Pilzer) (02/08/91)

Finally, I have gotten my 7300 to nroff correctly to the HP Laserjet III.
The first thing was to get the operating system upgraded to 3.51.  The
files in the subdirectory /usr/lib/nterm are like those I have found in
another computer.  They are straight ascii files that can be edited, not
like the ones in version 3.50.  

The file to use with the Laserjet is tab.hpljr8 which is designated in the
command as follows:  "nroff -Thpljr8 -man filename | lp".  But the trouble
is that words designated to be in italic print come out underlined and
where they follow a bold character, the underline starts with no character
over it then along space is inserted before the word is printed. 

This problem can be cured by editing the file /usr/lib/nterm/tab.hpljr8.
Change the line that reads -- iton = "" -- to -- iton = "\033(s1sB" and
the line that reads -- itoff = "" -- to itoff = "\033(sS".  After these
changes, the text will come out with italic where it should rather than
underline and the long space will not appear.

-- cjp@ursaco.beartrack.com