Print to Zebra printer in php

前端 未结 5 1780
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 00:15

Looking for the proper code to print from php web page to a zebra IP printer using RAW port 9100. Does anyone know if this is possible? I need to send a string in ZPL format

5条回答
  •  庸人自扰
    2020-12-29 01:03

    I hope, this simple code will resolve the problem,

    1. Put your ZPL code in a file e.g "barcode.zpl"
    2. Share your Zebra Printer, so that it can be accessed In Windows Explorer by typing
      e.g "\192.168.1.113[YOUR PRINTER NAME]";
    3. Create PHP File, and write code:

    Thank You

提交回复
热议问题