11-18-2010 11:49 AM
I tried to print experiment labels through LabVIEW from Zebra label printer. Label size is 2.5'' X 0.5'', much smaller than regular paper size.
I used to Report Generation VIs to do the printing. The VI works fine if printing from a regular printer (regular paper size); but if printing from the Zebra label printer, VI finished running without error, but nothing printed out of the printer. My guess is because the paper size is not set right and the Zebra printer simply ignores the printing task. So can LabVIEW set up different paper size to print on?
How LabVIEW communicate with printers anyway? Through Windows system?
Thanks for any help.
11-19-2010 12:44 PM
Which VIs are you using? The Print Report.vi builds a HTTP report and then prints it using a web browser. You could always create a word report and then use an ActiveX automation of the Word Object Library to call the PrintOut method. I think that will let you do a little more configuration, you can find all of the information about the methods and properties of this automation on msdn. I hope that helps!
11-19-2010 01:07 PM
it has to be this complicated? Why LabVIEW does not have a function to configure paper size?
But I will try that route. Will post result or further questions. Thanks.