Printing a Barcode

  •  12-20-2007, 11:13 AM

    Printing a Barcode

     

    This is my problem:

    I’m using a barcode font to print out barcode on PDF file

    (inputted from HTML string). It works on my local PC,  but when I put the same code and same font

    on web server, it does not produce the barcode on the PDF file

    Here is my HTML code:

    <span style="font-family: Free 3 of 9; font-size: 22pt">*91719056-100146*</span>

    where the barcode font name is Free 3 of 9 which has been installed

    on both PCs under "Windows"Fonts folder.  I also checked security

    access to that file, both machines are showing the same.  Why CuteSoft

    component produces different results? 

    And here is the code that produces the PDF file:

        objHtmlToPDF = new CuteEditor.Convertor.PDF.HTML2PDF(strViewDocData) 

        objHtmlToPDF.RenderSinglePageContent = false

        objHtmlToPDF.PageHeight = 785

        objHtmlToPDF.Render()

        objHtmlToPDF.Save(FileName)

        objHtmlToPDF = nothing

    Thanks

View Complete Thread