Hello,
we are evaluating PCL to PDF transformation in z/OS UNIX environment before purchase.
We are created a Java program for execution in this environment using aspose-pdf-20.2 pdf
The code is
String input = args[0];
String output = args[1];
String fontPath = args[2];
List fontPaths = FontRepository.getLocalFontPaths();
fontPaths.add(fontPath);
FontRepository.setLocalFontPaths(fontPaths);
PclLoadOptions loadoptions = new PclLoadOptions();
Document doc = new Document(input, loadoptions);
doc.save(output);
The values are
input: /u/sa80903/PCLtoPDF/pcl5cv1.pcl
output: /u/sa80903/PCLtoPDF/pcl5cv1.pdf
fontPath: /usr/local/share/fonts/
Truetype Windows fonts have been copied before execution
The program in Windows runs correctly.
Can you tell us how to solve the problem? Is a library bug for z/OS UNIX enviroment?
Thanks.