diff --git a/mccs-it/thermal/app.js b/mccs-it/thermal/app.js index 6fd3a49..7fd6b62 100644 --- a/mccs-it/thermal/app.js +++ b/mccs-it/thermal/app.js @@ -1,6 +1,5 @@ const express = require('express'); const Thermal = require('./modules/Thermal.js'); -const printer = require('printer'); const app = express(); const port = 3000; diff --git a/mccs-it/thermal/modules/Thermal.js b/mccs-it/thermal/modules/Thermal.js index ac9ecd5..3b4af4b 100644 --- a/mccs-it/thermal/modules/Thermal.js +++ b/mccs-it/thermal/modules/Thermal.js @@ -29,7 +29,7 @@ module.exports = { doc.pipe(printer.stdin); // Add image and text to the PDF - doc.image('../public/itslogo.png', { + doc.image('../public/itslogo.jpg', { fit: [576, 261], align: 'center', valign: 'top' diff --git a/mccs-it/thermal/public/itslogo.jpg b/mccs-it/thermal/public/itslogo.jpg new file mode 100644 index 0000000..1252fac Binary files /dev/null and b/mccs-it/thermal/public/itslogo.jpg differ