Merge pull request #1 from regisb/master

Working registration pdf production and download
added error cases
Merge pull request #1 from Nazcafan/parameters

Parameters