Warning
Please note that print designer is only compatible with develop and V15 version of frappe framework.
Local
To setup the repository locally follow the steps mentioned below:
Install bench and setup a frappe-bench
directory by following the Installation Steps
Start the server by running
bench start
In a separate terminal window, create a new site by running
bench new-site print-designer.test
Map your site to localhost with the command
bench --site print-designer.test add-to-hosts
Get the Print Designer app
bench get-app https://github.com/frappe/print_designer
Install the app on the site.
bench --site print-designer.test install-app print_designer
Open http://print-designer.test:8000/ in your browser and go through the setup wizard.
There are many ways you can contribute even if you don't code:
Incorrect PDF Page Size
Frappe / Print Designer requires at least version 0.12.5 with patched qt
Install correct version by following installation guide and confirm :
wkhtmltopdf --version
wkhtmltopdf 0.12.6 (with patched qt)
Mac Installation Error
npm ERR! node-pre-gyp WARN Pre-built binaries not found for canvas@x.x.x
it means that there aren't any pre-built binaries for your system so it will try to compile them and in order to do that you need xcode-select --install
brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman
npm install -g npm@latest
.Linux ARM CPU Installation Error
node-pre-gyp WARN Pre-built binaries not installable for canvas@x.x.x and node@x.x.x
it means that there aren't any pre-built binaries for your system so it will try to compile themsudo apt-get update && sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev