Settings | The Settings Menu

#
Command Line Arguments

Jpgfdraw can be invoked from a command prompt using:

`jpgfdraw` <option-list> <filename>
Note that <option-list> and <filename> may be omitted. Only one filename is permitted, and it must be either a
or an
file. This script uses the environment variable `JDR_JVMOPTS` to pass options to the
. For example, if you want to run Jpgfdraw with a maximum size of 128Mb for the memory allocation pool, you can set `JDR_JVMOPTS` to `-Xmx128m`:

    setenv JDR_JVMOPTS -Xmx128m

This script also uses the environment variable `JPGFDRAW_OPTS` to pass options to Jpgfdraw. For example, if you always want Jpgfdraw to start up with the grid showing, you can set `JPGFDRAW_OPTS` to `-show_grid`:

    setenv JPGFDRAW -show_grid

Note that these environment variables only have an effect if you use the `jpgfdraw` script to run the
.

If you can't use the `jpgfdraw` script, you can invoke Jpgfdraw from the command line using (no line breaks):

``java` <java options> `-jar jpgfdraw.jar` <jpgfdraw options> <filename>
`
(You may need to include the full pathname to `jpgfdraw.jar`.)

The following options are provided:

`-disable_print`
  Don't request printer attributes on startup.
`-show_grid`
  Show the
  .
`-noshow_grid`
  Don't show the
  .
`-grid_lock`
  Set the
  lock on.
`-nogrid_lock`
  Don't set the
  lock.
`-toolbar`
  Show the
  .
`-notoolbar`
  Don't show the
  .
`-statusbar`
  Show the
  .
`-nostatusbar`
  Don't show the
  .
`-rulers`
  Show the
  .
`-norulers`
  Don't show the
  .
`-paper`
  Set the paper size. This option must be followed by a string identifying the paper size. Known paper sizes are listed in Table 3.1. Custom sizes can be specified using `-paper user` <width> <height>, where <width> and <height> must be positive dimensions. Recognised units: `
  `, `
  `, `in`, `mm`, `cm`, `pc`, `dd` and `cc`. If the unit is omitted, `bp` is assumed. Examples:
  - `-paper a4r`
  - `-paper user 8.5in 12in`
  - `-paper user 600 1000`
`-experimental`
  Enables experimental functions. These functions may not work properly.
`-noexperimental`
  Disables experimental functions. (Default.)
`-debug`
  Enables the debug menu. This menu provides the functions: Debug->Object info (which displays diagnostic information about the currently selected objects), Debug->Write Log (which writes diagnostic information for all currently open images to a log file in the configuration directory) and Debug->Dump All (which saves all current images to a subdirectory of the configuration directory).
`-nodebug`
  Disables the debug menu (default). However you can still use `F10` and `F11` to do the same action as Debug->Write Log and Debug->Dump All, respectively.
`-version`
  Prints the current version to standard output.
`-help`
  Prints available command line options to standard output.

Table 3.1: Paper size identifiers for use with `-paper` command line switch.
`a10` | A10 portrait | `a10r` | A10 landscape
`a9` | A9 portrait | `a9r` | A9 landscape
`a8` | A8 portrait | `a8r` | A8 landscape
`a7` | A7 portrait | `a7r` | A7 landscape
`a6` | A6 portrait | `a6r` | A6 landscape
`a5` | A5 portrait | `a5r` | A5 landscape
`a4` | A4 portrait | `a4r` | A4 landscape
`a3` | A3 portrait | `a3r` | A3 landscape
`a2` | A2 portrait | `a2r` | A2 landscape
`a1` | A1 portrait | `a1r` | A1 landscape
`a0` | A0 portrait | `a0r` | A0 landscape
`b10` | B10 portrait | `b10r` | B10 landscape
`b9` | B9 portrait | `b9r` | B9 landscape
`b8` | B8 portrait | `b8r` | B8 landscape
`b7` | B7 portrait | `b7r` | B7 landscape
`b6` | B6 portrait | `b6r` | B6 landscape
`b5` | B5 portrait | `b5r` | B5 landscape
`b4` | B4 portrait | `b4r` | B4 landscape
`b3` | B3 portrait | `b3r` | B3 landscape
`b2` | B2 portrait | `b2r` | B2 landscape
`b1` | B1 portrait | `b1r` | B1 landscape
`b0` | B0 portrait | `b0r` | B0 landscape
`c10` | C10 portrait | `c10r` | C10 landscape
`c9` | C9 portrait | `c9r` | C9 landscape
`c8` | C8 portrait | `c8r` | C8 landscape
`c7` | C7 portrait | `c7r` | C7 landscape
`c6` | C6 portrait | `c6r` | C6 landscape
`c5` | C5 portrait | `c5r` | C5 landscape
`c4` | C4 portrait | `c4r` | C4 landscape
`c3` | C3 portrait | `c3r` | C3 landscape
`c2` | C2 portrait | `c2r` | C2 landscape
`c1` | C1 portrait | `c1r` | C1 landscape
`c0` | C0 portrait | `c0r` | C0 landscape
`letter` | Letter portrait | `letterr` | Letter landscape
`legal` | Legal portrait | `legalr` | Legal landscape
`executive` | Executive portrait | `executiver` | Executive landscape

Settings | The Settings Menu