iRex DR1000 Manager v0.6

it.andynaz.irex.dr1000
Class Manager

java.lang.Object
  extended by it.andynaz.irex.dr1000.Manager

public class Manager
extends Object

Main class.

The scribbles can be taken on a PDF document or with the device built-in notepad. In case of PDF documents, this program creates a new PDF with all its interactive elements, with the scribbles on it.
The device must have the firmware version 2.0.

To launch the program, run in a terminal (note that the .jar file name may change, as the version can be appended):

java -jar [params] iRexDR1000Merger.jar input_file
You can specify more options running
java -jar [params] iRexDR1000Merger.jar -i input_file options
In both cases the parameters params are optional.

To show a brief guide just use the -h option only:

java -jar iRexDR1000Merger.jar -h

Options

Options for the program are all optional (except for the input file) and can be specified as:

  1. parameters before the -jar part of the command, in the form
    -Dit.andynaz.name=value
  2. parameters in a separate configuration file, in the form
    it.andynaz.name=value
  3. options, after the .jar file, in the form
    -name value
If the same option is specified more than once, only the last value (in the order specified above) is used.
In this way, an alias for the command or a batch file can be created on the system specifying the default options, which can be overwritten on the fly for specific files.
For instance, to create an alias to set the location of the jar file and the default strokes color, do:
on a Linux machine:
alias iRexDR1000='java -Dit.andynaz.color=FF0000 -jar ~/bin/iRexDR1000Merger.jar'
on a Windows machine:
doskey iRexDR1000=java -Dit.andynaz.color=FF0000 -jar "C:\iRexDR1000Manager.jar" $*

Options

Parameter Option
i input PDF or .note file
o output file/folder (default is the current directory)
a action to be performed (default is 'merge'; see below)
color C strokes color in the output files; the color is specified as an hex value RRGGBB (default is the black color)
config c properties file with the configuration (default is a config.properties file in the current directory)
targetFolder path to the default folder where to save the files

Actions

The action (specified with the -a option) tell the program what to do, and are:

Version:
2014/01/24
Author:
andynaz

Constructor Summary
Manager()
           
 
Method Summary
static void main(String[] args)
          Takes the arguments from the command line and start the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manager

public Manager()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Takes the arguments from the command line and start the program.

Parameters:
args - the command line arguments
Throws:
Exception - in case of errors

iRex DR1000 Manager v0.6

© 2013 andynaz - http://andynaz.altervista.org