public class TwoUpPDF extends Object
It does it all in Java (no native code calls) and its FREE!
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Modifier and Type | Field and Description |
---|---|
private static String |
acroCmd_ |
private static boolean |
bindingOffset_
Flag for double sided printing binding offset on the long side of the page
|
private static float |
cropBorder_
Description of the Field
|
private static String |
inFileName_
Description of the Field
|
private static boolean |
launchAcroread_
Flags if acroreader is auto launched after this process.
|
private static int |
offset_
The offset amount to get it placed from the origin of the page.
|
private static String |
outFileName_
Description of the Field
|
private static Rectangle |
outputPageSize_
Description of the Field
|
private static double |
rotation_
Description of the Field
|
private static float |
scale_
The amount to scale a page so it will fit 2Up on the page
|
private static float |
topOffsetAmount_
The amount to offset the long side of the page if a double sided print
page offset is requested.
|
private static String |
usage_
Description of the Field
|
Constructor and Description |
---|
TwoUpPDF() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
The main program for the TwoUpPDF class.
|
private static String outFileName_
private static String inFileName_
private static float cropBorder_
private static float scale_
private static int offset_
private static double rotation_
private static Rectangle outputPageSize_
private static boolean launchAcroread_
private static boolean bindingOffset_
private static float topOffsetAmount_
public TwoUpPDF()
public static void main(String[] args)
args
- The command line argumentsWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses