TPad::Print with Title: option

Hi,

I am saving a TCanvas with the following command:

As I understand from root.cern.ch/root/html/TPad.html#TPad:Print@1, this should produce a PDF file where the table of contents entry has the title “testtitle”. However, it has title “Page 1” (I tried various viewers including Adobe Reader).

Am I doing something wrong?

Thanks,
Peter

{
TH1F* hpx = new TH1F("test1", "test2", 10, 0, 10);

TCanvas* c1 = new TCanvas("c1","c1",200,10,700,500);
c1->cd();
hpx->Draw();

c1->Print("h1.pdf(", "Title:aaa");
c1->Print("h1.pdf", "Title:ccc");
c1->Print("h1.pdf)", "Title:bbb");
}