psresize
rescales and centers a document for new output paper size
see also :
psbook - psselect - pstops - epsffit - psnup - psmerge - fixscribeps - getafm - fixdlsrps - fixfmps - fixpsditps - fixpspps - fixtpps - fixwfwps - fixwpps - fixwwps - extractres - includeres - showchar
Synopsis
psresize
[ -wwidth ] [
-hheight ] [ -ppaper
] [ -Wwidth ] [
-Hheight ] [ -Ppaper
] [ -q ] [ infile [ outfile ]
]
add an example, a script, a trick and tips
examples
The following command can be used to convert a document on A4
size paper to letter size paper:
psresize -PA4 -pletter in.ps out.ps
source
for f in epsffit extractres fixdlsrps
fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps
fixwpps fixwwps getafm includeres psbook psmerge psnup
psresize psselect pstops; do
rm -f $pkgdir/usr/share/man/man1/$f.1
source
for f in epsffit extractres fixdlsrps
fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps
fixwpps fixwwps getafm includeres psbook psmerge psnup
psresize psselect pstops; do
rm -f $pkgdir/opt/arch/share/man/man1/$f.1
source
for f in epsffit extractres fixdlsrps
fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps
fixwpps fixwwps getafm includeres psbook psmerge psnup
psresize psselect pstops; do
rm -f $startdir/pkg/usr/share/man/man1/$f.1
source
for f in epsffit extractres fixdlsrps
fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps
fixwpps fixwwps getafm includeres psbook psmerge psnup
psresize psselect pstops; do
source
for f in epsffit extractres fixdlsrps
fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps
fixwpps fixwwps getafm includeres psbook psmerge psnup
psresize psselect pstops; do
rm -f $pkgdir/usr/share/man/man1/$f.1
done
# remove man files that belong to
omega/aleph
description
Psresize
rescales and centres a document on a different size of
paper. The input PostScript file should follow the Adobe
Document Structuring Conventions.
The
-w option gives the output paper width, and the
-h option gives the output paper height,
normally specified in cm or in to convert
PostScript’s points (1/72 of an inch) to centimeters
or inches. The -p option can be used as an
alternative, to set the output paper size to a0, a1, a2,
a3, a4, a5, b5, letter, legal, tabloid, statement,
executive, folio, quarto or 10x14. The default output
paper size is a4.
The
-W option gives the input paper width, and the
-H option gives the input paper height. The
-P option can be used as an alternative, to set
the input paper size. The default input paper size is
a4.
Psresize
normally prints the page numbers of the pages output; the
-q option suppresses this.
trademarks
PostScript is a trademark of Adobe Systems Incorporated.
bugs
Psresize
does not accept all DSC comments.
see also
psbook ,
psselect , pstops , epsffit , psnup , psresize,
psmerge , fixscribeps , getafm , fixdlsrps ,
fixfmps , fixpsditps , fixpspps , fixtpps ,
fixwfwps , fixwpps , fixwwps , extractres ,
includeres , showchar
author
Copyright (C)
Angus J. C. Duggan 1991-1995