🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #425

Re: psroff generates huge files

#425
From: Chris Lewis
Date: Thu, 09 Apr 1992 03:21
30 lines
1667 bytes
In article <3363@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
|In article <1992Apr03.160755.13148@brtph560.bnr.ca> psycho@brtpa25.bnr.ca (Paul Jezioranski) writes:
|>A 25 page man file took up almost 800k of disk space when I "psroff"ed it.
|>I checked out the file and it appears that psroff grid maps each character to
|>the page as follows:

|>Is there any way to reduce the size of the output file, or am I using an
|>outdated version of psroff??

|Can't tell without you telling us what version of psroff you're running.

|Turn on the optimizer.

I guess I should be a little clearer, sorry.

The psroff optimizer (introduced at psroff 2.0, PL5 I believe) will
coalesce words into single "show"'s.  You will see a size improvement
of at least three, and a print performance increase around a factor of
10.  Resulting in performance similar to groff and pscat/psdit(Transcript)

Turn on the optimizer.

Current rev is psroff 3.0, PL10.  Optimization is on by default (since PL7
I think).

Peter, don't abandon psroff yet.
-- 
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
Technical Details
Message-ID: <3381@ecicrl.ocunix.on.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!cunews!revcan!ecicrl!clewis
References: <1992Apr03.160755.13148@brtph560.bnr.ca> <3363@ecicrl.ocunix.on.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!cunews!revcan!ecicrl!clewis
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Newsgroups: comp.lang.postscript
Subject: Re: psroff generates huge files
Message-ID: <3381@ecicrl.ocunix.on.ca>
Date: 9 Apr 92 03:21:47 GMT
References: <1992Apr03.160755.13148@brtph560.bnr.ca> <3363@ecicrl.ocunix.on.ca>
Organization: Elegant Communications Inc., Ottawa, Canada
Lines: 30