https://github.com/zakimohammed/pdfmake-getting-started
Getting Started with PDF Make
https://github.com/zakimohammed/pdfmake-getting-started
javascript pdfmake
Last synced: 17 days ago
JSON representation
Getting Started with PDF Make
- Host: GitHub
- URL: https://github.com/zakimohammed/pdfmake-getting-started
- Owner: ZakiMohammed
- Created: 2022-12-18T12:56:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T12:56:53.000Z (over 3 years ago)
- Last Synced: 2025-03-03T19:11:21.454Z (over 1 year ago)
- Topics: javascript, pdfmake
- Language: HTML
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting Started with PDF Make
Exploring the PDF make documentation and jump starting with the code. 😇
### Dependencies
```
```
### Create Document Definition
```
const docDefinition = {
content: [
'CodeOmelet',
'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Accusamus, mollitia!'
]
};
```
### Open PDF
```
pdfMake.createPdf(docDefinition).open({}, window);
```
### Print PDF
```
pdfMake.createPdf(docDefinition).print();
```
### Download PDF
```
pdfMake.createPdf(docDefinition).download('PDF Make');
```