M
const options = {
format: "A4",
orientation: "portrait",
};
const document = {
html: html,
data: {
products: products
},
path: PATH_TO_FILE
};
await pdf.create(document, options);
ctx.send(fs.readFileSync(PATH_TO_FILE));
Size: a a a
M
const options = {
format: "A4",
orientation: "portrait",
};
const document = {
html: html,
data: {
products: products
},
path: PATH_TO_FILE
};
await pdf.create(document, options);
ctx.send(fs.readFileSync(PATH_TO_FILE));
M
МБ
M
МБ
M
МБ
O
M
МБ
МБ
A
DP
МБ
A
A
M