Using Bartender To Print Labels From A 3Rd Party Web Application
We market a cloud based ERP system that runs in a remote data center. We are evaluating integrating with a 3rd party barcode management software. Users access and use our ERP system through a web browser at their location (Firefox). These users want to be able to manage and print barcodes using Bartender. Bartender would be installed, configured, and running on their local netowrk. The ERP system needs to be able to send a command to Bartender with pertinent information that would trigger it to print a label. I assume this "pertinent information" would be a template file name (xxx.btw) and any dynamic data that would be printed on the label (barcode#, Invoice#, Serial#, etc...). Labels would be managed by Software.
1) It appears that the TCP/IP method may be viable, but I cannot find any examples. It is referenced in a few places. However, detailed instructions on how to do it are never included. An example is here... http://www.seagullscientific.com/media/101569/overview-of-commander-new-201406.pdf . Is there some place that has specific instructions on using the TCP/IP method.
2) One thing that I have not found, and it amazes me that you would not have it, is a web service that would simply post print requests to. These print requests (probably XML) would include the pertinent information mentioned above. Does Bartender have a web service API that allows print jobs to be triggered and data passed via a web uri?
The file detection, email detection, and TCP/IP socket methods are very "old school" and do not work cleanly in today's cloud world. I saw a post here from Ian C - Technical Ninja at Seagull that says "At this time I'm unable to go into details, so please don't ask, but we have a new release coming soon that will include functionality that addresses this particular need." If that is truly the case, good job! When!!!??? (I'm asking :-) )
This has been released with the newest release of BarTender. Check out BarTender 2016 and its 'Integration' improvements here: http://www.seagullscientific.com/label-software/barcode-label-design-and-printing/0
On the page you linked I see a section with an image showing "Web Service" next to " Seamless integration with systems and databases .
I also see it mentioned on this page talking about "Bartender Integration Builder". http://www.seagullscientific.com/label-software/barcode-label-design-and-printing/whats-new-in-bartender/
How do I find documentation on what is available in this specific Web Service API?0
Bump. Where can I review a copy of the Web Service API documentation? We need to make a decision for a customer, and this looks promising. But, we need to see the details.
Sorry for the delay in getting back to you on this. Yes BarTender fully supports web services as an event method that you build for the Integration Platform via the Integrations Builder app. We can consume both GET (with params) and POST (with CSV/XML/JSON/etc payload) methods. We can also send print verification responses back to the request origin, and optionally send on a web service request of our own should you so need. Yes we do currently lack documentation on how to do all this, but rest assured we are busy working on white papers and training videos to this effect. The BarTender Help system will also be updated with more detailed information in this area when BarTender 2016 R2 is released.
Meanwhile I attach a PDF that goes through the process of setting up and deploying a web service integration for a GET method message. To alter this for a POST you'd need to make use of the %EventData% variable, in your printing action, which is set to the content (payload) of your web service message.
Certainly based on your description, I don't see any reason why the Integrations Platform couldn't satisfy all your needs.
I hope this helps.0
New to Integrating with Bartender.
Any chance Integration Service Builder can be used for 10.1?
Trying to build myself a webservice from one web server (main prod server) to communicate to another server(separate server running bartender). Is this even possible? Anytime I try to reference the the Bartender .dll on my web application I start getting page errors.
jamesond: The Integration Platform is a BarTender 2016 only feature : http://www.seagullscientific.com/label-software/barcode-label-design-and-printing/0
Is there document on how to build a POST web service in bartender 2016?
My main question is how to use REST client app (for example, postman) to trigger a post method to print label.
I watched the video in youtube but I am not sure how the presenter updated the payload of post method to change the content of the label.
connie107: The attached PDF should help get you started.0
I would like to have send more than 1 record in a Post Web Service to Integration Builder and print send the labels one by once.
It will reduce number of round trips and save network bandwidth because the network in some developing countries are unstable and may break at any time.
Is there documentation to send POST (with CSV and XML payload) methods?
I am able to print label if input is JSON but no luck with CSV and XML. If the input is CSV/XML, the label is printed without the data passed.
connie107: See below an example using XML variables. Note that each variable name/value pair will substantiate an integration variable which you can reference in your actions. This example gives both meta data for what and where you wish to print, as well as data for setting to named data sources on the label.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Variables> <Variable Name="Document">Test1.btw</Variable> <Variable Name="Printer">Zebra ZT420 (300 dpi)</Variable> <Variable Name="IdenticalCopies">3</Variable> <Variable Name="PartNumber">XYZ123</Variable> <Variable Name="Description">My wonderful product.</Variable> <Variable Name="Price">€99.85</Variable> </Variables>
For CSV data to do the same, substantiate an integration variable for each CSV field, you would first run a "Transform to record set" action, followed by a "For each database record" action which would have contained within a "Print document" action where both meta and label data values can be used via integration variables if you wish.
It should be the case that when we release BarTender 2016 R3, in the not too distant future, we'll include integration building assistant wizards and a lot more helpul documentation in general.0
I can't seem to find the PDF that you mentioned that you attached.0
Try the following link: https://goo.gl/l1yegf0
Does Bartender's REST server support HTTP's OPTIONS method to handle cross origin calls (CORS) from a web app directly from client (browser)?0