Requirements

  • PHP >= 8.3 with the sockets, intl, and openssl extensions.

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/darkterminal/escpos-printer-server/main/scripts/install.sh | bash
cd ~/.local/share/escpos-printer-server
./eps --role http

Windows

  1. Download the eps-windows-bundle archive from the Release Page.
  2. Extract it somewhere on your system.
  3. Run eps-install.bat to install and start the EPS-WS and EPS-HTTP services via NSSM.
  4. Need to uninstall? Run eps-uninstall.bat.

After installing via eps-install.bat, the Windows services run the server and expose the same surface as the Linux/macOS bundle:

  • Web GUI: http://localhost:1100
  • WebSocket: ws://localhost:1945

Run

./eps --role http

The Web GUI is served at http://localhost:1100. The WebSocket server listens on ws://localhost:1945.

Next steps