Re: DotNet/COM wrap/port of LOut?
Paul Zarucki <[email protected]>
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <CAFTnY11qZd40L5Qh0kZeKd32NnE8bM06EFJyYJ34fdVLFq7NfA@mail.gmail.com> |
Hi, I use Lout to create PDFs in a web application written in PHP. The PHP code is basically mkdir $tempdir; file_put_contents($tempfile,$lout_document,LOCK_EX); $cmd = "cd $tempdir ; lout -r 3 -PDF $tempfile ; rm * "; $pdf_document = sys_exec($cmd); rmdir($tempdir); Admittedly, the sys_exec() call amounts to the same thing as a command line so perhaps that would prevent you from using this approach. Regards, Paul. On 3 August 2011 09:52, Wogan, Darren <[email protected]> wrote: > Hi > > I am new to LOut, though we have some experience of LOut within our team. > Would anyone know if there is a DotNet (or COM) port or wrapper available > for LOut, to provide an API for calling LOut from within an application > rather than having to resort to command line calls? > > We have some issues attempting to call LOut from a command line, namely when > it comes to producing PDFs on the fly behind a web site, where command line > calls are not allowed – hence the desire for an API. > > Best Regards, > > Darren Wogan > > Software Engineer > [email protected] > RNIB - Peterborough, Bakewell Road, Orton Southgate, Peterborough, PE2 6XU, > UK