LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

printing bar code using HP printer

Hi,

I want to print a barcode using my HP deskjet 2540 series. I have installed code128 and fre3to9x fonts in the C:/windows/fonts folder. I am using windows 7 and labview 2009. I am attaching my code. Please help

Download All
0 Kudos
Message 1 of 9
(4,433 Views)

Hey,

 

could you please specify your problem, it would make things much easier to find an answer?

 

As things are now, I guess the answer is 42. 🙂

0 Kudos
Message 2 of 9
(4,421 Views)

As per the "detailed help" provided in labview, I selected the font code128 so that it can convert the text string in to bar code for print. But all it does it it prints the original text. For example, If I enter ABCD instead of converting it to corresponding bar code, it prints ABCD.

0 Kudos
Message 3 of 9
(4,402 Views)

Hey,

 

check out this link.

 

As dbriggs wrote  in the comments: "

Make sure the names of the fonts match. If an undefined font is selected then it prints the system(?) default. View the font list via the  'Install Font ...' link provided above.  I had to modify the Font Name from - 'Free 3 of 9' to 'Free 3 of 9 Regular' or 'Free 3 of 9 Extended Regular' in order to obtain proper printing"

 

Regards,

CMW...

0 Kudos
Message 4 of 9
(4,392 Views)
Hey, I tried the things you said, but doesnt work. fonts are correctly installed, I can see them in Microsoft word and print them also.
0 Kudos
Message 5 of 9
(4,376 Views)

Try increasing the size of your string indicator for the barcode.

 

I have seen strange behaviour where a barcode wont display at all or properly until the indicator (in LabVIEW) or cell (in Excel) in above a certain size.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 6 of 9
(4,364 Views)

doesn't work.. i tried

0 Kudos
Message 7 of 9
(4,347 Views)

How about the example from the community I linked before. Does it work?

Regards,

CMW

0 Kudos
Message 8 of 9
(4,324 Views)

yeah that works.. but I don't understand why the vi I made doesn't work?

0 Kudos
Message 9 of 9
(4,287 Views)