キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
言語を選択 翻訳バーを非表示
Sebastienlg
Level II

JMP SCRIPT: Rename the top of each title page

Hello everyone,

I am making a PDF based on the journal, and I do not know how to rename the title or the top of each page...

Below is what I get:

Sebastienlg_0-1681212192081.png

Below is my script:

Table << journal;
graph << journal;
RAW_DATA_TABLE <<journal;

w = Current Journal(Report);
listOfReports = w << child;
nReports = N Items( listOfReports );


// Ajout du titre et de la date de création du rapport
headerPage = V List Box( 
H List Box (Text Box( "Période sélectionnées :" ), Text Box(Format("Date_1"n, "d/m/y")  ), Text Box(" au : "), Text Box(Format("Date_2"n, "d/m/y")  ))
);

Insert Into( listOfReports, headerPage, 1 );

w = Current Journal(R5);
w << Set page setup( margins(0.1, 0.75, 0.1, 0.75 ), scale( 1 ), portrait( 1 ), paper size( "Letter" ) );
w << save pdf( document\CC.pdf" );
w << close window;

Is someone has any suggestion to help me?

Regards,

Sébastien

 

1件の返信1

Re: JMP SCRIPT: Rename the top of each title page

Hello @Sebastienlg ,

You can change the window title with << set window title().

w = Current Journal(R5);
w << set window title("test name");

Hope this helps.

おすすめの記事