iRex DR1000 Merger v0.4.1

it.andynaz.irex.dr1000
Class Merger

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

public class Merger
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 version 2.0 of the firmware.

To use this program run in a terminal

 java -jar iRexDR1000Merger.jar options
 
where options are in the form "-x param".

Parameters are:

f
target PDF or .note file
o
output file (optional; if not present the default one is taken)
a
action to be performed (optional; the default one is 'merge')
c
path to the a properties file with the configuration of the program (optional; the default one is a config.properties file in the current directory)
C
color of the strokes in the resulting PDF file; the color is specified as a hex value RRGGBB (default is the black color)

Note: in case the input file is a PDF, it has to be placed in the SD card used by the DR1000, i.e. in the same folder of the metedata.bd file.

Possible actions are:

merge
default action: merge the scribbles with the PDF in a new PDF file or creates a new PDF file with the note (default output file is a PDF file in the current folder)
format
create a text file with the scribbles data formatted (default output file is a .dat file in the current folder)

Optionally, you can invoke the program as

 java -jar iRexDR1000Merger.jar path_to_file
 

in which you specify only the input file (other option use their default value).

Version:
2013-08-01
Author:
andynaz

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

Constructor Detail

Merger

public Merger()
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

printHeader

private static void printHeader()
Print the program header. This contains also a licence advice.


printHelp

private static void printHelp()
Print the program help.


iRex DR1000 Merger v0.4.1

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