I'm trying to print shipping labels when fulfilling an order. When I do print labels it puts the ZPL file in my downloads. I'm trying to figure out how to print directly to a networked zebra printer, but I've come up short on my google foo. I'm on a mac, but I can switch to a windows environment if I need to.
what i do on linux is print directly to networked printers using a shellscript as follows:
dliu
11/27/2018, 11:03 PM
lpr -P $SHIPLABELPRINTER -o raw "$1"
dliu
11/27/2018, 11:04 PM
where the first variable is the system printername and the second is the filename. works like a charm, mostly,
dliu
11/27/2018, 11:04 PM
can probably adapted to mac. i am pretty sure it can be done in win as well
dliu
11/27/2018, 11:36 PM
@Bill Tyler also should mention that i configure my print script as the default handler for .zpl extension in the system, so depending on your browser setup you can either click it to 'open and print' or possibly auto-open which prints the label. I use this for item labels as well;