See: Description
Package | Description |
---|---|
it.andynaz.irex.dr1000 |
Main package.
|
it.andynaz.irex.dr1000.document |
Classes to represent and manage the documents.
|
it.andynaz.irex.dr1000.scribble |
Classes to represent and manage the scribbles.
|
it.andynaz.irex.dr1000.util |
Utilities.
|
Manages the scribbles taken with a iRex DR1000 device.
The scribbles can be taken on a PDF document or with the device built-in notepad. The device must have the 2.0 firmware version.
To launch the program, run in a terminal:
This will create a new PDF file with the annotations inside.java -jar iRexDR1000Manager.jar input_file
.jar
file name may change, as the version is
appended.
You can specify options running
java [params] -jar iRexDR1000Manager.jar [options]
To list the scribbled files in a database, use the -l
option:
java -jar iRexDR1000Manager.jar -l [database_file]
To show a brief guide just use the -h
option only:
java -jar iRexDR1000Manager.jar -h
To show the program version and the build date use the -v
option only:
java -jar iRexDR1000Merger.jar -v
Options for the program can be specified as:
-jar
part of the
command), in the form-Dit.andynaz.name=value
it.andynaz.name=value
.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 (note that some options can only be set in the last way, as are considered "runtime options").
In this way, an alias for the command or a batch file can be created on the system specifying 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, and more command to some funcionality, run
on a Linux/Mac machine oralias iRexDR1000='java -Dit.andynaz.color=FF0000 -jar ~/bin/iRexDR1000Merger.jar' alias iRexDR1000Merge='iRexDR1000 -a merge' alias iRexDR1000PNG='iRexDR1000 -a png'
on a Windows machine.doskey iRexDR1000=java -Dit.andynaz.color=FF0000 -jar "C:\iRexDR1000Manager.jar" $* doskey iRexDR1000Merge=iRexDR1000 -a merge $* doskey iRexDR1000PNG=iRexDR1000 -a png $*
This is a list of all parameters/options available.
Options without the corresponding parameter are "runtime option" and has to be
set manually each time.
Note: all the colors can be specified as a "[#][AA]RRGGBB
"
string.
Parameter | Option | |
---|---|---|
config | c |
path to a properties file with the configuration (default is a config.properties file in the current directory); of course, this value
specified in the config file itself will be ignored
|
targetFolder | path to the default folder where to save created files | |
color | C | color in the output files for all width strokes (default is black) |
colorBackground | CB | color for the background in the exported PNGs (default is white) |
colorX | CX | color for strokes with width X (1 to 5) (default is black) |
a | action to be performed (default is 'merge'; see below) | |
i | input PDF or .note file |
|
o | output file/folder (default is the current directory) |
The action (specified only with the -a
option) tell the
program what to do, and are:
merge | merge the scribbles with the PDF in a new PDF file (with all its interactive elements) or creates a new PDF file with the note; this is the default action |
strictMerge | same as merge, but only the scribbled pages are included in the generated PDF |
png | create a PNG image for each page with the scribbles |
format |
create a text file with the scribbles data formatted (default output is a
.dat file in the current folder); used for debug, will be
removed in next versions
|
© 2015 andynaz - http://andynaz.altervista.org