回退双面打印

This commit is contained in:
xianyi
2025-12-11 17:37:18 +08:00
parent d4ac6a431a
commit 4b3363b901

View File

@@ -313,7 +313,7 @@ ipcMain.handle("print-pdf", async (event, pdfDataOrUrl, printOptions = {}) => {
const printOptions_ptp = {
printer: targetPrinterName || undefined,
silent: true, // 静默打印
side: sideOption, // 双面打印选项
duplex: duplexMode || false, // 双面打印选项
};
await ptp.print(pdfFilePath, printOptions_ptp);