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

    print code bar directly in printer

    hi,
    i need print a code bar directly in my printer
    i have a code that generate a code bar in a picturebox.
    when the codes are less than 5 digites the reader can understand the code
    that was printed and the bar are not equal when i compare with the bar
    that was printed with other software, the bar that my code generate have
    the spaces bigger than the normal and uses more space.
    and because of that when i try print more than 13 digits i simple
    don´t have more space in the paper for print.
    So my question anyone have a code for print the bar directly in the printer
    without using a picturebox? or if use a picturebox at least that the bar is
    good reading.
    thanks a lot for your help

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: print code bar directly in printer

    Look up SVG. Scalable Vector Graphics. It allows you to draw a box that scales and prints
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: print code bar directly in printer

    You can use fonts for printing certian barcodes. Code 3 of 9 for example. Do a search for barcode fonts.

    Also some printers include direct support for barcodes these have ways where you can directly code the barcode and the printer will create the image at print time.

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