Warning
This project is still in development so expect breaking changes!
Frappe app with advanced print functions, mainly focused on improving custom Jinja print formats.
Note
You can find all informations on how to use this app in our docs: Frappe Betterprint Docs
- Universal Layout: Preview/Printview/PDF - they look just the same.
- Full, modern CSS support: Flexbox, W3C standards - all printed with headless Chromium.
- Individual page size per Print Format: Independent PDF Page size 😄
- Preview & support for any page size (even A0 or larger page size is supported)
- Dynamic Headers & Footers: Apply different content per Page, add running numbers e.G.
- Parallel use of regular Print Formats and Print Designer possible
better_page_break()Jinja function for quick & easy page-breaks- [comin soon] Page ranges: Add different styles to parts of your page
- [comin soon] PDF-worker or direct CDP integration to generate PDFs faster
Install this app on your bench:
$ bench get-app https://github.com/neocode-it/frappe_betterprint
$ bench install-app frappe_betterprint
Install all required apt-packages using this command:
$ sudo apt-get update && \
sudo apt-get install -y libasound2 libatk-bridge2.0-0 \
libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 \
libdrm2 libgbm1 libglib2.0-0 libnspr4 libnss3 libpango-1.0-0 \
libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 \
libxkbcommon0 libxrandr2 xvfb fonts-noto-color-emoji fonts-unifont \
libfontconfig1 libfreetype6 xfonts-scalable fonts-liberation \
fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf fonts-freefont-ttf
This app should be plug&play, but has not been tested on Frappe Cloud.
agpl-3.0