I'm working on printing to a Zebra printer via HTTP POST, following the guidelines in https://developer.zebra.com/community/technologies/printers/label-printers/blog/2015/03/31/printing-from-websites-part-2…. Thanks for the helpful post! I'm using the Python requests library to send a POST request to the printer directly (handling this on the server side to avoid the CORS issue), and it's mostly working as expected.
However, I'm running into an issue when specifying a port in the URL. Everything works well if I send a request to e.g. http://10.0.1.237/pstprnt -- but when I try sending a request to http://10.0.1.237:9100/pstprnt, the printer still prints the label successfully, but the request never returns/terminates and hangs indefinitely (unless I force a timeout limit). Is this an issue anyone has seen before?
Thank you for your help!