summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man1/psresize.1
blob: 1821c7f661d76166b4aec9f0096bd5efb98134d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.TH PSRESIZE 1 "PSUtils Release 1 Patchlevel 17"
.SH NAME
psresize \- rescales and centers a document for new output paper size
.SH SYNOPSIS
.B psresize
[
.B \-w\fIwidth\fR
] [
.B \-h\fIheight\fR
] [
.B \-p\fIpaper\fR
] [
.B \-W\fIwidth\fR
] [
.B \-H\fIheight\fR
] [
.B \-P\fIpaper\fR
] [
.B \-q
] [
.I infile
[
.I outfile
] ]
.SH DESCRIPTION
.I Psresize
rescales and centres a document on a different size of paper.
The input PostScript file should follow the Adobe Document Structuring
Conventions.
.PP
The
.I \-w
option gives the output paper width, and the
.I \-h
option gives the output paper height, normally specified in
.B "cm"
or
.B "in"
to convert 
PostScript's points (1/72 of an inch)
to centimeters or inches.
The 
.I \-p
option can be used as an alternative, to set the output paper size to
.B a0, a1, a2, a3, a4, a5, b5, letter, legal, tabloid, statement,
executive, folio, quarto or
.B 10x14.
The default output paper size is
.B a4.
.PP
The
.I \-W
option gives the input paper width, and the
.I \-H
option gives the input paper height.
The 
.I \-P
option can be used as an alternative, to set the input paper size.
The default input paper size is
.B a4.
.PP
.I Psresize
normally prints the page numbers of the pages output; the
.I \-q
option suppresses this.
.SH EXAMPLES
The following command can be used to convert a document on A4 size paper to
letter size paper:
.sp
psresize -PA4 -pletter in.ps out.ps
.sp
.SH AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995
.SH "SEE ALSO"
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fixpsditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1), showchar(1)
.SH TRADEMARKS
.B PostScript
is a trademark of Adobe Systems Incorporated.
.SH BUGS
.I Psresize
does not accept all DSC comments.