Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

paperconf(1) [debian man page]

PAPERCONF(1)						      General Commands Manual						      PAPERCONF(1)

NAME
paperconf - print paper configuration information SYNOPSIS
paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ] [ -c | -m | -i ] DESCRIPTION
paperconf prints information about a given paper. The information that can be obtained is the name of the paper, its size and its width or height. When called without arguments, paperconf prints the name of the system- or user-specified paper, obtained by looking in order at the PAPERSIZE environment variable, at the contents of the file specified by the PAPERCONF environment variable, at the contents of /etc/papersize or by using letter as a fall-back value if none of the other alternatives are successful. By default, width and height of the paper are printed in PostScript points. OPTIONS
-p paper Specify the name of the paper about which information is asked. -d Use the default builtin paper name. -a Consider all known paper names. -z If the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code. -n Print the name of the paper. -N Print the name of the paper with the first letter capitalized. -s Print the size (width followed by height) of the paper. -w Print the width of the paper. -h Print the height of the paper. -c Use centimetres as unit for paper size. -m Use millimetres as unit for paper size. -i Use inches as unit for paper size. ENVIRONMENT
PAPERSIZE Paper size to use regardless of what the papersize file contains. PAPERCONF Full path to a file containing the paper size to use. FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not set. AUTHOR
Yves Arrouye <arrouye@debian.org> SEE ALSO
papersize(5) 24 April 2001 PAPERCONF(1)

Check Out this Related Man Page

PSRESIZE(1)						      General Commands Manual						       PSRESIZE(1)

NAME
psresize - rescale and centre the pages of a PostScript file SYNOPSIS
psresize [ -wwidth ] [ -hheight ] [ -ppaper ] [ -Wwidth ] [ -Hheight ] [ -Ppaper ] [ -q ] [ infile [ outfile ] ] DESCRIPTION
Psresize rescales and centres a document on a different size of paper. The input PostScript file should follow the Adobe Document Struc- turing 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 a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto, 10x24 or _glibc, where latter one means the format of the current locale. The default output paper size is _glibc. 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 _glibc. Psresize normally prints the page numbers of the pages output; the -q option suppresses this. 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 ENVIRONMENT VARIABLES
LC_ALL, LC_PAPER These variables are specifying the papertype when used paper is _glibc. For details see the locale(7) manpage. AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995 SEE ALSO
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fix- psditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1) TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated. BUGS
Psresize does not accept all DSC comments. PSUtils Release 1 Patchlevel 17 PSRESIZE(1)
Man Page