This commit is contained in:
parent
34413c7c57
commit
d6a3b831e7
|
@ -166,7 +166,7 @@ class PrintServer {
|
|||
|
||||
// Print PDF
|
||||
try {
|
||||
//await pExec(`lp -d "${printer}" "${tmpFilePath}"`);
|
||||
await pExec(`lp -d "${printer}" "${tmpFilePath}"`);
|
||||
} catch(err) {
|
||||
await fs.unlink(tmpFilePath);
|
||||
throw new Error(`Print error: ${err.message}`);
|
||||
|
|
Loading…
Reference in New Issue