Add image and fix module calls

This commit is contained in:
Skylar Grant 2024-09-09 11:42:11 -04:00
parent 8d648392ed
commit 22c842e0ba
3 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
const express = require('express');
const Thermal = require('./modules/Thermal.js');
const printer = require('printer');
const app = express();
const port = 3000;

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB