To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI prints a BarCode to any available printer available on your PC
Description
When this VI runs for the first time, it queries all the available printers on the user's system into a 1D array. Then the user specifies a printer to be used with an index array function and prints the given string as a bar code with the available bar code font. Note that the bar code is not printed from an image, so all the capabilities of the printer are used. In order to use this VI correctly, run this VI once with the 'Printer to Use' control set to 9999 to query all the available printers on the system without printing. Then run a second time with the 'Printer to Use' control set to the number of the desired printer, the Font name set to the Bar code font available on the PC and the 'Barcode to Print' set to the string of the desired Bar code.
Requirements
LabVIEW 2012 or compatible
Barcode Font - Download
Link showing how to install fonts on Windows machine
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange. **
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
What if the barcode font is not installed on PC, but on printers instead.
I tried your code, but it did not print, I guess it is because LabVIEW requires the font be installed locally before it can print?
hi , i want to print barcode type code 128 how can do it
Thanks for your sharing on printing barcode from string.
But I want to know wether it support printing most linear and 2d barcode?
Hope anyone can tell me. Thanks!
Hi,
I have a zebra designer suit for barcode printing. There is possiable to print the barcode from the labview?