I want to add watermark to my generated report, but I only have jsreport-client installed so the report is correctly rendered but can not merge. I will need pdf-util to merge my watermark page to the generated report pages, it should work like your previous answer https://forum.jsreport.net/topic/1360/add-copy-with-watermark-pdf-utils/2. But I am running the function on AWS lambda there is size limit for the code and node packages. So I will need a smaller package to make jsreport-proxy work as expected.
赵大程
@赵大程
Posts made by 赵大程
-
RE: Can not find jsreport-proxy module
-
RE: Can not find jsreport-proxy module
Thanks, I did not link the script to the template so it did not ran. Currently I will need to install jsreport package in order to make jsreport-proxy work, but jsreport is too big including chromium which I do not need. I just want to embed the script to my code, can I install a smaller version of jsreport?
-
RE: Can not find jsreport-proxy module
Thanks! I want to reproduce the playground https://playground.jsreport.net/w/anon/vaN5s7yU in my local followed by the steps
npm install jsreport-cli -g
mkdir jsreportapp
cd jsreportapp
jsreport init
jsreport configure
jsreport start
but I am still facing some issues. It shows my jsreport is not defined if I console.log it after import jsreport-proxy, I think afterRender is not call either. Is there a way to download and check the package.json and config file for this playground? -
Can not find jsreport-proxy module
I want to merge my pages via script but can not find jsreport-proxy module in npm. Is this module deprecated or private? Any solutions? Thanks