Categories
applications How to's Info

What is the command to invoke Adobe acrobat reader in Linux

If you have installed Adobe Reader in Linux and you need to invoke it from console ( for some reason you don’t want to go to menus). Just enter acroread  and you will see  Adobe reader opened.
to open a file enter

$acroread filename.pdf

enter acroread -help and you will find all the command line options available to you. Here is the list of options available

Usage: /usr/bin/acroread [options] [list of files]

Options:
    --display=
        This option specifies the host and display to use.
    --screen=
        X screen to use. Use this options to override the 
 screen part of the DISPLAY environment variable.
    --sync
        Make X calls synchronous. This slows down the program considerably.
    -geometry [x][{+|-}{+|-}]
        Size and/or location of the document windows.
        Note: this option is position dependent, and can be
        specified multiple times. The geometry specified only
        affects the list of files following it.
    -help
        Prints the common command-line options.
    -iconic
        Launches in an iconic state on the desktop.
    -setenv =
        Tells the main application to perform the equivalent of
        C-shell setenv  .
    -tempFile
        Indicates files listed on the command line are temporary files
        and should not be put in the recent file list.  The document
        title will be the title in the pdf document, instead of the
        filename.
    -tempFileTitle        Same as -tempFile, except the title is specified.    -toPostScript [options] pdf_file ... [ps_dir]    -toPostScript [options] -pairs pdf_file_1 ps_file_1 ...    -toPostScript [options]        Converts the given pdf_files to PostScript.        In the first form, if the last file specified is a directory,        then all preceding files will be converted to PostScript        and the generated PostScript files will be placed into ps_dir.        If a directory is not specified, then the PostScript files        will be placed in the same directory as the original file.        In the second form, the file list contains pairs, each        consisting of a PDF filename and a corresponding PostScript        filename.        The third form specifies a filter, reading a PDF file from        standard input and writing the PostScript file to standard        output.        Note: When using -toPostScript it must be the first argument        passed in on the command line.        The following are valid options for the conversion of PDF to        PostScript:        -binary - emit binary PostScript where possible        -start  - identify the first page in the document to be           converted (default is the first page of the document)        -end  - identify the last page in the document to be           converted (default is the last page of the document)        -optimizeForSpeed - emit PostScript such that all fonts are           emitted once at the beginning of the document.  This           results in faster transmission times and smaller           PostScript documents but requires more PostScript printer           virtual memory.        -landscape - rotate the pages to print landscape        -reverse - reverse the page order of the output        -odd - emit only odd-numbered pages        -even - emit only even-numbered pages        -commentsOff - don't print comments        -annotsOff - don't print annots        -stampsOff - don't print stamps        -markupsOn - print document and markups        -level2 - emit Level 2 PostScript  (level1 is not supported)        -level3 - emit Level 3 PostScript         -printerhalftones - use the printer default halftones.        -saveVM - download fonts as needed to preserve printer memory -size - Paper size (letter,tabloid,ledger,legal,a3,a4,a5,b4,b5)        -scale  - scale the pages according to the scale factor           (default is 100 percent)        -shrink - shrink the pages to fit the page size        -expand - expand the pages to fit the page size        -size  - set the page size.  The following page sizes           are recognized:              letter - letter size paper              tabloid - tabloid size paper              ledger - ledger size paper              legal - legal size paper              executive - executive size paper              a3 - ISO standard A3 size              a4 - ISO standard A4 size              a5 - ISO standard A5 size              b4 - ISO standard B4 size              b5 - ISO standard B5 size              wxh - custom size paper where w is the integer width                 in points and h is the integer height in points        -transQuality level - set the transparency flattening level            Value from 1-5, where 1 means rasterize everything, 5 means           rasterize as little as possible, default is 3.    -openInNewWindow        The application starts normally without checking if it        is already running.    -version        Print version information and quit.    -visual  [depth=]    -visual id=    -visual best    -visual default        Specifies a visual.        In the first form, the visual class (specified by either        its name or number) with an option depth determine the        visual to use.        In the second form, the visual id is specified. The prefix        0x must be used for hexadecimal numbers.        The third form uses an internal algorithm based on depth        and visual class.        The fourth form simply uses the default visual.        Note that PseudoColor visuals of depth greater than 8,        and DirectColor visuals are not supported.