Re: Procedural printing HTML or a WebArea

2019-11-03 Thread Keisuke Miyako via 4D_Tech
example of calling wkhtmltopdf from 4D https://github.com/miyako/4d-component-wkhtmltopdf/ 2019/11/04 1:45、Dani Beaubien via 4D_Tech <4d_tech@lists.4d.com>のメール: I use wkhtmltopdf, It is cross platform and works very well.

Re: Procedural printing HTML or a WebArea

2019-11-03 Thread Dani Beaubien via 4D_Tech
I use wkhtmltopdf, It is cross platform and works very well. https://wkhtmltopdf.org Dani Beaubien Open Road Development > On Nov 3, 2019, at 9:24 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I'm not aware of a way to do that in native 4D. I use

Re: Procedural printing HTML or a WebArea

2019-11-03 Thread John DeSoi via 4D_Tech
I'm not aware of a way to do that in native 4D. I use Node with Puppeteer and headless Chrome. This provides a way to specify parameters such as headers, footers, and orientation. I have it setup to run on the server and clients can call a server procedure to convert HTML to PDF. Very fast and

Procedural printing HTML or a WebArea

2019-11-03 Thread Mitchell Shiller via 4D_Tech
Hi, I generate an HTML document that is displayed in a WebArea. Once completed, I need to generate a PDF procedurally. (No user interaction) Is there a way to either 1) print out a Web Area ( the contents could be more than 1 page long) 2) convert the HTML to a PDF. I am on Mac. 4Dv17R5.