×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Perl PDF::FromHTML fails to create HTML

Perl PDF::FromHTML fails to create HTML

Perl PDF::FromHTML fails to create HTML

(OP)
thread219-1324321: PDF::FromHTML Help Needed

I have successfully installed Perl module PDF::FromHTML from CPAN.

However, it generates the following error when HTML contains nested tables:

C:\Users\CROM~1\AppData\Local\Temp\F7rrvlJWP6.xml: 'TABLE' (border 1) didn't make a node!
Error removing C:\Users\CROM~1\AppData\Local\Temp\F7rrvlJWP6.xml at C:/Perl/lib/File/Temp.pm line 890, <INFILE> line 1.

I was wondering if there is any workaround for this.  Anyone? smile

RE: Perl PDF::FromHTML fails to create HTML

Thought it rung a bell, personally i'd give up. the module doesn't work properly and seems to handle such basic HTML that it isn't worth beating yourself up trying to get it to work.

In the end I used http://www.websupergoo.com/abcpdf-1.htm , if you link back to their site, you can get it free!

It has an API for web apps , though I beleive I had to use PHP and perl to get it to work, but once you have it installed it really does work like a charm.

I have yet to find a perl module that is capable of creating PDF's from web pages!

Hope it helps and get's you PDFing!

 

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

MIME::Lite TLS Email Encryption - Perl v0.02 beta

RE: Perl PDF::FromHTML fails to create HTML

I just had a thought on the way home, it wasn't PHP, it was the  ASP API I used!

If you are running IIS with activestate perl (as I am) , it isn't a problem!

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

MIME::Lite TLS Email Encryption - Perl v0.02 beta

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close