Re: Printing a PDF document from 4D

2019-03-20 Thread Arnaud de Montard via 4D_Tech
> Le 19 mars 2019 à 15:03, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > [...] > so I think it is preferable to generate PDF by code than to "print" it, if > possible. (like with the pluggers plugin) I have not used it myself, but as far as I can remember when a friend

RE: Printing a PDF document from 4D

2019-03-19 Thread Stephen J. Orth via 4D_Tech
d.com> Cc: Julio Carneiro Subject: Re: Printing a PDF document from 4D Thanks to all that replied, Stephen J. Orth’s Win32API is the winning solution. That’s why this is is awesome. cheers, julio ** 4D Internet Users Gr

RE: Printing a PDF document from 4D

2019-03-19 Thread Neal Schaefer via 4D_Tech
Oops - quick correction on the syntax: HTML to DOCX: Launch External Process ("C:\\temp\\convertdoc.exe c:\\temp\\*.htm c:\\temp\\*.docx /overwrite"; $blank;$outputStream_t;$errorStream_t) HTML to PDF: Launch External Process ("C:\\temp\\convertdoc.exe c:\\temp\\*.htm c:\\temp\\*.pdf

Re: Printing a PDF document from 4D

2019-03-19 Thread Julio Carneiro via 4D_Tech
Sorry Rob, my mistake! I misread QPDF’s documentation and assumed the exact opposite, that QPDF Print Document was not implemented on Windows! duh!! I’ll take another look for sure. cheers, julio > On Mar 19, 2019, at 11:58 AM, Rob Laveaux via 4D_Tech <4d_tech@lists.4d.com >

Re: Printing a PDF document from 4D

2019-03-19 Thread Julio Carneiro via 4D_Tech
Thanks to all that replied, Stephen J. Orth’s Win32API is the winning solution. That’s why this is is awesome. cheers, julio > On Mar 19, 2019, at 4:42 PM, ADeeg via 4D_Tech <4d_tech@lists.4d.com> wrote: > > 4D Tech mailing list wrote >> Has anyone here had the need to print a PDF document

Re: Printing a PDF document from 4D

2019-03-19 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote > Has anyone here had the need to print a PDF document from 4D, and found a > solution? > > I am not talking about generating a PDF from 4D. I have an existing PDF > document and I need 4D to print it for me! Exactly, user selects a PDF > document and I have 4D command

Re: Printing a PDF document from 4D

2019-03-19 Thread Rob Laveaux via 4D_Tech
> On 19 Mar 2019, at 15:27, Julio Carneiro via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > @Luc Devar, QPDF, also from pluggers.nl , does not > support printing on Windows. Hi Julio, What makes you conclude that? QPDF Print Document works just fine on Windows. It is

RE: Printing a PDF document from 4D

2019-03-19 Thread Stephen J. Orth via 4D_Tech
nal Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Stephen J. Orth via 4D_Tech Sent: Tuesday, March 19, 2019 9:30 AM To: '4D iNug Technical' <4d_tech@lists.4d.com> Cc: Stephen J. Orth Subject: RE: Printing a PDF document from 4D Julio, Sorry, coming into this late

RE: Printing a PDF document from 4D

2019-03-19 Thread Stephen J. Orth via 4D_Tech
oun...@lists.4d.com> On Behalf Of Julio Carneiro via 4D_Tech Sent: Tuesday, March 19, 2019 9:27 AM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Julio Carneiro Subject: Re: Printing a PDF document from 4D I do have PDF Viewer, but on Windows you can’t print from an off-screen area, which m

Re: Printing a PDF document from 4D

2019-03-19 Thread Julio Carneiro via 4D_Tech
I do have PDF Viewer, but on Windows you can’t print from an off-screen area, which means yo have to display the pdf on a form before printing it. I forgot to mention that I need to just “print” and external PDF. Printing has to happen in background and in some cases for 4D Server. So, no user

Re: Printing a PDF document from 4D

2019-03-19 Thread Keisuke Miyako via 4D_Tech
printing an HTML is not always easy (especially pagination) even with a good media specific CSS. https://github.com/miyako/4d-component-wkhtmltopdf besides, printing is a blocking process (only 1 job at a time) and not thread safe so I think it is preferable to generate PDF by code than to

Re: Printing a PDF document from 4D

2019-03-19 Thread Tim Nevels via 4D_Tech
On Mar 19, 2019, at 8:50 AM, Julio Carneiro wrote: > Has anyone here had the need to print a PDF document from 4D, and found a > solution? > > I am not talking about generating a PDF from 4D. I have an existing PDF > document and I need 4D to print it for me! Exactly, user selects a PDF >

Re: Printing a PDF document from 4D

2019-03-19 Thread Charles Miller via 4D_Tech
Not sure if this will work but how about creating a web area in form load the document and then print it On Tue, Mar 19, 2019 at 7:13 AM Julio Carneiro via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Has anyone here had the need to print a PDF document from 4D, and found a > solution? > > I am not

Re: Printing a PDF document from 4D

2019-03-19 Thread UKVetDerm via 4D_Tech
RE: There is another plugin from pluggers.nl which handles viewing and printing of pdf documents too: PDFViewer. I have been using it on macOS for years. Excellent support from Rob for the rare occasions I needed it. I would second this! Steve

Re: Printing a PDF document from 4D

2019-03-19 Thread Koen Van Hooreweghe via 4D_Tech
Hi Julio, There is another plugin from pluggers.nl which handles viewing and printing of pdf documents too: PDFViewer. I have been using it on macOS for years. Excellent support from Rob for the rare occasions I needed it. Kind regards, Koen > Op 19 mrt. 2019, om 12:39 heeft Luc Devar via

Re: Printing a PDF document from 4D

2019-03-19 Thread Luc Devar via 4D_Tech
Julio, I use QPDF plugin from Pluggers Software to do this kind of action and many more. Best tools out there to manage PDF documents from 4D. l...@lucdevar.com