How to generate Code39 barcodes in vb.net

后端 未结 10 1811
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 05:55

I want to create Code39 encoded barcodes from my application.

I know I can use a font for this, but I\'d prefer not to as I\'d have to register the font on the serv

10条回答
  •  盖世英雄少女心
    2020-12-08 06:40

    are you printing to a standard printer or an actual barcode printer (zebra or datamax)? both zebra and datamax have their own scripting languages - actually more like markup languages. ZPL and DPL respectively. I like zebra's more and their documentation is much cleaner.

    If you don't have a legitimate barcode printer, I suggest purchasing one and do the following.... (it'll be much cleaner than trying to work out building little image blocks and painting them to simulate a barcode font)

    both allow you great flexibility and you can let the printer handle creating the actual barcode image.

    have your program send a customized ZPL/DPL script that includes the values that you want to have printed as barcodes to the printer via ftp. basically, you just "put" a text file that contains the script to the IP of the printer and the printer takes care of the font.

提交回复
热议问题