You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@avron.ICS.UCI.EDU> on 1995/11/21 02:37:20 UTC

Re: Apache Manual

> I've uploaded the first version of the Apache reference manual to
> pub/httpd/manual.tar.gz. This contains the LaTeX (automatically generated
> from the HTML), dvi and 300dpi postscript.
> 
> Could someone with a printer with US paper tell me what values to use
> for textwidth and textheight?

This is sometimes useful (but Copyright (c) Frame Technology Corporation):

/inch {72 mul} def
/pagedimen { 
        paperheight sub abs 16 lt exch 
        paperwidth sub abs 16 lt and
        {/papername exch def} {pop} ifelse
        } def
        /papersizedict FMLOCAL
/setpapername { 
        /papersizedict 14 dict def 
        papersizedict begin
        /papername /unknown def 
                /Letter 8.5 inch 11.0 inch pagedimen
                /LetterSmall 7.68 inch 10.16 inch pagedimen
                /Tabloid 11.0 inch 17.0 inch pagedimen
                /Ledger 17.0 inch 11.0 inch pagedimen
                /Legal 8.5 inch 14.0 inch pagedimen
                /Statement 5.5 inch 8.5 inch pagedimen
                /Executive 7.5 inch 10.0 inch pagedimen
                /A3 11.69 inch 16.5 inch pagedimen
                /A4 8.26 inch 11.69 inch pagedimen
                /A4Small 7.47 inch 10.85 inch pagedimen
                /B4 10.125 inch 14.33 inch pagedimen
                /B5 7.16 inch 10.125 inch pagedimen
        end
        } def

Unfortunately, it causes errors on QMS printers, but at least the
sizes are accurate.

....Roy