# 安装说明 INSTALL.md

## 终端用户（推荐）

1. 打开 https://py99999.com/print-component/
2. 下载 **安装包** 或 **便携版**
3. 安装包：运行 `PrintComponent-Setup.exe`  
   便携版：解压 zip，运行 `PrintComponent.exe`
4. 启动后确认右上角能连通更新源（延迟 ms）
5. 需要网页打印：菜单 **API配置** → 启用 → 绑定打印机与 API 地址 → 保存并重启 API

## 直链

| 包 | URL |
|----|-----|
| 落地页 | https://py99999.com/print-component/ |
| Setup latest zip | https://py99999.com/download/print-component/PrintComponent-Setup-latest.zip |
| 便携版（落地页内） | https://py99999.com/print-component/PrintComponent-Portable.zip |

## 系统要求

- Windows 10/11 x64
- 自包含发布一般 **无需** 单独装 .NET（Release 包为 win-x64 self-contained）
- 打印机驱动已安装（汉印 HPRT / Godex / 系统 PDF 等）

## 首次配置建议

1. **打印机** Tab 选中实际标签机（如 HPRT N31）
2. 底栏 **测试打印** 确认出纸
3. **模块与更新**：检查更新源为 `https://py99999.com/print-update`
4. **API配置**：按业务绑定多通道（见 API.md）

## 数据与日志位置

```
%LocalAppData%\PrintComponent\
```

卸载便携版：删除解压目录 + 可选清理上述 AppData。
