Re: wraping while converting html to PDF



i am using PDF reuse perl script for converting html to PDF.
the Problem is the html contains PRE tag to display the content in the
Pre formatted way, but when html is converted to PDF, PRE is working
but word wrap is not working, please can you help me..

I am not familiar with PDF::Reuse in details, but it seems you faced
with restrictions (or features) of PDF file format itself: as a rule
in order to output 2 lines of text you need to calculate their
positions and print them separately. There is no auto text wrap.

I know all the challenges of HTML-to-PDF converting process and would
recommend you to use existing specialized solutions just to save time/
efforts/money. Our product PD4ML is written in Java and can be easily
wrapped to be used with scripting languages. The PHP example can give
you a hint how it can be done in Perl: http://pd4ml.com/php.htm
.



Relevant Pages

  • Re: What about these?
    ... individual HTML pages, jumping to the relevant location - if the site ... I have dowloaded books on HTML format ... sure may be better PDF own. ... good printed results as TeX which is less complex. ...
    (comp.lang.lisp)
  • Re: Tobacco Leaves: book...
    ... HTML version and a PDF version. ... such as PalmDoc format, or something for the new eBook readers. ... the issue will be what to call from the XSLT to render the PDF format. ...
    (alt.smokers.pipes)
  • Re: gcc 3.4.2 Ada
    ... >> format, ... >format it is easily converted into text, html, ps, pdf, or info ... To convert texinfo to info/html, ...
    (comp.lang.ada)
  • Re: [opensuse] man pages and PDF
    ... man pages and PDF ... HTML is a hideous medium for publishing. ... The only thing I see as bad about the format itself is the index/toc files. ... And I have never met an info viewer app I could stand, and there are damned few and poor of those incomparison to other formats. ...
    (SuSE)
  • Re: html to pdf
    ... We have HTML datasheets but now we want then in PDF format because ... you still need a 'serialiser' to convert the xsl-fo into pdf. ...
    (comp.text.xml)