https://github.com/jsreport/jsreport-fop-pdf
jsreport recipe which is rendering pdf using apache fop
https://github.com/jsreport/jsreport-fop-pdf
Last synced: 12 months ago
JSON representation
jsreport recipe which is rendering pdf using apache fop
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-fop-pdf
- Owner: jsreport
- License: lgpl-3.0
- Created: 2015-11-05T14:54:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T16:50:48.000Z (almost 5 years ago)
- Last Synced: 2025-06-15T15:50:32.200Z (12 months ago)
- Language: JavaScript
- Size: 185 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
⚠️ This extension is deprecated and is compatible only with the jsreport v2
--
# jsreport-fop-pdf
[](https://npmjs.com/package/jsreport-fop-pdf)
jsreport recipe which is rendering pdf using [apache fop](https://xmlgraphics.apache.org/fop/)
See https://jsreport.net/learn/fop-pdf
## Installation
> npm install jsreport-fop-pdf
## Usage
To use `recipe` in for template rendering set `template.recipe=fop-pdf` in the rendering request.
```js
{
template: { content: '...', recipe: 'fop-pdf', enginne: '...' }
}
```
## jsreport-core
You can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)
```js
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-fop-pdf')())
```