Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

papersize(5) [debian man page]

PAPERSIZE(5)							File Formats Manual						      PAPERSIZE(5)

NAME
papersize - specify preferred paper size SYNOPSYS
/etc/papersize DESCRIPTION
The papersize file is used to specify the preferred paper size to use by available commands and programs generating documents. The format of this file is extremely simple: whitespace and anything starting with `#' is ignored, and the name of the paper is the first string found; the case in the name of the paper does not import (see CAVEATS section however). PAPER NAMES
The following names are commonly understood by programs: a3, a4, a5, b5, letter, legal, executive, note and 11x17. Additional paper names that one may encounter are: a0, a1, a2, a6, a7, a8, a9, a10, b0, b1, b2, b3, b4, tabloid, statement, note, halflet- ter, halfexecutive, folio, quarto, ledger, archA, archB, archC, archD, archE, flsa, flse, csheet, dsheet, esheet and 10x14. The value of the papersize file can be overrideen by looking in order at the PAPERSIZE environment variable, then at the contents of the file specified by the PAPERCONF environment variable. If the papersize file does not exist, programs using the paper library default to using letter as a fall-back value CAVEATS
This manual page documents the format of the papersize file that is read by the libpaper library. Some programs that read this file do not yet use the library and may have trouble ignoring whitespace and comments in the file; they may also require that the paper names use a specific capitalization. DOCUMENTATION
Yves Arrouye <arrouye@debian.org> SEE ALSO
paperconf(1) paperconfig(8) PAPERSIZE(5)

Check Out this Related 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)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Changing capitalization

How would I go about taking a string, such as a name (first last) and changing the capitalization of the first letter of each name (First Last)? A script that I am using outputs a list of names in all lower case, and I need to process the whole list to a new outfile giving the new... (2 Replies)
Discussion started by: TheCrunge
2 Replies

2. UNIX for Advanced & Expert Users

how to read each letter from file and store it in variable.

Dear friends, i am writing csh script i have one dat file containing following data.like this. 08FD3 03A26 000FA0 FFFF0 BBA0F 00000 00000 from the above file i want to read each letter and store it in one variable. how it is possible. please help (7 Replies)
Discussion started by: rajan_ka1
7 Replies