05-01-2006 09:06 AM
05-01-2006 10:23 AM
05-02-2006 09:57 AM
Hi,
After posting my question I made some progress on my issue. The things which I am doing are:
1) Priting a bacode
2) Putting some text strings next to barcode.
For putting the text I am using the simple generate report VI's. The problem with this are I am not able to position the text on the barcode. I was able to change the font style and also the fnt size but is it possible to change the position where I want to put the text?
the next question is for printing the barcode, I have some active X controls for the printer to print the barcode. Could you tell me when can I use this one like before writing the text or after writing the text or does it at all matters?
there is another problem with using the Active X controls. When I use that, it is poping up an undefined error. I am new to Active X controls and all I am doing is opening the Active X control, feeding the input to print the Number and the position and then closing it.
I appreciate if you could direct me in a proper way to resolve this. For reference I am attaching my code with this message.
Thanks,
Mudda.
05-03-2006 04:48 PM
Mudda,
I don't think that using the report generation toolkit to add the image and text is the correct way to do what you want. Have you though of programattically creating the image of the barcode and inserting text into the image? I am not a huge expert at Report Gen Toolkit, but I do know that you want to place things one at a time and it looks like a report. Not like text, text, image, etc..... My way you can actually alter the image with the text, then print the image alone. Let me know what you think.
Tyler H.
National Instruments