LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating and printing 2d barcode with labview

I had to create a 2d barcode in my application. I use an active-X-element witch generate the code. The problem is, that i can't print the code. The Active-X-methode needs a device context as a handle. We tried the createDCA() function (gdi32.dll), but it didn't work.
Is there someone who have an 2d-barcode generator for useing in LabVIEW? Or have someone VI's for generating a printer-handle?
0 Kudos
Message 1 of 18
(7,603 Views)
Hello Gehill,

Thank you for contacting National Instruments.

Am I correct in assuming that you are trying to print from the activeX object? If so, you might want to contact the developer of your object to find out if you can and how to print.

In answer to your last two questions; no, National Instruments does not have any 2d-barcode generators. Perhaps another forum user will be able to help you there.

If you would like, you can post your VI including the activeX object and I will see if I can work through the problem.

Have a great day.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 18
(7,603 Views)

Hello..

I need to generate and Print a 2D barcode from my labview VI... is there any example VI ?.. I don't know what to do first for this..

Do I need to purchase a special software to be able to use it from labview?

If the answer is yes...what type of software?

please help.

Thank you!

0 Kudos
Message 3 of 18
(6,661 Views)

Well first off, replying to an 8 year old thread is not usually the best way to start but, we can still help.

 

a few question first.

  • Are you using a printer? what kind?
  • What 2D Barcode format will you use? there are several

"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 18
(6,656 Views)

Perhaps you can use the attached as a starting point.

You will also need the .DLL from installing:

http://bytescout.com/files/BarCodeGenerator.exe

0 Kudos
Message 5 of 18
(6,650 Views)

Thank you for responding!

The code I need is "QR Code"

Yes... I will need to print this barecode wih some extra information on the right side of the bar code in a label printer machine... I don't have the printer but if you have a brand and type you may recommend to me please do..

 

Gracias!

I'm in Acuna Mexico

0 Kudos
Message 6 of 18
(6,645 Views)

Hello PCARDINALE...

Can you send me the VI for labview 11.01 version?

I don't have version 12 yet....

Thank you very much for your support!

I can see 5 VI's inside the Zip file.... I'm assuming that the one I need is the Barcode_generator VI.....correct?

 

Saludos!

0 Kudos
Message 7 of 18
(6,642 Views)
0 Kudos
Message 8 of 18
(6,620 Views)

@paul_a_cardinale wrote:

Here it is.


why did you not enclude the dependant dll?  or at least a link to it?


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 18
(6,618 Views)

If you have access to the internet at the time you need to generate the QR Code, you can use this VI from the LAVA forums to call the Google API.

 

No DLL required.

 

http://lavag.org/topic/15394-labview-can-generate-qr-code-or-not/page__view__findpost__p__92821

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 10 of 18
(6,605 Views)