https://github.com/naugtur/printing
https://github.com/naugtur/printing
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/naugtur/printing
- Owner: naugtur
- License: gpl-3.0
- Created: 2019-01-27T12:14:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-27T22:24:01.000Z (over 6 years ago)
- Last Synced: 2025-02-15T07:42:14.567Z (8 months ago)
- Language: CSS
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# printing
run `npm install` first
## generate prints form data
`node app.js`
accepts input.json, creates page.htmlchange page template in page.tpl to match your fields in data
change the number of items per page in app.jsthen work in style.css to get the content right, but the A4 size and printing hacks are there for you.
## convert CSV to json
`node csv2json.js`
accepts input.csv, creates output.json