[net.text] Laserjet ditroff driver available

ron@ron1.UUCP (Ron Saad) (08/09/85)

Hello there...

	I have a ditroff driver for a HP-Laserjet that I hacked up. It
uses the Times-Roman cartridge on the HP for the R, I, and B fonts in
10 point, and for anything else it dumps out raster maps to the HP. It
can use the fonts in /usr/lib/vfont, or the ones that come with DWB in
../devi10/rasti10. The fonts in rasti10 look much better than the ones
in vfont (they seem too small - were they intended for 240 dpi instead
of 300?), but they need additional code tables which I haven't added
yet. These are not hard to generate, and once I do, they will be made
available too. Right now it just uses vfont and cheats by using a file
of a larger point size than requested.

	Since vfont has bit maps for all the greek and math symbols, it
handles these also, and can generate decent (not spectacular, but very
nice) output for the first few pages of 'A System for Typesetting
Mathematics' (Kernighan & Cherry). I was too lazy to test the whole
paper. It also seems to do decent work on vgrind output (except for the
slashes - they are positioned wrong - will have to fix this someday).

	If you are interested in this code, send me mail. If there are
many requests, I will try to post to the net.

P.S. - The Laserjet needs an 8 bit raw line, and also wants to do ^S/^Q
on it as well. Since I couldn't figure out how to do this on my 4.2
system, I have printcap open the file in 8 bit raw, and I have a small
filter that does the ^S/^Q handshaking with the Laserjet. If anyone
knows a better way, please let me know. If anyone wants the code, let
me know that too ...

-- 
------------the opinions expressed above etc. etc.  --------------

					Ron Saad  (4Z4UY)
					Sys Adm -  Center for Advanced
					Technology in Telecommunications
					Polytechnic Institute of New York

UUCP:	...{ihnp4,seismo}!{philabs,cmcl2}!ron1!ron
MAIL:	333 Jay St. Brooklyn, N.Y. 11201
PHONE:	(718) 643-7303