From 3c9e41bd8d1bb52ea80d26d006708d43ba7897f5 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Tue, 10 Sep 2024 15:45:43 -0400 Subject: [PATCH] MVP --- mccs-it/thermal/modules/Thermal.js | 2 +- mccs-it/thermal/public/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mccs-it/thermal/modules/Thermal.js b/mccs-it/thermal/modules/Thermal.js index 5fdb574..9aa485c 100644 --- a/mccs-it/thermal/modules/Thermal.js +++ b/mccs-it/thermal/modules/Thermal.js @@ -134,7 +134,7 @@ module.exports = { writeStream.on('finish', () => { // PDF file has been saved, now print it using lp command - const printer = spawn('lp', ['-d', 'ITThermal', pdfFilePath]); // Replace 'ITThermal' with your actual printer name + const printer = spawn('lp', ['-d', 'ITThermal', pdfFilePath]); // Handle error if the printing process fails printer.on('error', (err) => { diff --git a/mccs-it/thermal/public/index.html b/mccs-it/thermal/public/index.html index 2ad504e..17c7858 100644 --- a/mccs-it/thermal/public/index.html +++ b/mccs-it/thermal/public/index.html @@ -38,7 +38,7 @@