Scroll to navigation

TEXTPS(8) System Manager's Manual TEXTPS(8)


textps - text to PostScript filter
nscript - text to PostScript converter


textps [ -T[option[,option]*]* ] [ lpr filter options ] [ filename... ]

options: [ c=n ] [ l=n ] [ m=n ] [ t=n ] [ v=n ]

nscript [ -G ] [ -r ] [ -2 ] [ -t width ] [ -pfile ] [ -Pprinter ] [ filename... ]


textps is a simple text to PostScript filter. When invoked as nscript it (weakly) simulates the Adobe Systems Incorporated enscript program, converting text to PostScript and adding headers. textps is usually invoked automatically by a print spooler while nscript is usually invoked by a user. Input files can use ISO Latin-1. Two or more identical overstruck characters are rendered using a bold font. Tabs are assumed to be set every 8 character positions. textps is designed to produce good output with lpr -p or pr | lpr; if you print unpaginated text, you will need to increase the t option value and decrease the v or l option value.


Use n characters to the inch.
Use n lines per page.
Use a left margin of n points.
Position the baseline of the first line of text n points below the top of the page.
Use a vertical spacing of n points.

The default behaviour is -Tc=12,l=66,m=18,t=8,v=12.


By default, nscript will send the formatted output to lpr; the -P option can select the printer.

Gaudy output - a header and labels for the input files are placed on the output page.
rotated (landscape) output.
Set tab stop to width characters.
two column output.
send output to file.
spool output to printer using lpr.

Note: the combination nscript -2Gr is useful for viewing listings.


Original Author:

James Clark <>, used with with his permission; Modified by:
Patrick Powell <>


psrev(1), psfilter(1), psbanner(1)