PDFConvertor Embeding Fonts

Hi,

I am using Flexcel library to generate PDF report with barcodes (Code128 installed at server, http://www.fonts2u.com/code-128.font) with the following code:

                     FlexCelPdfExport Pdf = new FlexCelPdfExport(xls, true);
                    FileStream fStream= new FileStream(string.Format(@"C:\P{0}.pdf", DateTime.Now.ToString("yyyyMMddHHmmssfff")),FileMode.Create);
                    Pdf.BeginExport(fStream);
                    Pdf.FontEmbed = TFontEmbed.Embed;
                    Pdf.PageLayout = TPageLayout.Outlines ;
                   
                    Pdf.ExportAllVisibleSheets(false, "");
                    Pdf.EndExport();
                    fStream.Close();

But the file exported shows normal text instead of barcodes, and exporting to excel files shows the barcodes correctly.
How can I fix it?

Hi,

I've tried to create a file using code128, created a pdf with the code you sent, opened in acrobat XI in another machine (without code128 installed) and I couldn't reproduce it, the file looks fine.

Can you send me the pdf file you are getting so I can see if there is anything else that I am missing? (send me the file to adrian@tmssoftware.com )

Also just in case, what pdf viewer are you using? I've tried acrobat, osx-preview and pdf-xchange, and the 3 showed the bars.

Seems the OS messed up the font files which installs with the label printer driver...
After reboot and reinstall the font, problem fixed.

Anyway, thanks for helping.