Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: create tables with text and images in pdf

by roboticus (Chancellor)
on Jan 17, 2013 at 11:54 UTC ( #1013765=note: print w/replies, xml ) Need Help??

in reply to create tables with text and images in pdf


I'd second ree's suggestion to use a package to do the heavy lifting for you. Laying out documents from scratch can be a bit tedious, especially when items are wont to move around from run to run. I've not tried the suggested module (HTML::HTMLDoc), but a little digging through cpan may help you find a module that you can use with minimal fuss.

However, if you want to learn how to build PDF documents from scratch, you could find some examples here among the older nodes. The one I started with a year or so ago is Making Sudoku Puzzles Using PDF::API2. It's reasonably short, and shows how you can easily position text and draw simple graphics at different locations on a page.


When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: create tables with text and images in pdf

Replies are listed 'Best First'.
Re^2: create tables with text and images in pdf
by lighterjoul (Initiate) on Jan 18, 2013 at 02:15 UTC
    Thank you roboticus, I will check that. :) I had known how to create the images and text in pdf, but what I want to find is just want to create table dynamically both containing text column and iamge column. I will search in CPAN later..:)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013765]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2018-06-25 04:53 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.