English | 日本
BCL Technologies
View shopping cart

BCL easyPDF SDK

PDF Creation Toolkit for Your Windows-Based Java Applications

A few lines of Java code are all it takes to get started to convert a document to PDF in your Windows-based Java application:

...
IPrinter printer = new IPrinter();
IPrintJob pj = printer.getPrintJob();
pj.PrintOut(inputFileName, outputFileName);
...

See the entire Java code

  • “We use easyPDF SDK technology for PDF conversion and it works very well. We knew BCL is a solid company. We have also looked at several competitors and tried to use their products, but we like easyPDF SDK the best. When we talked to BCL Technologies’ design engineering team, we knew they had the knowledge and confidence to solve our problems.

    - Chris Babiasz, MSWireless

Comprehensive PDF Features

BCL easyPDF SDK comes with all the PDF features that you may need in developing Windows-based Java applications:

  • CREATING PDF
  • PROCESSING PDF
  • RASTERIZING PDF
  • PDF FORM

Creating PDF in Java

Code Snippet

...
File inputFile = new File(args[0]);
String inputFileName = inputFile.getCanonicalPath();

File outputFile = new File(args[1]);
String outputFileName = outputFile.getCanonicalPath();

EasyPDF.initialize();

IPrinter printer = new IPrinter();
IPrintJob pj = printer.getPrintJob();
pj.PrintOut(inputFileName, outputFileName);

EasyPDF.uninitialize();
...
                  

See the entire code

Processing and Manipulating PDF in Java (Merging, Splitting, Rotating, Deleting, Extracting, Optimizing, etc)

Code Snippet for Merging PDF Files

...
File inputFile1 = new File(args[0]);
String inputFileName1 = inputFile1.getCanonicalPath();

File inputFile2 = new File(args[1]);
String inputFileName2 = inputFile2.getCanonicalPath();

File outputFile = new File(args[2]);
String outputFileName = outputFile.getCanonicalPath();

EasyPDF.initialize();

IPDFProcessor pcr = new IPDFProcessor();
pcr.Merge(inputFileName1, inputFileName2, outputFileName);

EasyPDF.uninitialize();
...
                  

See the entire code

Rasterizing PDF in Java

Code Snippet

...
File inputFile = new File(args[0]);
String inputFileName = inputFile.getCanonicalPath();

File outputFile = new File(args[1]);
String outputFileName = outputFile.getCanonicalPath();

EasyPDF.initialize();

IPDFConverter cvtr = new IPDFConverter();
IPDF2Image pti = cvtr.getPDF2Image();
pti.Convert(inputFileName,outputFileName,null,null,null);

EasyPDF.uninitialize();


...
                  

See the entire code

Processing PDF Form Fields in Java

Code Snippet

...
IFormField myFormField;
ITextField myTextField;
IComboField myComboField;

File inputFile = new File(args[0]);
String inputFileName = inputFile.getCanonicalPath();

...

EasyPDF.initialize();

IPDFDocument doc = new IPDFDocument();

doc.Open(args[0]);

IFormFields formFields = doc.getFormFields();
int nItems = formFields.getCount();

for (int i = 0; i < nItems; ++i)
{
    myFormField = formFields.getItem(new Integer(i));

    if (myFormField.getType() == docFormFieldType.DOC_FRMTYPE_TEXT) {
        myTextField = (ITextField) myFormField;
        System.out.println("Field name = " + myTextField.getName());
        System.out.println("getPassword = " + myTextField.getPassword());
        System.out.println("getMaxLen = " + myTextField.getMaxLen());
		...
		...

    }else if (myFormField.getType() == docFormFieldType.DOC_FRMTYPE_COMBO ) {
        myComboField = (IComboField) myFormField;
        System.out.println("Field name = " + myComboField.getName());
        System.out.println("Custom value = " + myComboField.getCustomValue());
        System.out.println("Custom value enabled = " + myComboField.getCustomValueEnabled());
		...
		...

    } else {
        System.out.println("Field name = " + myFormField.getName());
    }
}
System.out.println("\n\n");
IRadioField myRadioField;

...

myFormField = formFields.getItem(new String("Gender"));
System.out.println("Field name = " + myFormField.getName());

myRadioField = (IRadioField) myFormField;
System.out.println("Field name = " + myRadioField.getName());
System.out.println("getNoToggleToOff = " + myRadioField.getNoToggleToOff());
System.out.println("getRadiosInUnison = " + myRadioField.getRadiosInUnison());
...
...

EasyPDF.uninitialize();
...
                  

See the entire code

Request Pricing
BCL easyPDF SDK is a commercially supported PDF toolkit.

Download Free Trial
For Windows-based systems only.

Fully functional, with 30-day expiration.

QuickStart Video
Watch a QuickStart Video on how to use easyPDF SDK in Windows-based Java Environment.

PDF Features

Sample Projects and Documentation

Who uses easyPDF SDK?

ARTC MS Wireless Northrop Grumman Taxworks
-
Developer Tools | Desktop Products | Services | Success Stories | Free Downloads | Purchase | Support Site Map
© 1993 - , BCL Technologies. All other trademarks are the property of their respective owners. Terms & Privacy Statement