This commit is contained in:
2022-01-13 18:48:46 +01:00
parent efbc2f3b2e
commit 2c97d68f90
2 changed files with 23 additions and 5 deletions

View File

@@ -18,9 +18,15 @@
marginLeft: 30,
marginRight: 30,
headerLeft: "TestPDF",
headerCenter: "[date]",
headerRight: "[page] - [frompage] / [topage]",
headerSpacing: 10,
headerCenter: "Rev. 1",
headerRight: "[page] / [topage]",
headerSpacing: 20,
headerLine: true,
footerLeft: "(c) Webmakers GmbH",
footerCenter: "www.webmakers.de",
footerRight: "[date]",
footerSpacing: 20,
footerLine: true,
}
)
context.response.header("Content-Type", "application/pdf")