Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/runnerty/executor-pdf
Runnerty module: PDF Executor
https://github.com/runnerty/executor-pdf
ejs ejs-templates executor pdf pdf-generation runnerty
Last synced: about 2 months ago
JSON representation
Runnerty module: PDF Executor
- Host: GitHub
- URL: https://github.com/runnerty/executor-pdf
- Owner: runnerty
- License: mit
- Created: 2017-04-18T06:23:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T19:39:59.000Z (8 months ago)
- Last Synced: 2024-10-03T11:36:50.541Z (3 months ago)
- Topics: ejs, ejs-templates, executor, pdf, pdf-generation, runnerty
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF executor for [Runnerty]:
#### EJS Compatible
### Configuration sample:
```json
{
"id":"pdf_default",
"type":"@runnerty-executor-pdf"
}
```### Plan sample:
#### https://github.com/marcbachmann/node-html-pdf#options
```json
{
"id":"pdf_default",
"html":"sample.html",
"output":"sample.pdf",
"papersize":{
"format":"A4",
"orientation":"portrait"
}
```### Plan advanced:
#### https://github.com/marcbachmann/node-html-pdf#options
```json
{
"id":"pdf_default",
"html":"/etc/runnerty/sample.html",
"output":"/etc/runnerty/sample.pdf",
"papersize":{
"format":"A4",
"orientation":"portrait"
},
"pageoptions":{
"border": "1cm"
},
"typeoutput":"pdf",
"quality": "80",
"timeout": 30000,
"args":{
"created_date":":MMMM_EN, :DD :YYYY",
"due_date":":MMMM_EN, :DD :YYYY",
"invoice_id":":YYYY:MM0000:HH:mm:ss"
},
"header": {
"height": "45px",
"contents": "Runnerty sample - PDF Executor"
},
"footer": {
"height": "25mm",
"contents": {
"default": "{{page}}/{{pages}}",
"first": "First page",
"2": "Second page",
"last": "Last Page"
}
},
"httpHeaders": {
"Authorization": "Bearer ABCDE-1324-1234-1234"
}
}
```[Runnerty]: http://www.runnerty.io