This post may be helpful: Star Receipt Printers not supported in Star Line mode with QZ Tray switching to ESC/POS emulation