Re: wraping while converting html to PDF
- From: zxfr <pdf@xxxxxxxxx>
- Date: Sat, 25 Oct 2008 02:11:24 -0700 (PDT)
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
.
- References:
- wraping while converting html to PDF
- From: kotla . naveenkumar
- wraping while converting html to PDF
- Prev by Date: Converting documents to PDF while retaining formatting
- Next by Date: Can I swap embedded font?
- Previous by thread: wraping while converting html to PDF
- Next by thread: Converting documents to PDF while retaining formatting
- Index(es):
Relevant Pages
|