in reply to PDF Information fields: Modifying
PDF::API2 is on CPAN#!/usr/bin/perl use PDF::API2; $pdf = PDF::API2->open('test.pdf'); #%info = $pdf->info; $font = $pdf->corefont("Times-Roman"); $info{Title} = $font->text( "New Title"); $pdf->info (%info); $pdf->update; $pdf->saveas("newfile.pdf");
HTH, --traveler
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: PDF Information fields: Modifying
by cardozo (Novice) on Sep 10, 2002 at 15:36 UTC | |
by traveler (Parson) on Sep 10, 2002 at 18:41 UTC |