Siraya Printer Service — Windows 10 install (USB)
=================================================

WHAT IS ON THIS USB
-------------------
Copy this whole folder to the register PC (or run from the USB drive).

  Install.cmd              <- double-click this (admin once)
  install-from-folder.ps1
  payload/win-x64/app/     <- print agent (no node_modules yet)
  payload/win-x64/runtime/ <- bundled Node.js for Windows

REQUIREMENTS
------------
- Windows 10 or 11 (64-bit)
- Epson (or other) receipt printer installed in Windows Settings -> Printers
- Internet on first install (downloads npm packages once, ~1 minute)

INSTALL STEPS
-------------
1. Plug in your USB thermal printer (if not already).
2. In Windows, add the printer: Settings -> Bluetooth & devices -> Printers
   -> Add device (or use Epson driver CD / Epson website).
3. Copy this folder to the PC desktop (recommended), e.g. C:\SirayaPrinter\
4. Double-click **Install.cmd**
5. Click **Yes** on the UAC (Administrator) prompt.
6. Wait until the browser opens: http://127.0.0.1:5000
7. Select your **receipt printer queue** -> Save selection -> **Print test receipt**
8. Open Siraya POS in the browser: http://95.216.33.246:3000/pos
   (POS must run on THIS same PC for printing to work.)

AFTER INSTALL
-------------
- Service name: SirayaPrinterService (starts on boot)
- Installed to: C:\Program Files\Siraya\Printer
- Setup / test: http://127.0.0.1:5000
- Receipt layout: http://127.0.0.1:5000/designer
- Install log: %TEMP%\SirayaPrinter-Install.log

TROUBLESHOOTING
---------------
- "Payload not found" -> copy the full folder including payload\win-x64\
- Install fails at npm step -> check internet, retry Install.cmd
- Test print OK but no paper -> pick the correct queue (Epson TM, not PDF/XPS)
- POS does not print -> use POS on this PC; agent is http://127.0.0.1:5000 only
