回退双面打印
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user