Hello,
we are using Aspose Words and Aspose PDF to save and convert our Docx Templates as/to PDF.
First we open the document by Aspose Words and save it via follwing Code:
DirectoryInfo directoryInfo = null;
string directory = @“C:\temp”;
directoryInfo = new DirectoryInfo(directory);
var filepath = Path.Combine(directoryInfo.FullName,“TestDoc.docx”);
Aspose.Words.Document doc = new Aspose.Words.Document(filepath);
string tmpPdfFile = filepath.Replace(".docx","_tmp.pdf");
doc.Save(tmpPdfFile,new PdfSaveOptions
{
SaveFormat = SaveFormat.Pdf,
Compliance = PdfCompliance.PdfA1b
});
After saving it by Aspose.Words we are converting it again (this second conversion is redundant and was intended for conversion into other Pdf Formats):
string pdfFile = filepath.Replace(".docx",".pdf");
var pdfDocument = new Aspose.Pdf.Document(tmpPdfFile);
pdfDocument.Validate(filepath.Replace(".docx",
“_AsposeWordsPdf_log.xml”), Aspose.Pdf.PdfFormat.PDF_A_1B);
pdfDocument.Convert(filepath.Replace(".docx",
“_AsposePdf_log.xml”),
Aspose.Pdf.PdfFormat.PDF_A_1B,
Aspose.Pdf.ConvertErrorAction.None);
pdfDocument.Save(pdfFile);
However the resulting Pdf file was somehow coruppted. When looking at it on Screen everthing seems fine, but printing it resulted in either PCL XL InsufficientMemory Errors or ErrorCode 49.4C02 on our printers. On another Printer all Textpassages in the Font Calibri have been all black. So we ended up removing the second conversion va Aspose Pdf again.
Is there something wrong with the second conversion or is this a bug in your PDF library?
I added a simple source Doxc document and the resulting pdf and log Files by validating the generated words pdf file (a) and the converted pdf pdf-file (b). I also attached a scanned Version of the printed pdf document that was converted with apose pdf.
Best regards,
W.Wahidie
Hi there,
Hi, i used Aspose.PDF for .NET Version 11.3.0. I tested printing the attached PDFA TestDoc document. The text was all blacked out again. However both documents are looking fine on Screen.
Hi there,
Hi again,
i tested printing some documents on MS XPS writer. The resulting documents are looking fine.
Hi there,
Hi again,
i tested printing the converted document on 3 different Network Printers.
HP Laserjet 100 Color MFP M175NW --> Error 49.4C02
HP Color Laserjet CP3525X --> Error 49.4C02
Konica Minolta bizhub C454e
–> Textpassage is blacked out
There is no issue when i try to print the pdf which has been saved by Aspose.Words on any of those printers.
Hi there,
Ok fine. Thank you!
Hi,
is there any update for this Ticket?
Best Regards
Thanks for your inquiry.
I have checked the status of earlier logged issue and I am afraid that it is not yet resolved. Please note that there are other pending issues in the queue which were logged prior to this and product team has been busy in resolving them. I have recorded your concerns and intimated relevant team about them. As soon as we have some definite updates regarding resolution progress, we will let you know.
Please be patient and spare us little time. We are sorry for this convenience.