Print label on workflow

emanuelesignori
Kilo Contributor

Hi all,

is there a way to print a label (for example over a Zebra printer) from a workflow on Servicenow? We have also a MID Server, we can use it for print? How could we do?

Thanks in advantage!

Best regards,

Emanuele Signorin

16 REPLIES 16

Anurag Tripathi
Mega Patron
Mega Patron

Hi Emanuele,



I havent done this personally but it should be possible.



One way I would try is invoking the print call directly in the workflow, but i am not sure about how it will find the printer etc. But making a call to Mid Server and run coomands there should definitely be an option.



Do post the solution as to how you achieved it, it will be a good read.


-Anurag

Hi Anurag,


thanks for the reply.


How can i invoke the print call diretly in the workflow? And how i can make a call to Mid Server?



Thanks!


Hey Emanuele, were you able to find a solution to your question? I am looking to do the same. Looking to print on a label from a network attached zebra printer.


Thanks.


siva_dirisala
ServiceNow Employee
ServiceNow Employee

This is an interesting question. I haven't tried this but I think you can do this using Zebra printer's Browser Print SDK API. On this page there is a link to the user guide. From what I understand, installing that software runs a service on the machine (Windows or Mac) and then they have JavaScript API to interact with the local service, typically via browser (may be they are compatible with NodeJs, not sure). You may have to study the HTTP calls being generated by the API to directly use those calls if you can't make use of the JS library.