Printing ZPL Code to a Shared Printer

Hi, I have stored as variables the Shared Printer path and the ZPL Code.
I need a method of printing the string directly and cannot find much using google.
I can print the string via IP address but our printers will never be used via IP Address in Production.

If i print the ZPL Code manually the correct label prints out of the Zebra label Printer, I’m just not sure how to have that automated on a trigger i can set from the ShipHead table.