% teTeX's config.ps. Thomas Esser, 1998, public domain. % Memory available. Download the three-line PostScript file: % %! Hey, we're PostScript % /Times-Roman findfont 30 scalefont setfont 144 432 moveto % vmstatus exch sub 40 string cvs show pop showpage % to determine this number. (It will be the only thing printed.) m 3500000 % Run securely. z2 disables both shell command execution in % `\special' and config files (via the `E' option) and opening of any % absolute filenames. z1, the default, forbids shell escapes but % allows absolute filenames. z0 allows both. The corresponding % commandline options are -R0|-R1|-R2 z1 % How to print, maybe with lp instead lpr, etc. If commented-out, output % will go into a file by default. %o |lpr % Default resolution of this device, in dots per inch. D 600 X 600 Y 600 % Metafont mode. (This is completely different from the -M % command-line option, which controls whether mktexpk is invoked.) % See ../../metafont/misc/modes.mf for a list of mode names. This mode % and the D number above must agree, or mktexpk will get confused. M ljfour % Last resort bitmap sizes. R 300 600 % Correct printer offset. You can use testpage.tex from the LaTeX % distribution to find these numbers. O 0pt,0pt % Bitmap font compression. Results in more compact output files, but % sometimes causes trouble. So the default is disabled. Set Z1 to enable % this feature. Z0 % Partially download Type 1 fonts by default. Only reason not to do % this is if you encounter bugs. (Please report them to % @email{tex-k@@mail.tug.org} if you do.) j % This shows how to add your own map file. % Remove the comment and adjust the name: % p +myfonts.map % 0 0 595 842 is the right bounding box that most applications expect % for A4. Since dvips always rounds up, choose something slightly smaller. @ A4size 594.99bp 841.99bp @+ ! %%DocumentPaperSizes: a4 @+ %%PaperSize: A4 @ letterSize 8.5in 11in @+ ! %%DocumentPaperSizes: Letter @ letter 8.5in 11in @+ ! %%DocumentPaperSizes: Letter @+ %%BeginPaperSize: Letter @+ letter @+ %%EndPaperSize % for powerdot @ screen 8.25in 11in @+ ! %%DocumentPaperSizes: Screen @+ %%BeginPaperSize: Screen @+ << /PageSize [594 792] >> setpagedevice @+ %%EndPaperSize @ legal 8.5in 14in @+ ! %%DocumentPaperSizes: Legal @+ %%BeginPaperSize: Legal @+ legal @+ %%EndPaperSize @ ledger 17in 11in @+ ! %%DocumentPaperSizes: Ledger @+ %%BeginPaperSize: Ledger @+ ledger @+ %%EndPaperSize @ tabloid 11in 17in @+ ! %%DocumentPaperSizes: Tabloid @+ %%BeginPaperSize: Tabloid @+ 11x17 @+ %%EndPaperSize @ a6 105mm 148mm @+ ! %%DocumentPaperSizes: a6 @+ %%BeginPaperSize: a6 @+ a6 @+ %%EndPaperSize @ a5 148mm 210mm @+ ! %%DocumentPaperSizes: a5 @+ %%BeginPaperSize: a5 @+ a5 @+ %%EndPaperSize @ a4 594.99bp 841.99bp @+ ! %%DocumentPaperSizes: a4 @+ %%BeginPaperSize: a4 @+ a4 @+ %%EndPaperSize @ a3 297mm 420mm @+ ! %%DocumentPaperSizes: a3 @+ %%BeginPaperSize: a3 @+ a3 @+ %%EndPaperSize @ a2 420mm 595mm @+ ! %%DocumentPaperSizes: a2 @+ %%BeginPaperSize: a2 @+ a2 @+ %%EndPaperSize @ a1 595mm 841mm @+ ! %%DocumentPaperSizes: a1 @+ %%BeginPaperSize: a1 @+ a1 @+ %%EndPaperSize @ a0 841mm 1189mm @+ ! %%DocumentPaperSizes: a0 @+ %%BeginPaperSize: a0 @+ a0 @+ %%EndPaperSize @ b6 125mm 176mm @+ ! %%DocumentPaperSizes: b6 @+ %%BeginPaperSize: b6 @+ b6 @+ %%EndPaperSize @ b5 176mm 250mm @+ ! %%DocumentPaperSizes: b5 @+ %%BeginPaperSize: b5 @+ b5 @+ %%EndPaperSize @ b4 250mm 353mm @+ ! %%DocumentPaperSizes: b4 @+ %%BeginPaperSize: b4 @+ b4 @+ %%EndPaperSize @ b3 353mm 500mm @+ ! %%DocumentPaperSizes: b3 @+ %%BeginPaperSize: b3 @+ b3 @+ %%EndPaperSize @ jisb0 1030mm 1456mm @+ ! %%DocumentPaperSizes: jisb0 @+ %%BeginPaperSize: jisb0 @+ jisb0 @+ %%EndPaperSize @ jisb1 728mm 1030mm @+ ! %%DocumentPaperSizes: jisb1 @+ %%BeginPaperSize: jisb1 @+ jisb1 @+ %%EndPaperSize @ jisb2 515mm 728mm @+ ! %%DocumentPaperSizes: jisb2 @+ %%BeginPaperSize: jisb2 @+ jisb2 @+ %%EndPaperSize @ jisb3 364mm 515mm @+ ! %%DocumentPaperSizes: jisb3 @+ %%BeginPaperSize: jisb3 @+ jisb3 @+ %%EndPaperSize @ jisb4 257mm 364mm @+ ! %%DocumentPaperSizes: jisb4 @+ %%BeginPaperSize: jisb4 @+ jisb4 @+ %%EndPaperSize @ jisb5 182mm 257mm @+ ! %%DocumentPaperSizes: jisb5 @+ %%BeginPaperSize: jisb5 @+ jisb5 @+ %%EndPaperSize @ jisb6 128mm 182mm @+ ! %%DocumentPaperSizes: jisb6 @+ %%BeginPaperSize: jisb6 @+ jisb6 @+ %%EndPaperSize % not defined in Ghostscript, per Akira. % @ jisb7 91mm 128mm % @+ ! %%DocumentPaperSizes: jisb7 % @+ %%BeginPaperSize: jisb7 % @+ jisb7 % @+ %%EndPaperSize % % @ jisb8 64mm 91mm % @+ ! %%DocumentPaperSizes: jisb8 % @+ %%BeginPaperSize: jisb8 % @+ jisb8 % @+ %%EndPaperSize @ unknown 0in 0in @+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin { @+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known @+ { hsize vsize 1 statusdict begin { setpage } stopped pop end } if } if