summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/psresize.1
blob: e48cb599d2006b563ea595c9c32ff802c550ae32 (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
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.1.
.TH PSRESIZE "1" "February 2023" "psresize 2.10" "User Commands"
.SH NAME
psresize - change the page size of a PostScript document
.SH SYNOPSIS
.B psresize
[\fI\,OPTION\/\fR...] [\fI\,INFILE \/\fR[\fI\,OUTFILE\/\fR]]
.SH DESCRIPTION
Change the page size of a PostScript document.
.TP
\fB\-p\fR, \fB\-\-paper\fR=\fI\,PAPER\/\fR
output paper size
.TP
\fB\-P\fR, \fB\-\-inpaper\fR=\fI\,PAPER\/\fR
input paper size
.TP
\fB\-q\fR, \fB\-\-quiet\fR
don't show page numbers being output
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-v\fR, \fB\-\-version\fR
display version information and exit
.PP
.B psresize
uses
.B psnup
to change the page size of a document, scaling and centering it appropriately.
See
.BR psutils (1)
for the available units.

.SS "Exit status:"
.TP
0
if OK,
.TP
1
if arguments or options are incorrect, or there is some other problem
starting up,
.TP
2
if there is some problem during processing, typically an error reading or
writing an input or output file.
.SH EXAMPLES
The following command converts a document from A4 size to US Letter paper:
.sp
psresize -PA4 -pletter in.ps out.ps
.SH AUTHOR
Written by Angus J. C. Duggan and Reuben Thomas.
.SH COPYRIGHT
Copyright \(co Reuben Thomas 2016\-2022.
Released under the GPL version 3, or (at your option) any later version.
.SH TRADEMARKS
.B PostScript
is a trademark of Adobe Systems Incorporated.
.SH "SEE ALSO"
.BR psutils (1),
.BR paper (1)