CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Posts
    1

    How to generate Barcode in c++?

    Hello,

    I''m searching for an barcode generator on internet, but I can't find a example of how it works
    can somebody help me with this?

    greetings,

    RS

  2. #2
    Join Date
    Apr 2009
    Posts
    598

    Re: How to generate Barcode in c++?

    First beware, there are several kinds of barcodes. I like "3 of 9" (or 39) because it is simple.

    You can

    - draw black rectangles (with Rectangle() API) following the standards of the barcode, which is something that is not very difficult to do.

    - write text (using DrawText() or ExtTextOut() API) using a font for barcodes (with CreateFont(), SelectFont() API). Free true type fonts for barcodes are easy to find and to download from the internet.

  3. #3
    Join Date
    Feb 2005
    Posts
    2,160

    Re: How to generate Barcode in c++?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured