Hi, I'm wanting to fixed an element to bottom of first page. I'm trying to use pdf utils for merging it but seems like I need to make different margin-bottom in first page. I tried to use @page: first but it's not working as expected ( found this: https://stackoverflow.com/questions/13995490/page-first-margin-in-chrome-bug). I already made a sample here: https://playground.jsreport.net/w/anon/NZRzZKi2. Do you guys have any suggestion or advise what i can do with jsreport?
Thanks
N
Posts made by Nathan-Nhat
-
Different margin for each page
-
RE: Not able to import
There is problem with exported file. I need to unzip and zip it manually instead of using directly exported file.
-
Not able to import
I'm facing to trouble when trying import exported zip file. Is there something else needed to import it?
Error: too many bytes in the stream. expected 0. got at least 105 at AssertByteCountStream._transform (/app/node_modules/yauzl/index.js:645:15) at AssertByteCountStream.Transform._read (_stream_transform.js:191:10) at AssertByteCountStream.Transform._write (_stream_transform.js:179:12) at doWrite (_stream_writable.js:441:12) at writeOrBuffer (_stream_writable.js:425:5) at AssertByteCountStream.Writable.write (_stream_writable.js:316:11) at InflateRaw.ondata (_stream_readable.js:714:22) at InflateRaw.emit (events.js:311:20) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at InflateRaw.Readable.push (_stream_readable.js:209:10) at InflateRaw.Transform.push (_stream_transform.js:152:32) at Zlib.processCallback (zlib.js:531:10)... Error: Error: too many bytes in the stream. expected 0. got at least 105 at AssertByteCountStream._transform (/app/node_modules/yauzl/index.js:645:15) at AssertByteCountStream.Transform._read (_stream_transform.js:191:10) at AssertByteCountStream.Transform._write (_stream_transform.js:179:12) at doWrite (_stream_writable.js:441:12) at writeOrBuffer (_stream_writable.js:425:5) at AssertByteCountStream.Writable.write (_stream_writable.js:316:11) at InflateRaw.ondata (_stream_readable.js:714:22) at InflateRaw.emit (events.js:311:20) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at InflateRaw.Readable.push (_stream_readable.js:209:10) at InflateRaw.Transform.push (_stream_transform.js:152:32) at Zlib.processCallback (zlib.js:531:10)... at AssertByteCountStream._transform (/app/node_modules/yauzl/index.js:645:15) at AssertByteCountStream.Transform._read (_stream_transform.js:191:10) at AssertByteCountStream.Transform._write (_stream_transform.js:179:12) at doWrite (_stream_writable.js:441:12) at writeOrBuffer (_stream_writable.js:425:5) at AssertByteCountStream.Writable.write (_stream_writable.js:316:11) at InflateRaw.ondata (_stream_readable.js:714:22) at InflateRaw.emit (events.js:311:20) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at InflateRaw.Readable.push (_stream_readable.js:209:10) at InflateRaw.Transform.push (_stream_transform.js:152:32) at Zlib.processCallback (zlib.js:531:10)... at f (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:1:818366) at http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:1:819089 at b.callback (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:39:8120) at b.<anonymous> (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:39:6090) at b.r.emit (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:6:109337) at XMLHttpRequest.t.onreadystatechange (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:39:9813) From previous event: at T.j [as _captureStackTrace] (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:1:1059825) at T._resolveFromExecutor (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:1:1089522) at new T (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:1:1082760) at Object.d.forEach.h.<computed> [as post] (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:1:818620) at Object._.methods.forEach.n.API.<computed> [as post] (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:83:287757) at ImportModal._callee$ (http://172.26.240.11:5488/studio/assets/studio-extensions.client.6a5cad9dde67859271c1.js:1019:53) at m (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:39:219330) at Generator._invoke (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:39:219083) at Generator.forEach.e.<computed> [as next] (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:39:219510) at step (http://172.26.240.11:5488/studio/assets/studio-extensions.client.6a5cad9dde67859271c1.js:842:191) at http://172.26.240.11:5488/studio/assets/studio-extensions.client.6a5cad9dde67859271c1.js:842:437 at new Promise (<anonymous>) at ImportModal.<anonymous> (http://172.26.240.11:5488/studio/assets/studio-extensions.client.6a5cad9dde67859271c1.js:842:99) at ImportModal.validate (http://172.26.240.11:5488/studio/assets/studio-extensions.client.6a5cad9dde67859271c1.js:1057:21) at onClick (http://172.26.240.11:5488/studio/assets/studio-extensions.client.6a5cad9dde67859271c1.js:1345:33) at Object.s (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:458) at f (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:601) at http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:747 at v (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:833) at at (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:16338) at ot (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:16171) at st (http://172.26.240.11:5488/studio/assets/client.721def965dc7b7e2a98c.js:55:16527)
Thanks