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 using lpr.
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; πŸ’–
  • Modified by:
    • Patrick Powell <papowell@sdsu.edu>

(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 ✨


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