Next: Resources, Previous: Introduction, Up: Top
Usage: gv [OPTION]... [FILE] PostScript and PDF viewer. [-]-monochrome display document using only black and white [-]-grayscale display document without colors [-]-color display document as usual [-]-safer start ghostscript in safe mode [-]-nosafer do not start ghostscript in safe mode [-]-quiet start ghostscript with the -dQUIET option [-]-noquiet do not start ghostscript with the -dQUIET option [-]-infoSilent do not show any messages in the info popup window [-]-infoErrors do not show warning messages in the info popup window [-]-infoAll do show all messages in the info popup window [-]-arguments=ARGS start ghostscript with additional options as specified by the string ARGS [-]-page=LABEL display the page with label LABEL first [-]-center the page should be centered automatically [-]-nocenter the page should not be centered automatically [-]-media=MEDIA selects the paper size to be used [-]-orientation=ORIENTATION sets the orientation of the page [-]-scale=N|f.f selects the scale N, or arbitrary scale f.f [-]-scalebase=N selects the scale base N [-]-swap interchange the meaning of the orientations landscape and seascape [-]-noswap do not interchange the meaning of the orientation landscape and seascape [-]-antialias use antialiasing [-]-noantialias do not use antialiasing [-]-dsc dsc comments are respected [-]-nodsc dsc comments are not respected [-]-eof ignore the postscript EOF comment while scanning documents [-]-noeof do not ignore the postscript EOF comment while scanning documents [-]-pixmap use backing pixmap [-]-nopixmap do not use backing pixmap [-]-watch watch the document file for changes [-]-nowatch do not watch the document file for changes [-]-help print a help message and exit [-]-usage print a usage message and exit [-]-resize fit the size of the window to the size of the page [-]-noresize do not fit the size of the window to the size of the page -geometry [<width>][x<height>][{+-}<xoffset>{+-}<yoffset>] [-]-ad=FILE read and use additional resources from FILE [-]-style=FILE read and use additional resources from FILE. These resources have lower priority than those provided on the context of --ad [-]-password=PASSWORD Sets the password for opening encrypted PDF files [-]-spartan shortcut for --style=gv_spartan.dat [-]-widgetless shortcut for --style=gv_widgetless.dat [-]-fullscreen start in fullscreen mode (needs support from WM) [-]-presentation Presentation mode (fullscreen, Fit to window, widgetless and no resizing of window) [-]-version show gv version and exit
--ad=
file--style
option.
--antialias, --noantialias
--arguments=
args--center, --nocenter
--dsc, --nodsc
--nodsc
is used gv
will not attempt to examine the structure of the document but will
pass the file to the ghostscript interpreter as a whole. In this case no
page numbers are shown and freely moving around in the document is not
possible. This option may help when viewing files not conforming to
the document structuring conventions.
--eof, --noeof
--noeof
is used the scanner will
ignore end of file (EOF) comments. This may help when
viewing documents which import other documents without enclosing them
within the proper "BeginDocument" and "EndDocument" comments. If
--eof
is used, the scanner treats an EOF comment as
marking the end of the file.
--fullscreen
--infoSilent
--infoErrors
--infoAll
--pixmap, --nopixmap
--pixmap
is used gv tries to maintain off-screen regions of
the displayed page by allocating a sufficiently large pixmap. If
--nopixmap
is used the X Server is responsible for
maintaining obscured portions of the displayed page (see also the
useBackingPixmap resource).
--version
--help, --usage
--scale=
n-1000
Fit to page is selected, and likewise with the
value of -1001
Fit widthto page is selected.
In case n is a float, n selects an arbitrary scale.
--scalebase
n--monochrome, --grayscale, --color
--media=
media--page=
label--orientation=
orientationportrait
,
landscape
, seascape
and upsidedown
.
--quiet, --noquiet
-dQUIET
option.
--resize, --noresize
--password=PASSWORD
--presentation
--fullscreen --noresize --scale=-1000 --widgetless
.
--safer, --nosafer
-dSAFER
option.
--spartan
--style=gv_spartan.dat
.
--style=
file--ad
option.
--swap, --noswap
--watch, --nowatch
--watch
option causes gv to check the document
periodically. If changes are detected gv will
automatically display the newer version of the file.
The document is by default checked once every second.
This can be changed via the watchFileFrequency resource.
Note that sending gv the SIGHUP signal also causes
an update of the displayed document. This method
may be used by document creators to trigger gv
remotely.
--widgetless
--style=gv_widgetless.dat
.