These are chat archives for jsreport/jsreport

20th
Feb 2016
BJR Matos
@bjrmatos
Feb 20 2016 19:06
@pofider a weird issue what you gave me but i’m able to resolving it, new version for jsreport-electron-pdf coming.. :smile:
Jan Blaha
@pofider
Feb 20 2016 20:24
Great!
And what was the problem?
Oh I see it now in on the github
BJR Matos
@bjrmatos
Feb 20 2016 20:54
yes!
i’m publishing the change
tested with latest electron 0.36.8
it should work with other versions too
Jan Blaha
@pofider
Feb 20 2016 20:57
ok, thank you very much, I will try it now
Btw Currently I am struggling with phantomjs and unfortunatelly electron also is making sometimes page breaks sometimes in the middle of the row / text
I am thinking to try to rewrite the table into the flex, never used it before.... the question, do you think if it is possible to rewrite html table into div based table with flex?
BJR Matos
@bjrmatos
Feb 20 2016 21:01
yes! flexbox is powerful, but probably it will be not so easy as <table>
Jan Blaha
@pofider
Feb 20 2016 21:02
Ok, I will try it that way, some users are having 2000 pages long reports and on the page 939 it is making troubles with page breaks, very nice issues recently :)
BJR Matos
@bjrmatos
Feb 20 2016 21:03
hahaha
let me know if you need my help, i’m going out right now but if you can give some data (as the previous issue) i can help you
Jan Blaha
@pofider
Feb 20 2016 21:04
And another info for you, I met on the github another electron pdf generator, and they have some installation notes for linux systems there, if you ever will be troubleshooting jsreport electron on linux, you can check it, just for the future... https://github.com/fraserxu/electron-pdf#install
sure, thank you I am fine now, have fun
BJR Matos
@bjrmatos
Feb 20 2016 21:05
cool i’ll take a look thnks
i’m going to a node.js meetup, probably very fun time today
:D
Jan Blaha
@pofider
Feb 20 2016 21:06
I should also probably one day leave my appartment and meet some node geeks :)
BJR Matos
@bjrmatos
Feb 20 2016 21:07
hahaha do it!
jsreport-electron-pdf@1.2.1 published
Jan Blaha
@pofider
Feb 20 2016 21:08
great, thank you
blob
BJR Matos
@bjrmatos
Feb 20 2016 21:12
._.
i have tried from npm
right now
and it works
Jan Blaha
@pofider
Feb 20 2016 21:13
this error pops up for electron-ipc strategy only
BJR Matos
@bjrmatos
Feb 20 2016 21:13
mmm
Jan Blaha
@pofider
Feb 20 2016 21:14
for dedicated-process and electron-server it is not showing this error, but renders blank page
on my windows
but there is no hurry with this, don't want to delay you from the meetup for sure....
BJR Matos
@bjrmatos
Feb 20 2016 21:15
i have tested on OSX only
when i come back home
i will test on windows
my faul
Jan Blaha
@pofider
Feb 20 2016 21:15
sure, I will mail you if I accidently find something there
BJR Matos
@bjrmatos
Feb 20 2016 21:15
:thumbsup:
BJR Matos
@bjrmatos
Feb 20 2016 23:25
it should be fixed now!
BJR Matos
@bjrmatos
Feb 20 2016 23:50
the pdf works but there are some differences but it is related to print styles i think
Captura de pantalla 2016-02-20 a las 6.50.47 p.m..png
on the left is the pdf produced by electron, on the right the internal browser window
to make it work with electron it will need some additional styles i think