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 @@