print with a specific thermal printer font(datamax thermal printer), not a truetype font?

Posted on 2007-08-09
Last Modified: 2013-11-05
I had a ,NET application supposed to use my thermal printer(datamax) to print  some barcodes.

I have downloaded the windows driver for datamax printer from segual scientific and created new barcode font usind driver,

I was managed to select the font in excel (Datamax-UPC) but in .net forms i am unable to see this font.
How do i print ?
Question by:niger007
    LVL 96

    Expert Comment

    by:Bob Learned
    While I haven't used that specific font, it sounds like you have a non-TrueType font, and .NET doesn't allow that type of font.

    LVL 7

    Accepted Solution

    You have 2 options:

    1. Use PInvoke to communicate with the Winspool.drv DLL to send raw ASCII codes to the printer driver. That gives you complete access and control of the printer. However, it limits you to features that are supported by that printer driver, and means your application will work only on that driver. When the manufacturer changes the driver, and they will, you have to rewrite your code. When the user tries to use another printer, and they will, you rewrite your code. When two users have two different versions of the same driver, and this will happen, you get to rewrite your code to handle runtime hardware dependencies. Do not do this.

    2. If you're trying to draw barcodes, you can download a free barcode printing assembly from and draw barcodes on any printer using standard .Net printing commands. This is the way to go.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
    The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now