9fans archive / 2001 / 02 / 392 /    prev next

From: William Staniewicz <wstan@loc...>
Subject: [9fans] troff to PDF
Date: Tue, 20 Feb 2001 11:14:49 -0500

Is there a cleaner/more direct way of going from a troff to
PDF document? I have it figured out as the following 2 step
process:

	troff -mm file.txt | lp -dstdout > file.ps

then,

	gs -s'DEVICE=pdfwrite' -s'OutputFile=file.pdf' -r600 -dBATCH -dQUIET -dNOPAUSE file.ps

		-Bill