Previous Next Table of Contents

3. Options

-ad <resource file>

Read and use additional resources from the file <resource file>. These resources have higher priority than those provided in the context of the -style <resource file> option.

-antialias, -noantialias

Whether to use antialiasing.

-arguments <arguments>

Start ghostscript with additional options as specified by the string <arguments>.

-center, -nocenter

Whether the page should be centered automatically.

-dpi <dpi>, -resolution <dpi>

Sets the resolution to <dpi> dots per inch.

-h, -?

Display a short help message and exit.

-help

Display a a more explicit help message and exit.

-magstep <n>

Allow magnifications ranging from -<n> to +<n>.

-monochrome, -grayscale, -color

Sets the color palette to be used.

-page <label>

Display the page with label <label> first.

-<paper-size>

Sets the paper-size. Valid values for <paper-size> are:

   Size      X (pts)  Y (pts)   X cm    Y cm
   -----------------------------------------
   letter      612      792    21.59   27.94
   tabloid     792     1224
   ledger     1224      792    43.18   27.94
   legal       612     1008    21.59   35.56
   statement   396      612
   executive   540      720
   a3          842     1190    29.70   41.98
   a4          595      842    20.99   29.70
   a5          420      595    14.85   20.99
   b4          729     1032    25.01   35.35
   b5          516      729    17.67   25.01
   folio       612      936 
   quarto      610      780
   10x14       720     1008
   

-portrait, -landscape, -seascape, -upsidedown

Sets the orientation.

-quiet, -noquiet

Whether to start ghostscript with the -dQUIET option.

-resize, -noresize

Whether gv is allowed to automatically fit the size of its window to the size of the displayed page.

-safer, -nosafer

Whether to start ghostscript with the -dSAFER option.

-style <resource file>

Read and use additional resources from the file <resource file>. These resources have lower priority than those provided in the context of the -ad <resource file> option.

-swap, -noswap

Whether to interchange the meaning of the orientations landscape and seascape.

-xdpi <dpi>, -ydpi <dpi>

Sets the horizontal, vertical resolution to <dpi> dots per inch.


Previous Next Table of Contents