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 pdfToolbox SDK article.
Executing a sample using callas pdfEngine SDK
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
You can find a list of all predefined Profiles that come with the package here.
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 'license code' './var/Profiles/PDFX compliance/Convert to PDFX-4 (PSO Coated v3 (ECI)).kfpx' './hello.pdf' './out.pdf'
The command has the apt arguments, which are:
1. path to the pdfToolboxSample (executable)
2. the keycode (from the license file that you might have received from callas or its resellers)
3. path to the profile that needs to be executed (.kfpx)
4. path to the input file
5. path and name of the output file
On executing:
Success!