Re: pdf document info

2004-06-24 Thread nos...@mrietzler.de
the faq only mention itext, a java class. so you have to write your own
javaprogramme.
no "quick" solution for command-line-tweaking.
with perl you can do this very quick and simple:
#!/path/to/perl
use PDF::API2;
my $pdf = PDF::API2->open('test.pdf');
my $currenttime = localtime();
$pdf->info(  'Author' => "Your Name",
'Title'  => "DocumentTitle",
'CreationDate' => $currenttime,
'ModDate' => $currenttime,
'Creator' => "How did this",
'Producer' => "Was it me?",
'Subject' => "Ticket ID: $ARGV[0]",
'Keywords' => "One Two Three");
# $pdf->update;
$pdf->saveas("testwithinfo.pdf");
exit;
thanxs
markus
Pascal Sancho wrote:
Hi,
You should probably find answer in the FAQ (http://xml.apache.org/fop/faq.html#pdf-doc-properties) or in the post-processing page (http://xml.apache.org/fop/output.html#pdf-postprocess).
Tcho
 

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 22 juin 2004 23:07
À : [EMAIL PROTECTED]
Objet : pdf document info

does anybody knows a way to add the document info to a pdf-file created with 
fop?
markus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: pdf document info

2004-06-23 Thread Pascal Sancho
Hi,
You should probably find answer in the FAQ 
(http://xml.apache.org/fop/faq.html#pdf-doc-properties) or in the 
post-processing page (http://xml.apache.org/fop/output.html#pdf-postprocess).
Tcho
 

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 22 juin 2004 23:07
À : [EMAIL PROTECTED]
Objet : pdf document info

does anybody knows a way to add the document info to a pdf-file created with 
fop?


markus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



pdf document info

2004-06-22 Thread nos...@mrietzler.de
does anybody knows a way to add the document info to a
pdf-file created with fop?
markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]