Dynamic PDF output

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christoph Burschka

    #1

    Dynamic PDF output

    Hi,

    On my site, I would like to provide a feature that allows content (in this case
    articles or forum topics) to be exported as a PDF file.

    So far, I am planning to do this by first translating the html content into
    LaTeX and then using pdflatex (with a system() command) to create the pdf.

    But I don't like the fact that I need to use temp files for this - pdflatex will
    only work with input and output files, which means I have to create the .tex
    file, run pdflatex, then read and print the .pdf file and delete both.

    Do you know of anything that would allow me to print the pdf output directly
    from the input I have - or even a way to avoid having to translate it into LaTeX?

    The server load is not a problem, as the site is not heavily used - otherwise I
    might look into caching the output later on.


    --
    Christoph Burschka
  • J.O. Aho

    #2
    Re: Dynamic PDF output

    Christoph Burschka wrote:
    Hi,
    >
    On my site, I would like to provide a feature that allows content (in this case
    articles or forum topics) to be exported as a PDF file.
    >
    So far, I am planning to do this by first translating the html content into
    LaTeX and then using pdflatex (with a system() command) to create the pdf.
    >
    But I don't like the fact that I need to use temp files for this - pdflatex will
    only work with input and output files, which means I have to create the .tex
    file, run pdflatex, then read and print the .pdf file and delete both.
    >
    Do you know of anything that would allow me to print the pdf output directly
    from the input I have - or even a way to avoid having to translate it into LaTeX?
    >
    The server load is not a problem, as the site is not heavily used - otherwise I
    might look into caching the output later on.
    >
    >
    PDFLib allows you create pdf on the fly, but you have to formate things
    yourself, you can't relay on how things looks on the web-page.
    Used it in a project I worked on, worked quite nicely.


    //Aho

    Comment

    • Thomas Mlynarczyk

      #3
      Re: Dynamic PDF output

      Also sprach Christoph Burschka:
      Do you know of anything that would allow me to print the pdf output
      directly from the input I have - or even a way to avoid having to
      translate it into LaTeX?
      I've used this one and found it quite useful:


      http://sourceforge.net/projects/pdf-php

      Greetings,
      Thomas


      Comment

      • Brent Palmer

        #4
        Re: Dynamic PDF output


        "Christoph Burschka" <christoph.burs chka@rwth-aachen.dewrote in message
        news:4sm5o1Fv75 72U1@mid.dfncis .de...
        Hi,
        >
        On my site, I would like to provide a feature that allows content (in this
        case
        articles or forum topics) to be exported as a PDF file.
        >
        So far, I am planning to do this by first translating the html content
        into
        LaTeX and then using pdflatex (with a system() command) to create the pdf.
        >
        But I don't like the fact that I need to use temp files for this -
        pdflatex will
        only work with input and output files, which means I have to create the
        .tex
        file, run pdflatex, then read and print the .pdf file and delete both.
        >
        Do you know of anything that would allow me to print the pdf output
        directly
        from the input I have - or even a way to avoid having to translate it into
        LaTeX?
        >
        The server load is not a problem, as the site is not heavily used -
        otherwise I
        might look into caching the output later on.
        >
        >
        --
        Christoph Burschka
        Hello Christoph.

        I have used R & OS PDF Class in major projects. This class creates dynamic
        PDF documents on the fly.
        http://www.ros.co.nz/pdf/

        You can create a demo PDF on their site.

        Regards,

        Brent Palmer.


        Comment

        Working...