01-10-2014 02:48 PM
I am using a Brady Printer IP 300 and would like to print the output of two strings to a label. Is there a vi that I can use to print the labels? I am using THT-59-423 size labels to print on. On the label I would like one line to read our part number and the line below it to read the serial number, example:
Part # 1234
Serial # 0001
Any help would be reatly appreciated!
01-10-2014 03:55 PM
Like most programs, LabVIEW uses the windows printer driver that you would have presumably loaded. Then you can use the Report Generation functions. Alternatively, set VI Properties>Print Options to print on completion. I typically use this with a subVI I pass the text to.
01-13-2014 12:38 PM
I know why I was having such a hard time with following examples, I didn't have the report generation vi's loaded. I now have them and the code that I have written is attached. What I am wondering now is how to set the printer settings so that I can print to the printer, my printer is erroring out because the wrong type of paper is set (it reads error No label size, on my printer) Any suggestions?
01-13-2014 12:54 PM
There is a function to Set Report Margins and a Word function called Word Set Paper Size.
I use the report functions so seldom that I don't remember the exact functions to use for the label printer, sorry.
01-13-2014 01:10 PM
01-23-2014 07:41 AM
I made a few adjustments. Word does not let you save the print properties in the advanced settings and this is problematic (I designed a template in order to have the correct settings and paper size I needed). If you use the attached vi (same name but different vi than I posted earlier) and design an Excel file that will print the label how you would like to see it, this should work nicely. The biggest thing is that the printer company suggested their Labelmark 5 software for making the labels and LabVIEW doesn't communicate with it. Hope this helps someone that is trying to accomplish the same thing
04-30-2015 08:54 AM
I know this is an old thread, but i found it searching to do the same thing.
The much easier solution is to open a FTP connection to the printer and store a file in the 'execute' folder on the printer.
The file will be read and the label printed.
The programming guide can be found at cab's website:
Programming Manual
J-Scirpt and abc for cab printers
https://www.cab.de/en/support/support-downloads/?suchtyp=art&gruppierung=4&kategorie=32
07-26-2016 12:59 PM
Hello Pgstein,
Thank you so much for sharing the Printer VI. Could you please help me with the following questions: 1) To use your VI, I don't need to install the driver of the printer, right? 2) The Logo and font in the internal memory will lose if reboot the printer. 3) Do you have a VI to show how to down load the Logo and font?
Regards!
Steven
07-27-2016 01:47 PM
Hello StevenInToronto,
I don't know the specifics of this VI or what Pgstein created, but from the way the VI looks, it doesn't appear to need any specific driver to be installed to the printer. As far as the memory of the printer is concerned, I would imagine that the printers memory is volatile which is why the code instructs you to load the logo and the font from a known location. As far as replicating this load, you would really need to ask Pgstein and if he did not respond it might be a good idea just to ask this as a general question in a brand new post. You could link this one as a reference but you might have a better response from the community!
08-02-2016 08:05 AM - edited 08-02-2016 08:06 AM
Here is the vi I wrote to upload the logo and font files to the printer.
It basically searches the directories on the printer, and uploads if it doesn't already exist.
I don't believe the file will be erased when the printer is turned off, but I am not sure.
I call this VI before every print. If the label and font are already there it does nothing.
NOTE: To FTP, The printer must have Security Turned ON with a password of 0000!
If you have any questions let me know,
Paul