Hi Team ,
While converting the Pcl file to Tiff using aspose words in java .File can’t be opened error occured.can u help me to rectify it. and please do share the source code.
sample input :-pclfile.zip (1.5 KB)
Thanks and Regards
Pavithra sudhakaran
@pavithrasudhakaran
Your query is related to Aspose.PDF. So, we are moving this forum thread to Aspose.PDF forum where you will be guided appropriately.
@pavithrasudhakaran
Can you please share the used sample code, generated file and snapshot of the error. We will be able to investigate that on our end on provision of requested information.
Hi Team,
I searched source code for pcl to tiff conversion. so i tried using pcl to pdf to tiff but while converting pdf , i can’t able to open the pdf file below is the source code.
package com.aspose.pdf.examples;
import java.io.FileNotFoundException;
import java.nio.file.Path;
import java.nio.file.Paths;
import com.aspose.pdf.*;
public final class ConvertPCLtoPDF {
private ConvertPCLtoPDF() {
}
private static Path _dataDir = Paths.get("/home/admin1/pdf-examples/Samples");
public static void main(String[] args) throws FileNotFoundException {
ConvertPCLtoPDF_Simple();
ConvertPCLtoPDF_Advanced();
}
public static void ConvertPCLtoPDF_Simple() {
PclLoadOptions options = new PclLoadOptions();
Document pdfDocument= new Document(_dataDir + "demo.pcl", options);
pdfDocument.save(_dataDir + "epub_test.pdf");
}
public static void ConvertPCLtoPDF_Advanced() {
PclLoadOptions options = new PclLoadOptions();
options.SupressErrors=true;
Document pdfDocument= new Document(_dataDir + "demo.pcl", options);
if (options.Exceptions!=null)
for (Exception ex : options.Exceptions)
{
System.out.println(ex.getMessage());
}
pdfDocument.save(_dataDir + "pcl_test.pdf");
}
}
.
The source file:pclfile.zip (1.5 KB)
ouput file:epub_test.zip (821 Bytes)
Thanks and regards
Pavithra sudhakaran
@pavithrasudhakaran
A ticket with ID PDFJAVA-40882 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.
Hi Team,
Is there any update on the above ticket …
Thanks and Regards,
Pavithra sudhakaran.
@pavithrasudhakaran
Please note that it was logged in free support model and will be investigated and resolved on a first come first serve basis. We will surely inform you as soon as we make some definite progress towards its resolution. Please be patient and spare us some time.