We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

DOC to PDF with Code39 font


we are currently evaluating your product and everything is great! Except the DOC to PDF conversion. We use Code39 font (bar code) on a simple.DOC file. On the PDF the barcode is all right, but there is always blank lines (half page) appearing after the bar code. So everything after this is misplaced.

I use Aspose Word.NET version Here is a snippet of the code we use. I try several options but nothing works

public static void ConvertDocumentToPDF(string inputFileName, string outputFileName)
Document document = new Document(inputFileName);
PdfSaveOptions options = new PdfSaveOptions();
options.SaveFormat = SaveFormat.Pdf;

document.Save(outputFileName, options);

Please help me buy your product!


Hi Samuel,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-9967. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir,

thanks for your answer. By the way, I encounter the exact same problem when converting this .DOC to a .XPS file. Same result, if it can help...


Hi Samuel,

Thanks for your inquiry.

Yes, this issue seems to be related with output fixed file format (conversion of Docx to Pdf, XPS, Tiff).

We have a good news for you that is WORDSNET-9967 has now been resolved and its fix will be included in the next version of Aspose.Words (v14.4.0) which is planned to be released by the end of April 2014. We will inform you via this forum thread as soon as April release is published.

Good news indeed!

The issues you have found earlier (filed as WORDSNET-9967) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.