PrtEasySetup is a lightweight, automated printer deployment utility designed for IT Administrators and Managed Service Providers (MSPs). It solves the tedious problem of parsing driver INF files and integrates "Profile Creation," "Driver Installation," and "Settings Backup/Restore" into a single executable.
- Smart INF Parsing: Built-in parsing engine optimized for major brands like HP, Epson, Brother, Kyocera, TSC, etc. It automatically filters out noise (e.g., Fax drivers, Utility drivers) to precisely identify printer models.
- Automated Installation: One-click automation for creating TCP/IP or USB ports, registering drivers (using
printuiforce install technique for high success rates), and adding printers. - Settings Backup & Restore: Capable of backing up detailed printer preferences (Duplex, Tray Selection, Color/BW) and automatically restoring them during deployment (
set.dat) to ensure consistency across all users. - Path Aware: Supports running directly from Network Shares (NAS/Server), automatically handling permission and path issues.
- Portable: No installation required. Runs from a single EXE file.
Place PrtEasySetup.exe in the same folder as your printer driver files (.inf, .dll, .cat, etc.).
Run PrtEasySetup.exe as Administrator.
If running for the first time in the folder, the tool detects no ip.ini and guides you through setup.
- Input Connection Info: Enter the Printer IP. For USB printers, type
usb(auto-detects virtual USB port).
- Select Model: The tool scans INF files. Select your specific model if multiple are found.

- Confirm & Install: Profile
ip.iniis created. Click "Yes" to deploy immediately.
If ip.ini already exists, the tool skips setup and installs immediately. Ideal for mass deployment via login scripts or RMM.
- Backup: If the printer is installed but
set.datis missing, it asks to backup current settings (Paper size, Watermarks, etc.). - Restore: If
set.datexists, it applies these settings automatically after installation.
PrtEasySetup.exe: Main Application.ip.ini: Auto-generated config file. Format:ip, [IP/USB], [Printer Name], [Driver Name], [INF File], [Flags]set.dat: (Optional) Binary backup of printer preferences generated byrundll32 printui.dll.
- This tool is wrapped from PowerShell. Some Antivirus software (e.g., Windows Defender SmartScreen) might flag it as "Uncommon".
- The file is digitally signed with a valid OV Code Signing Certificate. Please add it to your trust list if blocked.
PrtEasySetup 是一個輕量化、自動化的印表機部署工具,專為 IT 管理員與 MSP 服務商設計。它解決了繁瑣的驅動程式 INF 解析問題,並將「設定檔建立」、「驅動安裝」、「設定備份與還原」整合在一個執行檔中。
- 智慧 INF 解析:內建針對 HP、Epson、Brother、Kyocera、TSC 等品牌的專用解析引擎,能自動過濾雜訊(如 Utility、Fax 驅動),精準抓取印表機型號。
- 自動化安裝:一鍵完成 TCP/IP 或 USB 連接埠建立、驅動程式註冊 (使用
printui暴力安裝技術,確保成功率) 及印表機新增。 - 設定備份與還原:可備份印表機的細部設定(如單/雙面、紙匣選擇、黑白/彩色),並在部署時自動還原 (
set.dat),確保所有使用者設定一致。 - 路徑感知:支援從網路共用資料夾 (NAS/Server Share) 直接執行,自動處理權限與路徑問題。
- 簡單易用:無須安裝,單一 EXE 檔案即可運作。
將 PrtEasySetup.exe 與印表機的驅動程式檔案(.inf, .dll, .cat 等)放在同一個資料夾中。
以「系統管理員身分」執行 PrtEasySetup.exe。
如果是第一次在該資料夾執行,程式會偵測不到 ip.ini,並引導您建立。
- 輸入連線資訊: 輸入印表機的 IP 位址,如果是 USB 印表機,請輸入
usb(程式會自動偵測對應埠口)。
- 選擇型號: 程式會自動掃描目錄下的 INF 檔。如果包含多個型號,會跳出選單供您選擇。

- 確認設定: 設定檔
ip.ini建立完成,視窗會顯示解析出的型號與連接埠。
- 立即安裝: 程式會詢問是否立即進行安裝,點選「是」即可開始部署。

當資料夾內已經存在 ip.ini 時,執行程式將自動跳過設定步驟,直接讀取設定並開始安裝印表機。這非常適合大量部署到客戶端電腦。
- 備份設定:如果偵測到電腦已安裝該印表機,但資料夾內沒有
set.dat,程式會詢問是否備份目前的設定(包含紙張、浮水印等進階設定)。 - 還原設定:如果偵測到
set.dat存在,安裝完畢後會自動將設定還原到印表機。
PrtEasySetup.exe: 主程式。ip.ini: 自動生成的設定檔,格式如下:ip, [IP或USB埠], [印表機名稱], [驅動名稱], [INF檔案名稱], [參數標記]
set.dat: (選用) 印表機設定的二進位備份檔,由rundll32 printui.dll生成。
本工具使用 PowerShell 編寫並封裝為 Win32 應用程式。核心技術包括:
- Windows SetupAPI 模擬:模擬 Windows 讀取 INF 的邏輯,支援
[Strings]變數替換與[Manufacturer]區段鎖定,解決 Epson/Brother 等特殊 INF 結構解析錯誤的問題。 - PrintUI.dll 整合:使用微軟官方
rundll32 printui.dll,PrintUIEntry /ia指令進行驅動安裝,比 PowerShell 的Add-PrinterDriver更穩定且支援度更高。
- 由於本程式是由 PowerShell 封裝而成,某些防毒軟體 (如 Windows Defender SmartScreen) 可能會誤判為不明軟體。
- 本程式已通過基本的 OV 程式碼簽章 (Code Signing),建議加入信任清單以確保執行順利。
Developed for MSP Internal Use.
