in reply to PDF::API2 is confusing me to death..
Is probably more like what you want.$page_num = 1; while ($files[$counter] ne "") { print("Encoding $files[$counter] to PDF format\n"); open(INFILE, "$startdir/$files[$counter]"); $line=<INFILE>; while($line ne "") { $txt->translate($xc,$yc); $yc-=10; if($yc==0){ $pdf->page($page_count); $txt = $page->hybrid; $txt->textstart; $txt->font($fnt, 10); $page->mediabox('LETTER'); $yc=780; } $txt->text($line); $counter++; $line=<INFILE>; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDF::API2 is confusing me to death..
by Bentov (Novice) on Sep 06, 2005 at 18:26 UTC | |
by mpeters (Chaplain) on Sep 06, 2005 at 20:50 UTC |