Debian Codegraph @

texk/psutils/psutils-src/psresize.1

raw
1 .TH PSRESIZE 1 "PSUtils"
2 .SH NAME
3 psresize \- rescales and centers a document for new output paper size
4 .SH SYNOPSIS
5 .B psresize
6 .RB [ \-w\fIwidth\fR ]
7 .RB [ \-h\fIheight\fR ]
8 .RB [ \-p\fIpaper\fR ]
9 .RB [ \-W\fIwidth\fR ]
10 .RB [ \-H\fIheight\fR ]
11 .RB [ \-P\fIpaper\fR ]
12 .RB [ \-q ]
13 .RI [ infile
14 .RI [ outfile ]]
15 .SH DESCRIPTION
16 .B Psresize
17 rescales and centres a document on a different size of paper.
18 The input PostScript file should follow the Adobe Document Structuring
19 Conventions.
20 .PP
21 The
22 .B \-w
23 option gives the output paper width, and the
24 .B \-h
25 option gives the output paper height, normally specified in
26 .B "cm"
27 or
28 .B "in"
29 to convert
30 PostScript's points (1/72 of an inch)
31 to centimeters or inches.
32 The
33 .B \-p
34 option can be used instead, to set the paper size; otherwise a default value is used.
35 See
36 .BR paper (1).
37 .PP
38 The
39 .B \-W
40 option gives the input paper width, and the
41 .B \-H
42 option gives the input paper height.
43 The
44 .B \-P
45 option can be used instead, to set the paper size; otherwise a default value is used.
46 See
47 .BR paper (1).
48 .PP
49 .B Psresize
50 normally prints the page numbers of the pages output; the
51 .B \-q
52 option suppresses this.
53 .SH EXAMPLES
54 The following command can be used to convert a document on A4 size paper to
55 letter size paper:
56 .sp
57 psresize -PA4 -pletter in.ps out.ps
58 .sp
59 .SH AUTHOR
60 Written by Angus J. C. Duggan.
61 .SH "SEE ALSO"
62 .Br psutils (1)
63 .SH TRADEMARKS
64 .B PostScript
65 is a trademark of Adobe Systems Incorporated.
66 .SH BUGS
67 .B Psresize
68 does not accept all DSC comments.