Click here to get back home

PDF::Create

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
PDF::Create kielhd 02-28-2005
Posted by kielhd on February 28, 2005, 11:28 pm
Please log in for more thread options


Hi NG,

After creating the FIRST page successfully with text and drawing, I
have problems to put some text on the second page.
I can draw lines on the SECOND page using ths function

$page2->line($x1, $y1, $x2, $y2);

but as soon as I try to print some text on the SECOND page using the
function

$page2->string($f2, $SIZE2, $COL2, 612 - 10 - $LINE2 * $SIZE2,
"Hannibal");

the text is printed on the FIRST page.

As the dokumentation of the module PDF::Create is very limited, I
would like to have a look at some examples.
Does somebody have experience with this module?

TIA,
Henning


Posted by Slaven Rezic on March 1, 2005, 10:21 am
Please log in for more thread options


kielhd@freenet.de (kielhd) writes:

> Hi NG,
>
> After creating the FIRST page successfully with text and drawing, I
> have problems to put some text on the second page.
> I can draw lines on the SECOND page using ths function
>
> $page2->line($x1, $y1, $x2, $y2);
>
> but as soon as I try to print some text on the SECOND page using the
> function
>
> $page2->string($f2, $SIZE2, $COL2, 612 - 10 - $LINE2 * $SIZE2,
> "Hannibal");
>
> the text is printed on the FIRST page.
>
> As the dokumentation of the module PDF::Create is very limited, I
> would like to have a look at some examples.
> Does somebody have experience with this module?

There's a newer version of PDF::Create on Sourceforge
(http://www.sourceforge.net/projects/perl-pdf). Maybe you run into a
bug which is fixed now.

Regards,
Slaven

--
Slaven Rezic - slaven <at> rezic <dot> de

Berlin Perl Mongers - http://berlin.pm.org


Similar ThreadsPosted
PDF::Create (or alike) to create watermark for existing pdf file? June 11, 2006, 6:18 pm
How to create brand new XML file using XML::DOM July 9, 2004, 3:00 pm
Problems using Module PDF::Create February 18, 2005, 2:51 am
GD::Graph - Can it create a stock chart October 7, 2004, 10:42 am
Newbie created one module but can't create another January 2, 2005, 10:22 pm
Create Excel chart from spreadsheet on Un*x? December 28, 2006, 11:28 pm
Problem in using Win32::Process::Create July 24, 2007, 6:25 am
Image::Magick::Thumbnail::create problem September 24, 2004, 6:14 pm
problem using swig to create perl module October 6, 2005, 8:10 am
module to create Zork like game maps? June 22, 2005, 9:29 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap