TEXTPS(8)
π TEXTPS(8) π
okay bestie, sit DOWN, because today we're learning about the System Manager's Manual entry for the cutest little text-to-PostScript situation ever π
β¨ NAME β¨
textpsβ text to PostScript filter πnscriptβ text to PostScript converter π¦
β¨ SYNOPSIS β¨
options: [ c=n ] [ l=n ] [ m=n ] [ t=n ] [ v=n ]
nscript [ -G ] [ -r ] [ -2 ] [ -t width ] [ -pfile ] [ -Pprinter ] [
filename... ]
like. look at her. so much range. π
β¨ DESCRIPTION β¨
textps is a simple text to PostScript filter, fr fr, no notes. But here's the plot twist: when you invoke it as nscript, it (weakly) simulates the Adobe Systems Incorporated enscript program β converting text to PostScript AND adding headers. iconic behaviour honestly.
So who runs who? textps is usually invoked automatically by a print spooler, while nscript is usually invoked by a user. bestie energy: one of them has a job, the other one is you at 2am. π
Input files can use ISO Latin-1. Two or more identical overstruck characters get rendered using a bold font β ate that. Tabs are assumed to be set every 8 character positions.
textps is designed to produce good output with lpr -p or pr | lpr. And listen: if you print unpaginated text, you will need to increase the t option value and decrease the v or l option value. not a suggestion, that's just how it is π
β¨ TEXTPS OPTIONS β¨
c=nβ Use n characters to the inch.l=nβ Use n lines per page.m=nβ Use a left margin of n points.t=nβ Position the baseline of the first line of text n points below the top of the page.v=nβ Use a vertical spacing of n points.
The default behaviour is -Tc=12,l=66,m=18,t=8,v=12. that's the whole vibe, memorise it π«Ά
β¨ NSCRIPT OPTIONS β¨
By default, nscript will send the formatted output to lpr β and the -P option can select the printer. so flexible, we love her πΈ
-Gβ Gaudy output β¨ a header and labels for the input files are placed on the output page. (yes it's literally called gaudy. embrace it. π)-rβ rotated (landscape) output.-twidthβ Set tab stop to width characters.-2β two column output.-pfileβ send output to file.-Pprinterβ spool output to printer usinglpr.
Note: the combination nscript -2Gr is useful for viewing listings. lowkey the power combo, iykyk π
β¨ AUTHORS β¨
- Original Author:
- James Clark
<jj@jclark.com>, used with with his permission; π
- James Clark
- Modified by:
- Patrick Powell
<papowell@sdsu.edu>
- Patrick Powell
(ok yes we are keeping the double "with with" exactly as written, character for character, because that is what the page says and i am nothing if not faithful π)
β¨ SEE ALSO β¨
psrev(1)psfilter(1)psbanner(1)
and that's the whole page, bestie π¦ this one came to you from the System Manager's Manual, version 3.5.20, and it lives under TEXTPS(8) forever and ever. go forth, print things, slay π
β¨π
π¦ where this page comes from
- debian trixie: ifhp 3.5.20-20
- ubuntu jammy: ifhp 3.5.20-17
- ubuntu noble: ifhp 3.5.20-20
- ubuntu questing: ifhp 3.5.20-20
- ubuntu resolute: ifhp 3.5.20-22
- ubuntu stonking: ifhp 3.5.20+dfsg-1ubuntu1 Β· Artistic-1.0-Perl OR GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms