Add image and fix module calls
This commit is contained in:
parent
8d648392ed
commit
22c842e0ba
@ -1,6 +1,5 @@
|
||||
const express = require('express');
|
||||
const Thermal = require('./modules/Thermal.js');
|
||||
const printer = require('printer');
|
||||
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
|
@ -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'
|
||||
|
BIN
mccs-it/thermal/public/itslogo.jpg
Normal file
BIN
mccs-it/thermal/public/itslogo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Loading…
Reference in New Issue
Block a user