callas pdfEngine SDK: First steps
callas pdfEngine SDK is the name of callas' software development kit package name. The product related features (pdfToolbox or pdfaPilot) are activated using a license. This package includes full documentation and sample codes and contains executables and source code for all supported environments (C/C++, C# and Java).
To know more about the file components inside the package, go to File components and their use in pdfaPilot SDK article.
Executing a sample using callas pdfEngine SDK
Please note: This article refers to pdfToolbox but pdfaPilot functions in the same way.
Once you have activated your SDK using a license, you can run a sample, in this example 'pdfToolboxSample'. You can see below all the pre defined modes, along with the arguments that can be executed.
For example, pdfToolboxSample <keycode> --listlanguages
Executing a profile
In the example below, a profile 'Convert to PDFX-4 (PSO Coated v3 (ECI))' has been executed on the source file 'hello.pdf'. The command looks like this:
/Users/a.choudhary/Downloads/callas\ pdfEngine\ SDK\ 2/pdfToolboxSample JDEAXKQ3JAXN9HH695YC93QKHMWBMLPFTE65TJ6B3CYS /path to/Convert\ to\ PDFX-4\ \(PSO\ Coated\ v3\ \(ECI\)\).kfpx /path to/hello.pdf out.pdf
The command has the apt arguments, which are:
1. path to the pdfToolboxSample (executable)
2. the keycode
3. path to the profile that needs to be executed (.kfpx)
4. path to the input file
5. name of the output file