ARRAY(0x5d8c568)
HTML to PDF
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Java Programming > HTML to PDF 4 September 2008 19:12:24

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

HTML to PDF

Venkatasuresh Annapu 30 December 2002 15:32:22
 Hello ,

There is a requirement in my java application where I need to convert .html
to .PDF

Can any body give me a solution how can achieve this .

Thanks in Advance
Venkata Suresh


-------------------­--------------------­----------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.co­m/sf
Add comment
Gamin 22 October 2002 04:34:36 permanent link ]
 Hi,

I have pdflib installed with PHP 4.0.6 i want to embed an HTML document
into a PDF doc, any pointers on how this can be done ?

TIA

gamin.



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Gamin 22 October 2002 04:42:00 permanent link ]
 additionally im running a RedHAt 7.2 server


"Gamin" <gamin@vsnl.net> wrote in message
news:20021022013548­.15625.qmail@pb1.pai­r.com...> Hi,>
I have pdflib installed with PHP 4.0.6 i want to embed an HTML document> into a PDF doc, any pointers on how this can be done ?>
gamin.>



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Olinux 22 October 2002 06:53:16 permanent link ]
 check out www.phpclasses.org - there's at least one
class there that does this.

olinux


--- gamin <gamin@vsnl.net> wrote:> Hi,>
I have pdflib installed with PHP 4.0.6 i want to> embed an HTML document> into a PDF doc, any pointers on how this can be done> ?>
gamin.>
-- > PHP General Mailing List (http://www.php.net­/)> To unsubscribe, visit: http://www.php.net/­unsub.php>


___________________­____________________­___________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.y­ahoo.com/

--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Maxim Maletsky 22 October 2002 16:11:43 permanent link ]
 
You may want to pass it via XML. You need to embed your HTML output to
be globally understood.

What i would do, I would create HTML and PDF pages from the same XML
output I make within PHP. You resolve how.

TIP: There are some tutorials online for doing this.


--
Maxim Maletsky
maxim@php.net

www.PHPBeginner.com­ // where PHP Begins



"gamin" <gamin@vsnl.net> wrote... :
Hi,>
I have pdflib installed with PHP 4.0.6 i want to embed an HTML document> into a PDF doc, any pointers on how this can be done ?>
gamin.>
-- > PHP General Mailing List (http://www.php.net­/)> To unsubscribe, visit: http://www.php.net/­unsub.php>


--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
James Van Etten 19 February 2004 23:56:40 permanent link ]
 When I convert an HTML page with a table the first column takes up 50%
of the table and the other columns are spread out over the other 50%.
What am I missing? I have search this list as well as the web and have
found no answers.

Thanks
Jim

*******************­****************
This e-mail, including attachments, is intended for the exclusive use
of the addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any dissemination,
use, distribution or copying is strictly prohibited. If you have
received this e-mail in error, please notify me via return e-mail and
permanently delete the original and destroy all copies.


-------------------­--------------------­----------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com­/?ad_id=1356&alloc_i­d=3438&op=click
Add comment
Jim VanEtten 4 March 2004 22:13:36 permanent link ]
 I have an HTML table that I wish to convert to PDF. It has between 8 and
13 columns. When I convert using:

// step 2:
// we create a writer that listens to the document
// and directs a XML-stream to a file
PdfWriter.getInstan­ce(document, new FileOutputStream("c­:/test.pdf"));

// step 3: we create a parser and set the document handler
SAXParser parser = SAXParserFactory.ne­wInstance().newSAXPa­rser();

// step 4: we parse the document
parser.parse("c:/bo­p3.htm", new SAXmyHtmlHandler(do­cument));

as per the instructions the first column takes up half the table and the
other columns are split evenly across the second half of the table. No
matter what percentage I put in the <td> tag I get the same result. How
can I get the table to equally distribute accross the cells.

Thanks
Jim


-------------------­--------------------­----------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http­://ads.osdn.com/?ad_­id=1470&alloc_id=363­8&op=click
Add comment
Jim VanEtten 4 March 2004 23:40:54 permanent link ]
 I have recieved a solution to my question about cell widths and it works
great now. Is there a way to control the size of the font ??

Thanks
Jim

Jim VanEtten said:> I have an HTML table that I wish to convert to PDF. It has between 8 and> 13 columns. When I convert using:>
// step 2:> // we create a writer that listens to the document> // and directs a XML-stream to a file> PdfWriter.getInstan­ce(document, new FileOutputStream("c­:/test.pdf"));>
// step 3: we create a parser and set the document handler> SAXParser parser = SAXParserFactory.ne­wInstance().newSAXPa­rser();>
// step 4: we parse the document> parser.parse("c:/bo­p3.htm", new SAXmyHtmlHandler(do­cument));>
as per the instructions the first column takes up half the table and the> other columns are split evenly across the second half of the table. No> matter what percentage I put in the <td> tag I get the same result. How> can I get the table to equally distribute accross the cells.>
Thanks> Jim



-------------------­--------------------­----------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http­://ads.osdn.com/?ad_­id=1470&alloc_id=363­8&op=click
Add comment
Bruno 5 March 2004 10:54:53 permanent link ]
 Quoting Jim VanEtten <jvane@invitation.o­rg>:
I have recieved a solution to my question about cell widths and it works> great now. Is there a way to control the size of the font ??

Some tags have a "size" attribute.
Check the code and/or the tutorial for more info.
br,
Bruno


-------------------­--------------------­----------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http­://ads.osdn.com/?ad_­id=1470&alloc_id=363­8&op=click
Add comment
Deepak PM 17 March 2004 06:50:31 permanent link ]
 Hi,
I am trying to convert a HTML document to PDF Document, I am using
the following code...

public static void main( String[] args )
{
Document m_oDocument = new Document( );
PdfWriter m_oPdfWriter = null;
try
{
m_oPdfWriter =
PdfWriter.getInstan­ce( m_oDocument,
new FileOutputStream( "myPDF.pdf" ) );

m_oDocument.open( );

SAXParser m_oSAXParser =
SAXParserFactory.ne­wInstance( ).newSAXParser(
);
SAXmyHtmlHandler m_oSaxHTMLHndlr =
new SAXmyHtmlHandler( m_oDocument );

m_oSAXParser.parse(­ "myHTML.html", m_oSaxHTMLHndlr );
m_oDocument.close( );
}
catch ( FileNotFoundExcepti­on e )
{
e.printStackTrace( );
}
catch ( DocumentException e )
{
e.printStackTrace( );
}
catch ( ParserConfiguration­Exception e )
{
e.printStackTrace( );
}
catch ( SAXException e )
{
e.printStackTrace( );
}
catch ( FactoryConfiguratio­nError e )
{
e.printStackTrace( );
}
catch ( IOException e )
{
e.printStackTrace( );
}
}


The PDF is successfully created, but the elements are not aligned as in
the html document, kindly help me out to achieve the same, responses to
pmdeepak@cordys.com­ is highly appreciated.


<file:///C:\Documen­ts%20and%20Settings\­dmani\Application%20­Data\Microsof
t\Signatures\vglogo­_main.gif>
[A Vanenburg Group Company]
Vanenburg IT Park.
Madhapur, Hyderabad-500081
Ph: - 91 40 5556 1457 (Office)
91 0988529 1457 (Mobile)
91 40 2330 0721 (Res)

<outbind://27-00000­000A63B435F39EBD6119­B7600508B139CB20700B­7DE71A2878BD3
119B2F00508B139CB20­000047618570000B7DE7­1A2878BD3119B2F00508­B139CB2000006
3882D10000/pmdeepak­@cordys.com> pmdeepak@cordys.com­



*******************­********************­********************­***********
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.

*******************­********************­********************­***********

Add comment
Hua W.H. 31 March 2004 11:23:48 permanent link ]
 
Add comment
Max 31 March 2004 13:09:50 permanent link ]
 I have an HTML table that I wish to convert to PDF. It has between 8 and
13 columns. When I convert using:

// step 2:
// we create a writer that listens to the document
// and directs a XML-stream to a file
PdfWriter.getInstan­ce(document, new FileOutputStream("c­:/test.pdf"));

// step 3: we create a parser and set the document handler
SAXParser parser = SAXParserFactory.ne­wInstance().newSAXPa­rser();

// step 4: we parse the document
parser.parse("c:/bo­p3.htm", new SAXmyHtmlHandler(do­cument));

as per the instructions the first column takes up half the table and the
other columns are split evenly across the second half of the table. No
matter what percentage I put in the <td> tag I get the same result. How
can I get the table to equally distribute accross the cells?




-------------------­--------------------­----------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http­://ads.osdn.com/?ad_­id=1470&alloc_id=363­8&op=click
Add comment
Luiz Fernando Rodrigues 18 June 2004 23:30:43 permanent link ]
 Hi,

Does anyone know a way to transform html docs into pdf? In
the FAQ section of iText they recommended a tool named HtmlDoc but it
doesn’t work very well.

Thanks,
Luiz


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft­.com).
Version: 6.0.707 / Virus Database: 463 - Release Date: 15/6/2004

Add comment
Taa Boo 23 June 2004 10:39:56 permanent link ]
 Hi,

we already solved this problem in Html2Pdf module at
http://www.pdfone.n­et ==> go there and download
NesOneSAXiTextHandl­er

cheers

http://www.pdfone.n­et
http://www.vietclev­er.com
http://www.sinhcafe­.net

--- Luiz Fernando Rodrigues
<lfrodrigues@teccom­m.les.inf.puc-rio.br­> wrote:> Hi,>
Does anyone know a way to transform html> docs into pdf? In> the FAQ section of iText they recommended a tool> named HtmlDoc but it> doesnt work very well.>
Thanks,> Luiz>
---> Outgoing mail is certified Virus Free.> Checked by AVG anti-virus system> (http://www.grisoft­.com).> Version: 6.0.707 / Virus Database: 463 - Release> Date: 15/6/2004>




___________________­_______________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.y­ahoo.com/new_mail


-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
Add comment
Caballero Caballero 23 June 2004 12:30:04 permanent link ]
 I have tried to use NesoneHtmlParser instead of HtmlParser but I have the
same problem with width columns.
I have downloaded the cnmkorea-iText.jar,­ cnmkorea-iTextXML.j­ar,
cnmkorea-html2pdf.j­ar from FCKitext.war from pdfone.net. It is correct? It
doesnВґt work?

thankss

Pepe Caballero
Ingeniero Informatica
-----Mensaje original-----
De: taa boo [mailto:dangtronghop@yahoo.com]
Enviado el: miГ©rcoles, 23 de junio de 2004 9:40
Para: Luiz Fernando Rodrigues; itext-questions@lis­ts.sourceforge.net
Asunto: Re: [iText-questions] HTML to PDF

Hi,

we already solved this problem in Html2Pdf module at
http://www.pdfone.n­et ==> go there and download
NesOneSAXiTextHandl­er

cheers

http://www.pdfone.n­et
http://www.vietclev­er.com
http://www.sinhcafe­.net

--- Luiz Fernando Rodrigues
<lfrodrigues@teccom­m.les.inf.puc-rio.br­> wrote:> Hi,>
Does anyone know a way to transform html> docs into pdf? In> the FAQ section of iText they recommended a tool> named HtmlDoc but it> doesnt work very well.>
Thanks,> Luiz>
---> Outgoing mail is certified Virus Free.> Checked by AVG anti-virus system> (http://www.grisoft­.com).> Version: 6.0.707 / Virus Database: 463 - Release> Date: 15/6/2004>




___________________­_______________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.y­ahoo.com/new_mail


-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___________________­____________________­________
iText-questions mailing list
iText-questions@lis­ts.sourceforge.net
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s




-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
Add comment
Taa Boo 24 June 2004 05:40:47 permanent link ]
 Hi,

You already download the right things

I did not getting your questions, may be

but it seems we solved the problem in the absolute
positioning case

Please try FCKitext with absolute positioning for
table and images as instruction below!!!

http://www.pdfone.n­et/opensource/nesone­wysiwyg_html2pdf/htm­l2pdf_app1.jpg

After u resize the table and images..some width/height
information is genereate
style="ZINDEX:123;L­EFT=123;TOP:123;WIDT­H:231;HEIGHT:34"

This is the input for better width and height at PDF
output (look almost the same)

dun'know it can answer your questions or not!!!

I did not apply this feature for relative positioning

cheers

vu ngoc tan

http://www.pdfone.n­et
http://www.vietclev­er.com
http://www.sinhcafe­.net
--- "Caballero Caballero, Jose"
<jose.caballero.ext­s@juntadeandalucia.e­s> wrote:> I have tried to use NesoneHtmlParser instead of> HtmlParser but I have the> same problem with width columns. > I have downloaded the cnmkorea-iText.jar,­> cnmkorea-iTextXML.j­ar,> cnmkorea-html2pdf.j­ar from FCKitext.war from> pdfone.net. It is correct? It> doesnt work?>
thankss>
Pepe Caballero> Ingeniero Informatica > -----Mensaje original-----> De: taa boo [mailto:dangtronghop@yahoo.com] > Enviado el: mi?coles, 23 de junio de 2004 9:40> Para: Luiz Fernando Rodrigues;> itext-questions@lis­ts.sourceforge.net> Asunto: Re: [iText-questions] HTML to PDF>
Hi,>
we already solved this problem in Html2Pdf module at> http://www.pdfone.n­et ==> go there and download> NesOneSAXiTextHandl­er >
cheers>
--- Luiz Fernando Rodrigues> <lfrodrigues@teccom­m.les.inf.puc-rio.br­> wrote:> > Hi,> >
Does anyone know a way to transform> html> > docs into pdf? In> > the FAQ section of iText they recommended a tool> > named HtmlDoc but it> > doesnt work very well.> >
Thanks,> > Luiz> >
---> > Outgoing mail is certified Virus Free.> > Checked by AVG anti-virus system> > (http://www.grisoft­.com).> > Version: 6.0.707 / Virus Database: 463 - Release> > Date: 15/6/2004> >
___________________­_______________> Do you Yahoo!?> Yahoo! Mail is new and improved - Check it out!> http://promotions.y­ahoo.com/new_mail>
-------------------­--------------------­----------------> This SF.Net email sponsored by Black Hat Briefings &> Training.> Attend Black Hat Briefings & Training, Las Vegas> July 24-29 - > digital self defense, top technical experts, no> vendor pitches, > unmatched networking opportunities. Visit> www.blackhat.com> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net>
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>
-------------------­--------------------­----------------> This SF.Net email sponsored by Black Hat Briefings &> Training.> Attend Black Hat Briefings & Training, Las Vegas> July 24-29 -> digital self defense, top technical experts, no> vendor pitches,> unmatched networking opportunities. Visit> www.blackhat.com> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net>
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>




___________________­_______________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.y­ahoo.com/new_mail


-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
Add comment
Luiz Fernando Rodrigues 24 June 2004 20:59:18 permanent link ]
 Hi,

I tried your handler but I can't make it works. Actually nor yours nor
the itext handler (SAXmyHtmlHandler).­ I'm trying to use the same code of
example 6 in the chapter 7 of the tutorial. All I got was an empty pdf
file. Do you know why?

I'll copy the code fragment:

PdfWriter.getInstan­ce(document, new FileOutputStream("C­hap0706.pdf"));
SAXParser parser = SAXParserFactory.ne­wInstance().newSAXPa­rser();
parser.parse("Chap0­702.html", new SAXmyHtmlHandler(do­cument));

thanks,
Luiz

-----Original Message-----
From: itext-questions-adm­in@lists.sourceforge­.net
[mailto:itext-questions-admin@lists.sourceforge.net] On Behalf Of taa
boo
Sent: quarta-feira, 23 de junho de 2004 04:40
To: Luiz Fernando Rodrigues; itext-questions@lis­ts.sourceforge.net
Subject: Re: [iText-questions] HTML to PDF

Hi,

we already solved this problem in Html2Pdf module at
http://www.pdfone.n­et ==> go there and download
NesOneSAXiTextHandl­er

cheers

http://www.pdfone.n­et
http://www.vietclev­er.com
http://www.sinhcafe­.net

--- Luiz Fernando Rodrigues
<lfrodrigues@teccom­m.les.inf.puc-rio.br­> wrote:> Hi,>
Does anyone know a way to transform html> docs into pdf? In> the FAQ section of iText they recommended a tool> named HtmlDoc but it> doesn’t work very well.>
Thanks,> Luiz>
---> Outgoing mail is certified Virus Free.> Checked by AVG anti-virus system> (http://www.grisoft­.com).> Version: 6.0.707 / Virus Database: 463 - Release> Date: 15/6/2004>




___________________­_______________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.y­ahoo.com/new_mail


-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___________________­____________________­________
iText-questions mailing list
iText-questions@lis­ts.sourceforge.net
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft­.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 18/6/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft­.com).
Version: 6.0.709 / Virus Database: 465 - Release Date: 22/6/2004




-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
Add comment
Taa Boo 25 June 2004 08:54:24 permanent link ]
 Hi,

Did you try Fckitext version 1.1 on tomcat

if it works, then you will see the sample how to use
html2pdf java class and how HTML sample code should be

0therwise,
you can download html2pdf.exe only with its Sample
Package/// English version available at pdfone.net
only

Korea version at sourceforge.net always comes out
blank view of PDF with non-korea font acrobat reader/.

hope can help,

anyway..please subscribe to our support list to
discuss about those stuffs at Pdfone.. I am reading
mess in itext group not frequently

https://lists.sourc­eforge.net/lists/lis­tinfo/fckitext-suppo­rt

All together, we can make better contributions

regards.

taboo

www.vietclever.com
www.pdfone.net
www.sinhcafe.net
--- Luiz Fernando Rodrigues
<lfrodrigues@teccom­m.les.inf.puc-rio.br­> wrote:> Hi,>
I tried your handler but I can't make it works.> Actually nor yours nor> the itext handler (SAXmyHtmlHandler).­ I'm trying to> use the same code of> example 6 in the chapter 7 of the tutorial. All I> got was an empty pdf> file. Do you know why?>
I'll copy the code fragment:>
PdfWriter.getInstan­ce(document, new> FileOutputStream("C­hap0706.pdf"));> SAXParser parser => SAXParserFactory.ne­wInstance().newSAXPa­rser();> parser.parse("Chap0­702.html", new> SAXmyHtmlHandler(do­cument));>
thanks,> Luiz>
-----Original Message-----> From: itext-questions-adm­in@lists.sourceforge­.net> [mailto:itext-questions-admin@lists.sourceforge.net]> On Behalf Of taa> boo> Sent: quarta-feira, 23 de junho de 2004 04:40> To: Luiz Fernando Rodrigues;> itext-questions@lis­ts.sourceforge.net> Subject: Re: [iText-questions] HTML to PDF>
Hi,>
we already solved this problem in Html2Pdf module at> http://www.pdfone.n­et ==> go there and download> NesOneSAXiTextHandl­er >
cheers>
--- Luiz Fernando Rodrigues> <lfrodrigues@teccom­m.les.inf.puc-rio.br­> wrote:> > Hi,> >
Does anyone know a way to transform> html> > docs into pdf? In> > the FAQ section of iText they recommended a tool> > named HtmlDoc but it> > doesnt work very well.> >
Thanks,> > Luiz> >
---> > Outgoing mail is certified Virus Free.> > Checked by AVG anti-virus system> > (http://www.grisoft­.com).> > Version: 6.0.707 / Virus Database: 463 - Release> > Date: 15/6/2004> >
___________________­_______________> Do you Yahoo!?> Yahoo! Mail is new and improved - Check it out!> http://promotions.y­ahoo.com/new_mail>
-------------------­--------------------­----------------> This SF.Net email sponsored by Black Hat Briefings &> Training.> Attend Black Hat Briefings & Training, Las Vegas> July 24-29 - > digital self defense, top technical experts, no> vendor pitches, > unmatched networking opportunities. Visit> www.blackhat.com> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net>
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>
---> Incoming mail is certified Virus Free.> Checked by AVG anti-virus system> (http://www.grisoft­.com).> Version: 6.0.708 / Virus Database: 464 - Release> Date: 18/6/2004>
---> Outgoing mail is certified Virus Free.> Checked by AVG anti-virus system> (http://www.grisoft­.com).> Version: 6.0.709 / Virus Database: 465 - Release> Date: 22/6/2004>




___________________­_______________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.y­ahoo.com/new_mail


-------------------­--------------------­----------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
Add comment
Lutz Biederbeck 7 July 2004 09:42:07 permanent link ]
 As seen on many sites, I want to add a "pdf-version" - function to my
site. So the content has to convert from html to pdf on the fly. I tested
"HTML2DOC", but there is no support for CSS. Has anyone experiences with
this or knows other tools?

Thanks Lutz

---
You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
David Whiterod 7 July 2004 09:57:32 permanent link ]
 Hi Lutz,

Try http://www.activepd­f.com/products/serve­rproducts/WebGrabber­/index.cfm

... or wait for Blackstone's <CFDOCUMENT FORMAT="pdf|flashpa­per" ...>

http://www.macromed­ia.com/devnet/mx/col­dfusion/articles/bla­ckstone.html

cheers

David


-----Original Message-----
From: Lutz Biederbeck [mailto:Lutz.Biederbeck-tz0N0cR1dMU@public.gmane.org]
Sent: Wednesday, July 07, 2004 4:12 PM
To: FarCry Developers
Subject: [farcry-dev] HTML to PDF


As seen on many sites, I want to add a "pdf-version" - function to my
site. So the content has to convert from html to pdf on the fly. I tested
"HTML2DOC", but there is no support for CSS. Has anyone experiences with
this or knows other tools?

Thanks Lutz

---
You are currently subscribed to farcry-dev as:
whiterod.david-thPe­e4JWKF1t6WZnHsqEgQ@p­ublic.gmane.org
To unsubscribe send a blank email to
leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

---
You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment
Sean Edwards 7 July 2004 22:22:46 permanent link ]
 Cold Fusion PDF Creation and Image Manipulation

http://www.easel2.c­om/

On Wed, 7 Jul 2004 16:27:32 +0930 , Whiterod, David (DTUP)
<whiterod.david-thP­ee4JWKF1t6WZnHsqEgQ@­public.gmane.org> wrote:> Hi Lutz,>
... or wait for Blackstone's <CFDOCUMENT FORMAT="pdf|flashpa­per" ...>>
cheers>
David>
-----Original Message-----> From: Lutz Biederbeck [mailto:Lutz.Biederbeck-tz0N0cR1dMU@public.gmane.org]> Sent: Wednesday, July 07, 2004 4:12 PM> To: FarCry Developers> Subject: [farcry-dev] HTML to PDF>
As seen on many sites, I want to add a "pdf-version" - function to my> site. So the content has to convert from html to pdf on the fly. I tested> "HTML2DOC", but there is no support for CSS. Has anyone experiences with> this or knows other tools?>
Thanks Lutz>
---> You are currently subscribed to farcry-dev as:> whiterod.david-thPe­e4JWKF1t6WZnHsqEgQ@p­ublic.gmane.org>
To unsubscribe send a blank email to> leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org> Aussie Macromedia Developers: http://lists.daemon­.com.au/>
---> You are currently subscribed to farcry-dev as: sean.edwards-Re5JQE­eQqe8AvxtiuMwx3w@pub­lic.gmane.org> To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org> Aussie Macromedia Developers: http://lists.daemon­.com.au/>

---
You are currently subscribed to farcry-dev as: gcf-farcry-dev-Uylq­5CNFT+jYtjvyW6yDsg@p­ublic.gmane.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org
Aussie Macromedia Developers: http://lists.daemon­.com.au/

Add comment


Sumedh 3 December 2004 15:02:17 permanent link ]
 Hi,

Is there a way by which I can convert given HTML to PDF using iText? Basically, I want to add an export button to my JSP's, that'll export the content area as a pdf.

Thanks.
Add comment
Matt Babineau 23 March 2005 00:52:41 permanent link ]
 Hi All, I have some reports I need converted from HTML to PDF, I'm on a LAMP
box, so does anyone have any free suggestions?

Thanks,

Matt Babineau
Criticalcode
w: http://www.critical­code.com
p: 858.733.0160
e: matt@criticalcode.c­om

Add comment


Chris Boget 23 March 2005 00:54:58 permanent link ]
 
Hi All, I have some reports I need converted from HTML to PDF, I'm on a> LAMP box, so does anyone have any free suggestions?

Google htmldoc

thnx,
Chris

--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Jason Barnett 23 March 2005 18:17:16 permanent link ]
 Matt Babineau wrote:> Hi All, I have some reports I need converted from HTML to PDF, I'm on a LAMP> box, so does anyone have any free suggestions?>

google fpdf

--
Teach a man to fish...

NEW? | http://www.catb.org­/~esr/faqs/smart-que­stions.html
STFA | http://marc.theaims­group.com/?l=php-gen­eral&w=2
STFM | http://php.net/manu­al/en/index.php
STFW | http://www.google.c­om/search?q=php
LAZY |
http://mycroft.mozd­ev.org/download.html­?name=PHP&submitform­=Find+search+plugins­
Add comment


John Tobias 7 May 2005 01:44:22 permanent link ]
 Hello All,

I would like to know if the IText API support the HTML to PDF conversion?
For, example I have
index.html then when I call IText API, it will convert html into a PDF file.

Thanks,

John




-------------------­--------------------­----------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy­.com/?r=20
Add comment
Neil Robertson-Ravo 13 June 2005 19:02:22 permanent link ]
 It is also not very good at complex HTML.

Probably loads out there.....have a look for iText or some other Java based
tool.



-----Original Message-----
From: Rey Bango [mailto:rey-i/B4upybFHxWk0Htik3J/w@public.gmane.org]
Sent: 13 June 2005 16:04
To: CF-Talk
Subject: HTML to PDF

Hi guys. I need a solution that will let me build a dynamic HTML page
and output it to PDF. I know of ActivPDF but it's currently priced at
$1,500 for their webgrabber product.

We're currently on CFMX 6.1.

Any alternatives?

Rey...

--




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209282
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rey Bango 13 June 2005 19:03:38 permanent link ]
 Hi guys. I need a solution that will let me build a dynamic HTML page
and output it to PDF. I know of ActivPDF but it's currently priced at
$1,500 for their webgrabber product.

We're currently on CFMX 6.1.

Any alternatives?

Rey...

--
http://www.ReyBango­.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209281
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Calvin Ward 13 June 2005 19:09:48 permanent link ]
 Upgrade to 7.0 and you'll pay less and get a whole bunch more functionality!
:)­

-----Original Message-----
From: Rey Bango [mailto:rey-i/B4upybFHxWk0Htik3J/w@public.gmane.org]
Sent: Monday, June 13, 2005 11:04 AM
To: CF-Talk
Subject: HTML to PDF

Hi guys. I need a solution that will let me build a dynamic HTML page and
output it to PDF. I know of ActivPDF but it's currently priced at $1,500 for
their webgrabber product.

We're currently on CFMX 6.1.

Any alternatives?

Rey...

--
http://www.ReyBango­.com




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209283
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
James Holmes 13 June 2005 19:11:31 permanent link ]
 Apache FOP (http://xml.apache.­org/fop/) works well. There's a good
stylesheet for XHTML-> FO at
http://www-106.ibm.­com/developerworks/l­ibrary/x-xslfo2app/ and the whole
lot is open source.

-----Original Message-----
From: Rey Bango [mailto:rey-i/B4upybFHxWk0Htik3J/w@public.gmane.org]
Sent: Monday, 13 June 2005 11:04
To: CF-Talk
Subject: HTML to PDF

Hi guys. I need a solution that will let me build a dynamic HTML page
and output it to PDF. I know of ActivPDF but it's currently priced at
$1,500 for their webgrabber product.

We're currently on CFMX 6.1.

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209284
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rick Mason 13 June 2005 19:14:52 permanent link ]
 Rey,
You may want to check out one of our CFUG presentations on that very
subject:
www.coldfusion.org/­downloads/Merging_CF­_With_Adobe_pdf.ppt<­http://www.coldfusio­n.org/downloads/Merg­ing_CF_With_Adobe_pd­f.ppt>
If you have any questions the author, Randy Brown, has his email in the
presentation.
Rick Mason


On 6/13/05, Rey Bango <rey-i/B4upybFHxWk0­Htik3J/w@public.gman­e.org> wrote: >
Hi guys. I need a solution that will let me build a dynamic HTML page> and output it to PDF. I know of ActivPDF but it's currently priced at> $1,500 for their webgrabber product.>
We're currently on CFMX 6.1.>
Any alternatives?>
Rey...>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209285
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Mark Madras 13 June 2005 19:15:24 permanent link ]
 Hello,

We use PDFLib (including PDI) which currently is running $900. It is
licensed on a per cpu basis with discounts for multi-cpu environments.

-Mark

On 6/13/05, Rey Bango <rey-i/B4upybFHxWk0­Htik3J/w@public.gman­e.org> wrote:> Hi guys. I need a solution that will let me build a dynamic HTML page> and output it to PDF. I know of ActivPDF but it's currently priced at> $1,500 for their webgrabber product.>
We're currently on CFMX 6.1.>
Any alternatives?>
Rey...>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209286
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rick Mason 13 June 2005 19:21:46 permanent link ]
 Rey,
Sorry I mistyped the URL.
www.coldfusion.org/­downloads/Merging_CF­_With_Adobe_pdf1.ppt­<http://www.coldfusi­on.org/downloads/Mer­ging_CF_With_Adobe_p­df1.ppt>
Rick Mason


On 6/13/05, Rick Mason <rhmason-Re5JQEeQqe­8AvxtiuMwx3w@public.­gmane.org> wrote: >
Rey,> You may want to check out one of our CFUG presentations on that very > subject:> www.coldfusion.org/­downloads/Merging_CF­_With_Adobe_pdf.ppt<­http://www.coldfusio­n.org/downloads/Merg­ing_CF_With_Adobe_pd­f.ppt>> If you have any questions the author, Randy Brown, has his email in the > presentation.> Rick Mason>
On 6/13/05, Rey Bango <rey-i/B4upybFHxWk0­Htik3J/w@public.gman­e.org> wrote: > >
Hi guys. I need a solution that will let me build a dynamic HTML page> > and output it to PDF. I know of ActivPDF but it's currently priced at > > $1,500 for their webgrabber product.> >
We're currently on CFMX 6.1.> >
Any alternatives?> >
Rey...> >

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209288
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rey Bango 13 June 2005 19:24:40 permanent link ]
 hehe. Thanks Calvin. Is CFDocument stable? I thought it was a bit quirky
at times?

Rey...

Calvin Ward wrote:> Upgrade to 7.0 and you'll pay less and get a whole bunch more functionality!> :)­ >
-----Original Message-----> From: Rey Bango [mailto:rey-i/B4upybFHxWk0Htik3J/w@public.gmane.org] > Sent: Monday, June 13, 2005 11:04 AM> To: CF-Talk> Subject: HTML to PDF>
Hi guys. I need a solution that will let me build a dynamic HTML page and> output it to PDF. I know of ActivPDF but it's currently priced at $1,500 for> their webgrabber product.>
We're currently on CFMX 6.1.>
Any alternatives?>
Rey...>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209290
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rey Bango 13 June 2005 19:25:00 permanent link ]
 Awesome James. I'll certainly look into these options.

Rey...

James Holmes wrote:> Apache FOP (http://xml.apache.­org/fop/) works well. There's a good> stylesheet for XHTML-> FO at> http://www-106.ibm.­com/developerworks/l­ibrary/x-xslfo2app/ and the whole> lot is open source.>
-----Original Message-----> From: Rey Bango [mailto:rey-i/B4upybFHxWk0Htik3J/w@public.gmane.org] > Sent: Monday, 13 June 2005 11:04 > To: CF-Talk> Subject: HTML to PDF>
Hi guys. I need a solution that will let me build a dynamic HTML page> and output it to PDF. I know of ActivPDF but it's currently priced at> $1,500 for their webgrabber product.>
We're currently on CFMX 6.1.>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209291
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rey Bango 13 June 2005 19:27:33 permanent link ]
 Hi Rick,

I tried to download it but nothing came up. I also cut and pasted the
url in my browser and still nothing. Perhaps its a different filename?

Rey,,

Rick Mason wrote:> Rey,> You may want to check out one of our CFUG presentations on that very > subject:> www.coldfusion.org/­downloads/Merging_CF­_With_Adobe_pdf.ppt<­http://www.coldfusio­n.org/downloads/Merg­ing_CF_With_Adobe_pd­f.ppt>> If you have any questions the author, Randy Brown, has his email in the > presentation.> Rick Mason>
On 6/13/05, Rey Bango <rey-i/B4upybFHxWk0­Htik3J/w@public.gman­e.org> wrote: >
Hi guys. I need a solution that will let me build a dynamic HTML page>>and output it to PDF. I know of ActivPDF but it's currently priced at>>$1,500 for their webgrabber product.>>
We're currently on CFMX 6.1.>>
Any alternatives?>>
Rey...>>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209292
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 13 June 2005 20:19:28 permanent link ]
 A few intro/demos of the CFDOCUMENT feature and creating printable HTML output in CFMX7 can be found here:

http://www.macromed­ia.com/software/cold­fusion/demos/

Damon

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209307
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rey Bango 13 June 2005 20:26:37 permanent link ]
 Thanks Damon. The thing is that we're running on CFMX 6.1 but I'm going
to bookmark these links for future use.

Rey.,

dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org wrote:> A few intro/demos of the CFDOCUMENT feature and creating printable HTML output in CFMX7 can be found here:>
Damon>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209310
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Paul Hastings 13 June 2005 20:55:33 permanent link ]
 Rey Bango wrote:> Thanks Damon. The thing is that we're running on CFMX 6.1 but I'm going

maybe iText. http://www.lowagie.­com/iText/ the demo stuff damon pointed
to should apply to this lib too.



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209312
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Calvin Ward 13 June 2005 21:23:36 permanent link ]
 Say, in one of our projects, cfdocument slices text and images in half at
page breaks... Why is that?

- Calvin

-----Original Message-----
From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org
[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org]
Sent: Monday, June 13, 2005 12:19 PM
To: CF-Talk
Subject: HTML to PDF

A few intro/demos of the CFDOCUMENT feature and creating printable HTML
output in CFMX7 can be found here:

http://www.macromed­ia.com/software/cold­fusion/demos/

Damon



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209315
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Rick Mason 13 June 2005 23:26:18 permanent link ]
 Rey,
Did you try the second URL I posted?
www.coldfusion.org/­downloads/Merging_CF­_With_Adobe_pdf1.ppt­<http://www.coldfusi­on.org/downloads/Mer­ging_CF_With_Adobe_p­df1.ppt>
Left off the "1" when I typed it the first time. It works on this end OK.
Or you can just go to
www.coldfusion.org/­downloads<http://www­.coldfusion.org/down­loads>and
find it on the page. It's by far the easiest choice to implement
without
going to CF-7.
Rick Mason


On 6/13/05, Rey Bango <rey-i/B4upybFHxWk0­Htik3J/w@public.gman­e.org> wrote: >
Hi Rick,>
I tried to download it but nothing came up. I also cut and pasted the> url in my browser and still nothing. Perhaps its a different filename?>
Rey,,>
Rick Mason wrote:> > Rey,> > You may want to check out one of our CFUG presentations on that very> > subject:> > www.coldfusion.org/­downloads/Merging_CF­_With_Adobe_pdf.ppt<­http://www.coldfusio­n.org/downloads/Merg­ing_CF_With_Adobe_pd­f.ppt>> <http://www.coldfus­ion.org/downloads/Me­rging_CF_With_Adobe_­pdf.ppt>> > If you have any questions the author, Randy Brown, has his email in the> > presentation.> > Rick Mason> >
On 6/13/05, Rey Bango <rey-i/B4upybFHxWk0­Htik3J/w@public.gman­e.org> wrote:> >
Hi guys. I need a solution that will let me build a dynamic HTML page> >>and output it to PDF. I know of ActivPDF but it's currently priced at> >>$1,500 for their webgrabber product.> >>
We're currently on CFMX 6.1.> >>
Any alternatives?> >>
Rey...> >>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209331
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 15 June 2005 02:57:43 permanent link ]
 Hmmm...this could be a known issue where if a table cell extends across pages, long text or images in that table cell can get cut off if CFDOC is doing auto-page breaking. It's on our radar to look at in the future, as is table header cell auto-duplication across pages when page breaks are encountered before a table is closed.

The workaround can be to do the break using the CFDOC subtags, and things should render properly.

HTH
Say, in one of our projects, cfdocument slices text and images in half at>page breaks... Why is that?>
- Calvin

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209481
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 15 June 2005 03:00:11 permanent link ]
 Not sure what "complex HTML" is, but full HTML 4.01 and CSS 1 and 2 are supported. If a browser can render it, we liely can as well. No HTML->XHTML re-formatting is required.

It is also not very good at complex HTML.>
Probably loads out there.....have a look for iText or some other Java based>tool.>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209483
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Calvin Ward 15 June 2005 04:34:33 permanent link ]
 Damon,

Thanks for responding!

The challeng is it's not so easy to break as we don't know the length of the
content ahead of time, or even if there is an image, much less where the
image is in the content (this is all CMS type stuff).

- Calvin

-----Original Message-----
From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org
[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org]
Sent: Tuesday, June 14, 2005 6:58 PM
To: CF-Talk
Subject: RE: HTML to PDF

Hmmm...this could be a known issue where if a table cell extends across
pages, long text or images in that table cell can get cut off if CFDOC is
doing auto-page breaking. It's on our radar to look at in the future, as is
table header cell auto-duplication across pages when page breaks are
encountered before a table is closed.

The workaround can be to do the break using the CFDOC subtags, and things
should render properly.

HTH
Say, in one of our projects, cfdocument slices text and images in half >at page breaks... Why is that?>
- Calvin



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209495
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Calvin Ward 15 June 2005 04:37:21 permanent link ]
 Our user group did a presentation last night and our user group site home
page didn't come across well (http://www.jaxfusi­on.org/) using cfhttp and
cfdocument. It actually only showed the amazon image in the PDF on the first
page!

Conversely, if you click the pretty validate button on that site, it does
validate as HTML 4.01 (the CSS validates as well).

- Calvin

-----Original Message-----
From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org
[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org]
Sent: Tuesday, June 14, 2005 7:00 PM
To: CF-Talk
Subject: RE: HTML to PDF

Not sure what "complex HTML" is, but full HTML 4.01 and CSS 1 and 2 are
supported. If a browser can render it, we liely can as well. No
HTML->XHTML re-formatting is required.

It is also not very good at complex HTML.>
Probably loads out there.....have a look for iText or some other Java >based tool.>



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209497
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Neil Robertson-Ravo 15 June 2005 13:10:44 permanent link ]
 Hmmm, I would have to test this again but on early tests it doe not like
complex table layouts or advanced CSS.



-----Original Message-----
From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org
[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org]
Sent: 15 June 2005 00:00
To: CF-Talk
Subject: RE: HTML to PDF

Not sure what "complex HTML" is, but full HTML 4.01 and CSS 1 and 2 are
supported. If a browser can render it, we liely can as well. No
HTML->XHTML re-formatting is required.

It is also not very good at complex HTML.>
Probably loads out there.....have a look for iText or some other Java based>tool.>



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209517
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 15 June 2005 15:14:39 permanent link ]
 You'll want to make sure you have resolveURL set for the CFHTTP call, that you have background images enabled for CFDOCUMENT, and watch the iframes on that page. I'll take a look at the result of this page in CFDOC later today, but those are a few tings I can think of off the top of my head. Also, if you're going after images or other assets from behind a proxy, you need to setup CFDOC to know about it to traverse the proxy on the way to resolving the assets.

I'll post back ater today...
Our user group did a presentation last night and our user group site home>page didn't come across well (http://www.jaxfusi­on.org/) using cfhttp and>cfdocument. It actually only showed the amazon image in the PDF on the first>page!>
Conversely, if you click the pretty validate button on that site, it does>validate as HTML 4.01 (the CSS validates as well).>
- Calvin

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209525
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 15 June 2005 15:18:45 permanent link ]
 Yeah, tracking row counts in table rendering sometimes is an imprecise science, but I've seen it done with good results. It's a little discocerting for users to split onto a new page without new headers re-rendered on printed copy anyway, so oming up with a counter, ending the tabel and re-starting the table on the next page is probably a good thing to do for the best user experience anyway.

Perhaps someone here could share their code with splitting tables at page breaks...

Damon,>
Thanks for responding!>
The challeng is it's not so easy to break as we don't know the length of the>content ahead of time, or even if there is an image, much less where the>image is in the content (this is all CMS type stuff).>
- Calvin

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209526
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Thomas Chiverton 15 June 2005 15:58:42 permanent link ]
 On Monday 13 June 2005 16:03, Rey Bango wrote:> Any alternatives?

http://html2pdf.sev­en49.net/ or the linux utility of the same name.

--

Tom Chiverton
Advanced ColdFusion Programmer

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209529
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Calvin Ward 15 June 2005 16:19:00 permanent link ]
 I did follow up on this and found there was only a single table surrounding
the content in question, everything inside the single table was done with
h1, p, etc. Removing that surrounding table didn't seem to change anything,
I'm going to tinker a bit more though.

- Calvin

-----Original Message-----
From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org
[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org]
Sent: Wednesday, June 15, 2005 7:19 AM
To: CF-Talk
Subject: RE: HTML to PDF

Yeah, tracking row counts in table rendering sometimes is an imprecise
science, but I've seen it done with good results. It's a little
discocerting for users to split onto a new page without new headers
re-rendered on printed copy anyway, so oming up with a counter, ending the
tabel and re-starting the table on the next page is probably a good thing to
do for the best user experience anyway.

Perhaps someone here could share their code with splitting tables at page
breaks...

Damon,>
Thanks for responding!>
The challeng is it's not so easy to break as we don't know the length >of the content ahead of time, or even if there is an image, much less >where the image is in the content (this is all CMS type stuff).>
- Calvin



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209531
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 16 June 2005 21:06:53 permanent link ]
 Here's the answer to this one: what you're seeing is the rendering of the iFrame contents only. If you remove the embedded iframe from this page, it renders fine.

Support for iFrames is enhancement request #54932, FYI.

HTH

Damon
Our user group did a presentation last night and our user group site home>page didn't come across well (http://www.jaxfusi­on.org/) using cfhttp and>cfdocument. It actually only showed the amazon image in the PDF on the first>page!>
Conversely, if you click the pretty validate button on that site, it does>validate as HTML 4.01 (the CSS validates as well).>
- Calvin >

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209699
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 16 June 2005 21:29:07 permanent link ]
 For that matter, actual browsers themseleves have some differences in implementation and rendering complex table layouts and CSS.

For the most part, the I think you'll find the HTML 4.01 and CSS 1 and 2 support is very good in CFDOCUMENT and far more complete than any other solution, IMO.

HTH

Damon

Hmmm, I would have to test this again but on early tests it doe not like>complex table layouts or advanced CSS.>
-----Original Message----->From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org>[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org] >Sent: 15 June 2005 00:00>To: CF-Talk>Subject: RE: HTML to PDF>
Not sure what "complex HTML" is, but full HTML 4.01 and CSS 1 and 2 are>supported. If a browser can render it, we liely can as well. No>HTML->XHTML re-formatting is required.>
It is also not very good at complex HTML.>>
Probably loads out there.....have a look for iText or some other Java based>>tool.>>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209706
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Calvin Ward 16 June 2005 22:21:33 permanent link ]
 Thanks Damon!

Still not having much luck with the sliced at page break images and text
though.

- Calvin

-----Original Message-----
From: dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org dcooper-14osZcCZf76­2oZ/6fjIToQ@public.g­mane.org
[mailto:dcooper-14osZcCZf762oZ/6fjIToQ@public.gmane.org]
Sent: Thursday, June 16, 2005 1:07 PM
To: CF-Talk
Subject: RE: HTML to PDF

Here's the answer to this one: what you're seeing is the rendering of the
iFrame contents only. If you remove the embedded iframe from this page, it
renders fine.

Support for iFrames is enhancement request #54932, FYI.

HTH

Damon
Our user group did a presentation last night and our user group site >home page didn't come across well (http://www.jaxfusi­on.org/) using >cfhttp and cfdocument. It actually only showed the amazon image in the >PDF on the first page!>
Conversely, if you click the pretty validate button on that site, it >does validate as HTML 4.01 (the CSS validates as well).>
- Calvin>



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209717
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org dcooper-14osZcCZf762oZ/6fjIToQ @ public . gmane . org 16 June 2005 23:09:28 permanent link ]
 If you have a repro case, BTW, shoot it at me offline and I'd like to check it out.

But for manual breaking, the idea is you'll want use cfdocumentitem type="pagebreak" in your cfloop or whatever you're using after closing the table tag, then re-open the table tag after the page break.

How dynamic the amount of data is that's being output in a particular doc table (affecting table row height), affects the amount of work required to close the table by page end and startup with a new table after issuing a page break.

The simplest case, of course, is if you have a case where table row heights don't vary wildly, and you can simply row-count and issue a page break after "N" rows.

Embedded tables, etc can add complexity of course.

Automatically closing open tables at page break time and reprinting headers is on our enhancement list as well (#59306), but didn't make it into CFMX7 (maybe next time :)­

HTH

Damon
Thanks Damon!>
Still not having much luck with the sliced at page break images and text>though.>
- Calvin

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:209725
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Ashley Lee 19 August 2005 02:19:36 permanent link ]
 Ok. I have asked this question before but it seems as though no one has
an answer so I'll try and ask it again. Is there anyway to write and
HTML string to the PDF document?
I don't want the HTML tags to appear in the document and I want to keep
the HTML formatting. Here is the scenario:

1) User enters text into a RTB(rich text box) and this data is stored in
a field in an associated table in SQL Server 2000.
2) User decides he/she wants to create a pdf document from the data they
entered in the admin form and chooses the
text to be inserted into the PDF document (this is the text they
entered in the RTB)
3) When they click "Create" I need to be able to retrieve this text
(which has HTML tags in it) and write it to the PDF document
on the appropriate page without the tags but keeping the formatting.

Is there a way to do this with iText.Net??

I tried to write the data to an HTML document and then parse it into a
pdf document but this proved fruitless since a) the HtmlWriter just
regurgitated the text complete with tags
b) I keep getting a Coverter error when trying to parse any html
document.

Need help on this if anyone has an idea. Thanks alot for any help
recieved.

Ashley Lee
Add comment
Paulo Soares 19 August 2005 03:47:39 permanent link ]
 HTMLWorker

----- Original Message -----
From: "Lee, Ashley" <Ashley.Lee@intgrou­p.com>
To: <itext-questions@li­sts.sourceforge.net>­
Sent: Thursday, August 18, 2005 11:19 PM
Subject: [iText-questions] HTML to PDF


Ok. I have asked this question before but it seems as though no one has
an answer so I'll try and ask it again. Is there anyway to write and
HTML string to the PDF document?
I don't want the HTML tags to appear in the document and I want to keep
the HTML formatting. Here is the scenario:

1) User enters text into a RTB(rich text box) and this data is stored in
a field in an associated table in SQL Server 2000.
2) User decides he/she wants to create a pdf document from the data they
entered in the admin form and chooses the
text to be inserted into the PDF document (this is the text they
entered in the RTB)
3) When they click "Create" I need to be able to retrieve this text
(which has HTML tags in it) and write it to the PDF document
on the appropriate page without the tags but keeping the formatting.

Is there a way to do this with iText.Net??

I tried to write the data to an HTML document and then parse it into a
pdf document but this proved fruitless since a) the HtmlWriter just
regurgitated the text complete with tags
b) I keep getting a Coverter error when trying to parse any html
document.

Need help on this if anyone has an idea. Thanks alot for any help
recieved.

Ashley Lee



-------------------­--------------------­----------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/­bsce5sf
Add comment
Stefano 7 October 2005 20:48:14 permanent link ]
 Hi!

I've problem to convert html to pdf. I've tried to use HTMLWorker or
HTMLParser.
With HTMLWorker I get a message like "Document without any page", instead with
the HTMLParser I get error with egrave (ГЁ) and ;nbsp.
Before to use these 2 classes, I use JTiny and the html looks regular.
Can anyone explain how to use one of these classes or also both? I'd like to
see some pieces of working code and html too, because I know how to
trasform "hello world" :)­

Stefano



-------------------­--------------------­----------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.ne­wsforge.com/ibmarch.­tmpl
Add comment
Luciano Rodrigues 10 January 2006 21:27:14 permanent link ]
 I need to convert a HTML file to PDF file.

How do I do this? Why my HTML file use encoding="ISO-8859-­1".



Add comment
Bill Ensley 10 January 2006 22:02:18 permanent link ]
 The iText tutorial is a great place to start.

http://itextdocs.lo­wagie.com/tutorial/

-Bill Ensley
Bear Printing

_____

From: itext-questions-adm­in@lists.sourceforge­.net
[mailto:itext-questions-admin@lists.sourceforge.net] On Behalf Of Luciano
Rodrigues
Sent: Tuesday, January 10, 2006 10:27 AM
To: itext-questions@lis­ts.sourceforge.net
Subject: [iText-questions] HTML to PDF


I need to convert a HTML file to PDF file.

How do I do this? Why my HTML file use encoding="ISO-8859-­1".


Add comment
Luciano Rodrigues 10 January 2006 22:21:53 permanent link ]
 Thanks!

I see there! But I dont found one example for my case.

The enconding 'ISO-8859-1' is my problem, because result error 'Invalid byte 2 of 3-byte UTF-8 sequence.'

My text is in Portuguese, I have text 'гзнук' for example, because this I need enconding ='ISO-8859-1'
"Bill Ensley" <bill@bearprinting.­com> 10/01/2006 17:02 >>>

The iText tutorial is a great place to start.

http://itextdocs.lo­wagie.com/tutorial/

-Bill Ensley
Bear Printing

From: itext-questions-adm­in@lists.sourceforge­.net [mailto:itext-questions-admin@lists.sourceforge.net] On Behalf Of Luciano Rodrigues
Sent: Tuesday, January 10, 2006 10:27 AM
To: itext-questions@lis­ts.sourceforge.net
Subject: [iText-questions] HTML to PDF



I need to convert a HTML file to PDF file.

How do I do this? Why my HTML file use encoding="ISO-8859-­1".




Add comment
Paulo Soares 10 January 2006 22:57:32 permanent link ]
 If you have xml there's encoding information. If you have html you may or
may not have encoding information and if you have is a lot down in the file
as a "<meta http-equiv="Content­-Type" content="text/html;­
charset=iso-8859-1"­>". You'll have to scan the file looking for this and
reopen the file in a Reader with the correct encoding.

----- Original Message -----
From: "Luciano Rodrigues" <LRodrigues@unisino­s.br>
To: <bill@bearprinting.­com>; <itext-questions@li­sts.sourceforge.net>­
Sent: Tuesday, January 10, 2006 7:21 PM
Subject: RE: [iText-questions] HTML to PDF


Thanks!

I see there! But I dont found one example for my case.

The enconding 'ISO-8859-1' is my problem, because result error 'Invalid byte
2 of 3-byte UTF-8 sequence.'

My text is in Portuguese, I have text 'ГЈГ§ГГіГЄ' for example, because this I
need enconding ='ISO-8859-1'
"Bill Ensley" <bill@bearprinting.­com> 10/01/2006 17:02 >>>

The iText tutorial is a great place to start.

http://itextdocs.lo­wagie.com/tutorial/

-Bill Ensley
Bear Printing

From: itext-questions-adm­in@lists.sourceforge­.net
[mailto:itext-questions-admin@lists.sourceforge.net] On Behalf Of Luciano
Rodrigues
Sent: Tuesday, January 10, 2006 10:27 AM
To: itext-questions@lis­ts.sourceforge.net
Subject: [iText-questions] HTML to PDF



I need to convert a HTML file to PDF file.

How do I do this? Why my HTML file use encoding="ISO-8859-­1".







-------------------­--------------------­----------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com­/?ad_id=7637&alloc_i­d=16865&op=click
Add comment
Luciano Rodrigues 11 January 2006 13:26:09 permanent link ]
 Identificaзгo sumбria dos conteъdos

a disciplina pretende contribuir para a reflexгo crнtica sobre os
grupos sociais, as sociedades, o tempo, e o espaзo a partir de
diferentes pressupostos teуrico-metodolуgic­os.

Objetivos da disciplina

* problematizar o campo de saber denominado estudos sociais,
considerando a forma como esse campo tem se mostrado e o papel que
tem exercido nos currнculos das escolas brasileiras, ao longo da
nossa histуria;

* questionar os conceitos de espaзo/tempo, territуrio, memуria,
grupo social, poder, sociedade em rede, natureza, lugar,
identidade, representaзгo, cidadania e йtica em diferentes
enfoques epistemolуgicos e pedagуgicos, buscando fundamentos
adequados ao estudo da dinвmica do meio e аrepresentaзгo da
realidade;

* examinar propostas didбtico-pedagуgica­s que vem sendo
desenvolvidas nas diferentes escolas da comunidade, emitindo
parecer fundamentado;

* reconstruir, com base na metodologia da pesquisa, uma nova
proposta de educaзгo em estudos sociais, utilizando de modo
crнtico, os referenciais da realidade vivenciada no nнvel de lugar
da escola e os referenciais teуrico-epistemolуg­icos desenvolvidos
ao longo do curso.

Exigкncias prйvias de conhecimentos e habilidades

* domнnio da estrutura bбsica da argumentaзгo;

* conhecimento dos conceitos fundamentais sobre o currнculo, a
aprendizagem e a sociologia da educaзгo;

* conhecimentos gerais acerca da historiografia do rio grande do sul
e da cultura brasileira.

Padrхes mнnimos de desempenho

* capacidade de refletir sobre a natureza do ensino de estudos
sociais na escola bбsica;

* competкncia para desenvolver atividades para o ensino de estudos
sociais, fundamentadas teoricamente.

Conteъdos programбticos

1. objetivos do ensino de estudos sociais na educaзгo bбsica;

2. fundamentos epistemolуgicos, metodolуgicos e pedagуgicos
relacionados com o processo de construзгo e reconstruзгo do
conhecimento em estudos sociais;

3. problemбtica doprocesso de aproximaзгo epistemolуgica entre
metodologias de investigaзгo e metodologias de ensino/educaзгo dos
estudos sociais;

4. problematizaзгo dos conceitos de espaзo, tempo, sociedade, poder,
lugar, identidade, globalizaзгo, cotidianidade;

5. processo de construзгo, pelos sujeitos, das noзхes de sociedade,
tempo e espaзo, a partir de uma determinada perspectiva teуrica;

6. anбlise do livro didбtico.

Metodologias, tйcnicas e recursos de ensino e de avaliaзгo de
aprendizagem

* leituras, seminбrios e debates;

* exposiзгo dialogada;

* produзгo e organizaзгo de recursos didбticos;

* produзгo individual escrita;

* realizaзгo de fichamentos de textos.

Add comment
Paulo Soares 11 January 2006 13:56:42 permanent link ]
 I understand your problem and I gave you the solution. Here's an hardcoded solution:

SAXParser parser = SAXParserFactory.ne­wInstance().newSAXPa­rser();
InputSource ips = new InputSource(new InputStreamReader(n­ew FileInputStream("c:­\\20061_010043.HTML"­), "iso-8859-1"));
parser.parse(ips, new SAXmyHtmlHandler(do­cument));
-----Original Message-----> From: itext-questions-adm­in@lists.sourceforge­.net > [mailto:itext-questions-admin@lists.sourceforge.net] On > Behalf Of Luciano Rodrigues> Sent: Wednesday, January 11, 2006 10:26 AM> To: bill@bearprinting.c­om; Paulo Soares; > itext-questions@lis­ts.sourceforge.net> Subject: Re: [iText-questions] HTML to PDF>
IВґm not kinding!>
You donВґt understand my problem!>
I Have a HTML file with encondig. I need to generate PDF > file. But I havenВґt XML file.>
Because this, I send my java source code and my html file to > you. This files are examples for my problem.>
I would like help. >
"Paulo Soares" <psoares@consiste.p­t> 10/01/2006 17:57 >>>>
If you have xml there's encoding information. If you have > html you may or > may not have encoding information and if you have is a lot > down in the file > as a "<meta http-equiv="Content­-Type" content="text/html;­ > charset=iso-8859-1"­>". You'll have to scan the file looking > for this and > reopen the file in a Reader with the correct encoding.>
----- Original Message ----- > From: "Luciano Rodrigues" <LRodrigues@unisino­s.br>> To: <bill@bearprinting.­com>; <itext-questions@li­sts.sourceforge.net>­> Sent: Tuesday, January 10, 2006 7:21 PM> Subject: RE: [iText-questions] HTML to PDF>
Thanks!>
I see there! But I dont found one example for my case.>
The enconding 'ISO-8859-1' is my problem, because result > error 'Invalid byte > 2 of 3-byte UTF-8 sequence.'>
My text is in Portuguese, I have text 'ГЈГ§ГГіГЄ' for example, > because this I > need enconding ='ISO-8859-1'>
"Bill Ensley" <bill@bearprinting.­com> 10/01/2006 17:02 >>>>
The iText tutorial is a great place to start.>
-Bill Ensley> Bear Printing>
From: itext-questions-adm­in@lists.sourceforge­.net > [mailto:itext-questions-admin@lists.sourceforge.net] On > Behalf Of Luciano > Rodrigues> Sent: Tuesday, January 10, 2006 10:27 AM> To: itext-questions@lis­ts.sourceforge.net> Subject: [iText-questions] HTML to PDF>
I need to convert a HTML file to PDF file.>
How do I do this? Why my HTML file use encoding="ISO-8859-­1".>
-------------------­--------------------­----------------> This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files> for problems? Stop! Download the new AJAX search engine that makes> searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK!> http://ads.osdn.com­/?ad_id=7637&alloc_i­d=16865&op=click> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net> https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>


-------------------­--------------------­----------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com­/?ad_idv37&alloc_id8­65&op=click
Add comment
Luciano Rodrigues 11 January 2006 14:47:22 permanent link ]
 Success!!!!!!

Thanks!

"Paulo Soares" <psoares@consiste.p­t> 11/01/2006 08:56 >>>

I understand your problem and I gave you the solution. Here's an hardcoded solution:

SAXParser parser = SAXParserFactory.ne­wInstance().newSAXPa­rser();
InputSource ips = new InputSource(new InputStreamReader(n­ew FileInputStream("c:­\\20061_010043.HTML"­), "iso-8859-1"));
parser.parse(ips, new SAXmyHtmlHandler(do­cument));
-----Original Message-----> From: itext-questions-adm­in@lists.sourceforge­.net > [mailto:itext-questions-admin@lists.sourceforge.net] On > Behalf Of Luciano Rodrigues> Sent: Wednesday, January 11, 2006 10:26 AM> To: bill@bearprinting.c­om; Paulo Soares; > itext-questions@lis­ts.sourceforge.net> Subject: Re: [iText-questions] HTML to PDF>
Im not kinding!>
You dont understand my problem!>
I Have a HTML file with encondig. I need to generate PDF > file. But I havent XML file.>
Because this, I send my java source code and my html file to > you. This files are examples for my problem.>
I would like help. >
"Paulo Soares" <psoares@consiste.p­t> 10/01/2006 17:57 >>>>
If you have xml there's encoding information. If you have > html you may or > may not have encoding information and if you have is a lot > down in the file > as a "<meta http-equiv="Content­-Type" content="text/html;­ > charset=iso-8859-1"­>". You'll have to scan the file looking > for this and > reopen the file in a Reader with the correct encoding.>
----- Original Message ----- > From: "Luciano Rodrigues" <LRodrigues@unisino­s.br>> To: <bill@bearprinting.­com>; <itext-questions@li­sts.sourceforge.net>­> Sent: Tuesday, January 10, 2006 7:21 PM> Subject: RE: [iText-questions] HTML to PDF>
Thanks!>
I see there! But I dont found one example for my case.>
The enconding 'ISO-8859-1' is my problem, because result > error 'Invalid byte > 2 of 3-byte UTF-8 sequence.'>
My text is in Portuguese, I have text 'гзнук' for example, > because this I > need enconding ='ISO-8859-1'>
"Bill Ensley" <bill@bearprinting.­com> 10/01/2006 17:02 >>>>
The iText tutorial is a great place to start.>
-Bill Ensley> Bear Printing>
From: itext-questions-adm­in@lists.sourceforge­.net > [mailto:itext-questions-admin@lists.sourceforge.net] On > Behalf Of Luciano > Rodrigues> Sent: Tuesday, January 10, 2006 10:27 AM> To: itext-questions@lis­ts.sourceforge.net> Subject: [iText-questions] HTML to PDF>
I need to convert a HTML file to PDF file.>
How do I do this? Why my HTML file use encoding="ISO-8859-­1".>
-------------------­--------------------­----------------> This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files> for problems? Stop! Download the new AJAX search engine that makes> searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK!> http://ads.osdn.com­/?ad_id=7637&alloc_i­d=16865&op=click> ___________________­____________________­________> iText-questions mailing list> iText-questions@lis­ts.sourceforge.net> https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s>


Add comment
Guest 7 March 2006 17:36:15 permanent link ]
 can you tell us your solution to the table data width issue
Add comment
Wes 17 March 2006 15:41:44 permanent link ]
 How do you convert html document to pdf?
Thanks
Wes

Add comment
Carolyn Marenger 17 March 2006 15:47:52 permanent link ]
 wes wrote:
How do you convert html document to pdf?> Thanks> Wes

Wes,

I print the html document, directing it to my pdf generating print driver.

Ok, seriously now - you can buy adobe software. If you prefer you can sign
up for their on-line service, you get a few free prints and then pay a
monthly fee. Once you have done either of these, you would then print the
document to your pdf print driver.

Carolyn
--
Carolyn Marenger

Add comment
Asterbing 17 March 2006 16:18:28 permanent link ]
 In article <1142595703.979124.­99650@u72g2000cwu.go­oglegroups.com>,
wesley@ispace.co.za­ says...> How do you convert html document to pdf?>
OmniFormat
Add comment
Wes 17 March 2006 16:18:41 permanent link ]
 I do have adobe. i thought that there is some code that i could type in
html or php that would convert the html to adobe.

thanks
Wes

Add comment
Jim Higson 17 March 2006 16:47:24 permanent link ]
 wes wrote:
How do you convert html document to pdf?

I have no idea how or why you want to do this (a bit more information would
have been helpful!), but there's a program called Prince that does this
very well.

see http://www.princexm­l.com/

If it is useful or not depends how you want to use it. If you want to
automatically convert many pages it'd probably be useful.

--
Jim

Add comment
Wes 17 March 2006 17:42:03 permanent link ]
 I have data in a table that i would like to convert to pdf. This would
make printing, saving and the security of the information easier.

Thanks
Wes

Add comment
Jim Higson 17 March 2006 18:18:36 permanent link ]
 wes wrote:
I have data in a table that i would like to convert to pdf. This would> make printing, saving and the security of the information easier.

Out of interest, how is it more secure?

OpenOffice can import HTML and export PDF. If it's just one document that
seems like the easiest way.

--
Jim
Add comment
Wes 17 March 2006 18:36:28 permanent link ]
 I want the text to be uneditable. In html format, a user could alter
some details and print out a report with incorrect data

Wes

Add comment
Jim Higson 17 March 2006 19:05:56 permanent link ]
 wes wrote:
I want the text to be uneditable. In html format, a user could alter> some details and print out a report with incorrect data

PDF isn't exactly uneditable, just more difficult to edit. There's an office
suite called KOffice that supports quite well the importing (and therefore
editing) of PDFs.

If you want to make sure a file doesn't change (any file, not just HTML),
you can do that by taking an MD5 hash of it, and then in future checking
the file still gives the same hash. This is how, for example, Bittorrent
knows the files it downloads haven't been altered by network corruption or
attack[1].

If you're interested, Google links to plenty of articles on how to do this.

[1] I'm not certain BT uses MD5, but the principle's the same.
--
Jim
Add comment
The Numerator 18 March 2006 02:27:56 permanent link ]
 I use CutePDF, which can make practically convert any file to .PDF for
free. To convert it, all you have to do I get to the print setup window
(as thought you were going to print) and when you have to choose which
printer to print to, just select CutePDF, and press Print; then it will
ask you where you want to save the converted .PDF file; that's all).

Link: http://www.cutepdf.­com/Products/CutePDF­/Writer.asp

Add comment
RobM 18 March 2006 11:46:38 permanent link ]
 
"wes" <wesley@ispace.co.z­a> wrote in message
news:1142595703.979­124.99650@u72g2000cw­u.googlegroups.com..­.> How do you convert html document to pdf?> Thanks> Wes>

http://html2pdf.sev­en49.net/



Add comment
Abhinav Sancheti 28 July 2006 23:08:57 permanent link ]
 --------------------­--------------------­--------------------­-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.­com/default.php?page­=join.php&p=sourcefo­rge&CID=DEVDEV

___________________­____________________­________
iText-questions mailing list
iText-questions@lis­ts.sourceforge.net
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s
Add comment
Porcupine 28 July 2006 23:46:06 permanent link ]
 
pass the html to HTMLWorker, through a stream eg MemoryStream (in C#):
StreamReader sr = new StreamReader(new
MemoryStream(Encodi­ng.UTF8.GetBytes(tex­t)), Encoding.UTF8);
ArrayList elements =
iTextSharp.text.htm­l.simpleparser.HTMLW­orker.ParseToList(sr­, ss);//ss is a
stylesheet or pass null

you now have an arraylist of Elements or in .Net IElements so you will need
to cast them first. Then add these to eg ColunmText or PDFCell or Document
--
View this message in context: http://www.nabble.c­om/HTML-to-PDF-tf201­7091.html#a5546005
Sent from the iText - General forum at Nabble.com.


-------------------­--------------------­--------------------­--------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.­com/default.php?page­=join.php&p=sourcefo­rge&CID=DEVDEV
Add comment
Don Kostello 12 October 2006 18:48:57 permanent link ]
 I am using the Java version of the library, version 1.4.5 I am trying to
convert an HTML page to a PDF document using HTMLWorker. I am doing a simple
conversion:

Document pdfDocument = new Document(PageSize.A­4, 20, 20, 20, 20);
HTMLWorker worker = new HTMLWorker(pdfDocum­ent);
StringReader sReader = new StringReader(displa­yHTML);
worker.parse(sReade­r);

The html document has an stylesheet embedded inside <style> tags.

The PDF document that gets created seems to lose all the formatting. What is
going wrong?

Don


-------------------­--------------------­--------------------­--------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.fa­lkag.net/sel?cmd=lnk­&kid=120709&bid=2630­57&dat=121642
Add comment
Don Kostello 12 October 2006 20:51:03 permanent link ]
 Paulo Soares <psoares <at> consiste.pt> writes:>
Stylesheets are not supported or to be more precise they are partly> supported in class StyleSheet but not parsed. It's in my to-do list but> as I don't have an immediate use for it it's not at the top.>
Paulo >

Then is it possible for me to create a StyleSheet instance and use
HTMLWorker.parseToL­ist(html, stylesheet) or set the stylesheet in my worker and
have those styles applied to my html?

If so, where is a good reference on how to create a stylesheet instance?







-------------------­--------------------­--------------------­--------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.fa­lkag.net/sel?cmd=lnk­&kid=120709&bid=2630­57&dat=121642
Add comment
Paulo Soares 12 October 2006 22:35:18 permanent link ]
 
----- Original Message -----
From: "Don Kostello" <don.kostello@citig­roup.com>
To: <itext-questions@li­sts.sourceforge.net>­
Sent: Thursday, October 12, 2006 6:51 PM
Subject: Re: [iText-questions] HTML to PDF

Paulo Soares <psoares <at> consiste.pt> writes:>>
Stylesheets are not supported or to be more precise they are partly>> supported in class StyleSheet but not parsed. It's in my to-do list but>> as I don't have an immediate use for it it's not at the top.>>
Paulo>>
Then is it possible for me to create a StyleSheet instance and use> HTMLWorker.parseToL­ist(html, stylesheet) or set the stylesheet in my > worker and> have those styles applied to my html?>
If so, where is a good reference on how to create a stylesheet instance?>
There are examples in the mailing list.

Paulo


-------------------­--------------------­--------------------­--------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.fa­lkag.net/sel?cmd=lnk­&kid=120709&bid=2630­57&dat=121642
Add comment
Guest 4 December 2006 22:38:58 permanent link ]
 --------------------­--------------------­--------------------­-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.­com/default.php?page­=join.php&p=sourcefo­rge&CID=DEVDEV

___________________­____________________­________
iText-questions mailing list
iText-questions@lis­ts.sourceforge.net
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s
Buy the iText book: http://itext.ugent.­be/itext-in-action/
Add comment
Bruno Lowagie 5 December 2006 11:01:08 permanent link ]
 MMarcavage@AndersonT­echs.com wrote:> Is there a way to convert HTML files to a PDF doc using the iText Jar file?> I did not see any examples if you can

iText isn't really made to convert HTML to PDF.
There are classes that can help you like HTMLWorker,
but there's no full blown HTML parser.

You'll find some thought about HTML to PDF conversion in
the FAQ: http://itext.ugent.­be/library/question.­php?id=40

best regards,
Bruno

-------------------­--------------------­--------------------­--------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.­com/default.php?page­=join.php&p=sourcefo­rge&CID=DEVDEV
___________________­____________________­________
iText-questions mailing list
iText-questions@lis­ts.sourceforge.net
https://lists.sourc­eforge.net/lists/lis­tinfo/itext-question­s
Buy the iText book: http://itext.ugent.­be/itext-in-action/

Add comment
Guest 8 May 2008 12:21:11 permanent link ]
 Hi, i am using iText,
for converting html to pdf.

the solution works fine if html file length is small.
but for large html file or complex ones its giving
error - "Stack Empty"....

could find any clue, after searching on net...

any help would be appreciable..

Thanks in advance.
Add comment
salvadi 10 June 2008 06:42:32 permanent link ]
 you can use Itext.jar file which is available free in net and generate the pdf from an html or servlet or jsp?
Add comment
salvadi 10 June 2008 06:44:37 permanent link ]
 Hi Venkat,

You can use itext.jar which is freely available in net .by using it we can generate pdf from html or jsp or servlet.I have tried the similar think using servlet.
Add comment
salvadi 10 June 2008 06:47:50 permanent link ]
 Hi all,

I have a problem while using itext for creating a pdf from database using servlet.While iam trying to open it 2nd time is is giving me error that the document has been closed you canot add any elements.
This is because i have closed the 1st window.Please can any one provide me the solution for it.

Thanks In Advance...:-D­

Add comment
Guest 4 September 2008 19:11:03 permanent link ]
 package pdfConverter;
/**
*@author Syed Muhammad Aizaz Haider
*/

import java.io.*;
import com.lowagie.text.*;­
import com.lowagie.text.pd­f.BaseFont;
import com.lowagie.text.pd­f.PdfWriter;
public class Converter {
public static void main (String pdf[]){
System.out.println(­"This is some text to be converted");
Document doc = new Document();
try{

PdfWriter writer = PdfWriter.getInstan­ce(doc, new FileOutputStream("R­ESULT.pdf"));
doc.open();
BaseFont embeded = BaseFont.createFont­("C:\\Windows\\Fonts­\\comic.ttf",BaseFon­t.CP1250,BaseFont.EM­BEDDED);
Font font = new Font(embeded,35);
font.setColor(25, 254, 75);
doc.add(new Paragraph("Hello World",font));
doc.add(new Paragraph("Syed Muhammad Aizaz Haider Zaidee the Prince !!!",font));
doc.add(new Paragraph("abc.jpg"­));
doc.newPage();
Image img = Image.getInstance("­abc.jpg");
System.out.println(­img.getClass().getNa­me());
doc.add(img);

}catch(Exception ex){
ex.printStackTrace(­);
}
doc.close();
}

}
Add comment
Guest 4 September 2008 19:11:51 permanent link ]
 package pdfConverter;
/**
*@author Syed Muhammad Aizaz Haider
*/
import com.lowagie.text.*;­
import com.lowagie.text.pd­f.*;
import java.io.*;
public class FilesizeCompression­ {




public static void main(String[] args) {
System.out.println(­"Chapter 8: example FileSizeComparison"­);
System.out.println(­"-> Creates a PDF file with a font that is not embedded");
System.out.println(­" and compared it with files that have the font embedded.");
System.out.println(­"-> jars needed: iText.jar");
System.out.println(­"-> resources needed: c:/windows/fonts/co­mic.ttf");
System.out.println(­"-> file generated: font__not_embedded.­pdf");
System.out.println(­" file generated: font_embedded1.pdf"­);
System.out.println(­" file generated: font_embedded2.pdf"­);

// step 1
Document document1 = new Document();
Document document2 = new Document();
Document document3 = new Document();
try {
// step 2
PdfWriter.getInstan­ce(document1, new FileOutputStream(
"font_not_embedded.­pdf"));
PdfWriter.getInstan­ce(document2, new FileOutputStream(
"font_embedded1.pdf­"));
PdfWriter.getInstan­ce(document3, new FileOutputStream(
"font_embedded2.pdf­"));

// step 3: we open the document
document1.open();
document2.open();
document3.open();
// step 4:
BaseFont bf_not_embedded = BaseFont.createFont­(
"c:/windows/fonts/c­omic.ttf", BaseFont.CP1252,
BaseFont.NOT_EMBEDD­ED);
BaseFont bf_embedded = BaseFont.createFont­(
"c:/windows/fonts/c­omic.ttf", BaseFont.CP1252,
BaseFont.EMBEDDED);­
Font font_not_embedded = new Font(bf_not_embedde­d, 12);
Font font_embedded = new Font(bf_embedded, 12);

document1.add(new Paragraph(
"This is document1 with ",
font_not_embedded))­;
document2.add(new Paragraph(
"quick brown fox jumps over the lazy dog", font_embedded));
document3.add(new Paragraph(
"ooooo ooooo ooo ooooo oooo ooo oooo ooo", font_embedded));
} catch (DocumentException de) {
System.err.println(­de.getMessage());
} catch (IOException ioe) {
System.err.println(­ioe.getMessage());
}

// step 5: we close the document
document1.close();
document2.close();
document3.close();
RandomAccessFileOrA­rray file;
try {
file = new RandomAccessFileOrA­rray("font_not_embed­ded.pdf");
System.out.println(­"Size font_not_embedded.p­df: " + file.length());
file = new RandomAccessFileOrA­rray("font_embedded1­.pdf");
System.out.println(­"Size font_embedded1.pdf:­ " + file.length());
file = new RandomAccessFileOrA­rray("font_embedded2­.pdf");
System.out.println(­"Size font_embedded2.pdf:­ " + file.length());
} catch (IOException e) {
e.printStackTrace()­;
}
}

}
Add comment
Guest 4 September 2008 19:12:24 permanent link ]
 package pdfConverter;
/**
*@author Syed Muhammad Aizaz Haider
*/
import java.io.FileOutputS­tream;

import com.lowagie.text.*;­
import com.lowagie.text.ht­ml.HtmlParser;
import com.lowagie.text.pd­f.PdfWriter;


public class HtmlSnippet {

/**
* Generates a PDF file with the text 'Hello World'
*
* @param args
* no arguments needed here
*/
public static void main(String[] args) {

Document document = new Document();
try {
PdfWriter.getInstan­ce(document, new FileOutputStream("h­tml1.pdf"));
HtmlParser.parse(do­cument, "list.html");
} catch (Exception e) {
e.printStackTrace()­;
}
}
}
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Java Programming > HTML to PDF 4 September 2008 19:12:24

see also:
RH9 OGo install Issues
[OX User] exchange connector
FW: [report] hackaton
pass tests:
Who you from Rozen Maiden-Traumend?
see also:
How to convert Mod/Tod video to…
Time to Throw Away Your iTunes
wto-store.com be committed to make…

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .