03-01-2023 11:17 AM
I've been implementing a brother label printer into my labview application. I have the bpac3 sdk and can successfully print a label using the standard method and property functions of a .net object. I'm struggling to implement an event which after issuing a print, should inform me if the print was successful.
They provide examples in several language (but not Labview). I've been looking at the VB example on creating a callback, but can't get the event to trigger my callback in tabview. I'm using the register event callback in the labview .net section. I run this then sit a loop (until I hit stop) to allow time for the print job to start and complete, but my callback vi does not ever receive an event. I just have a simple dialog to appear if the callback is run.
Any ideas?
Thanks,
James
03-01-2023 12:27 PM
I created some sample code. This actually does print the label, but as I said once I send the print job to the printer, it do not get an event to tell me if successful or not. For example, if the print does not have a label cartridge, I can send the print job, but the job will fail.
Thanks,
James
06-20-2024 03:21 AM
I have been looking at this yesterday.... Thought I would utilise an existing printer we have.. On looking at the bpac install it is using activex not .net dll...
06-20-2024 01:33 PM
I would like to use this method (ActiveX) but it tells me that the object is not creatable. Any ideas?
06-20-2024 03:48 PM
Can you please check out my snip of code and maybe give me some insight as to why I am getting the error?
06-20-2024 04:07 PM
I tried changing up the code a little bit. And now I get no errors BUT STILL NO PRINTED STICKER. Is there other documentation on how to use .NET, rather than ActiveX with the printer? And where is the documentation in general? I have the P-Touch software on my computer and can print a sticker successfully. But as soon as I try, using their sample code or my LabVIEW code it doesn't work.