cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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.
Choose Language Hide Translation Bar
sam_t
Level III

add blank page with text on PDF output

Hi,

 

How can I add a blank page with some texts between plots. See the code below.

 

Thanks.

 

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Football.jmp" );

wf=new window("final");

wn = New Window("Bivariate", 
			Bivariate(Y(:Name("Height")), 
			X(:Name("Weight")), 
			Histogram Borders(1))); 
wf << append(wn);

//
// add a blank page here with some text?
//
wn = New Window("Bp", Bubble Plot(Y(:Name("Height")), X(:Name("Weight")))); wf << append(wn);
wf << set Print Headers( "", "", "" ); wf << Set page setup( margins( 1, 1, 1, 1 ), scale(1), portrait(0), paper size("Letter") ); wf << Save PDF("C:\JSL\final.pdf"); wf << Close Window; wn << Close Window; dt << Close Window;
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: add blank page with text on PDF output

Add a page break in the New Window using the Page Break message

wn << page break;

Check out the documentation in the Scripting Index.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: add blank page with text on PDF output

Add a page break in the New Window using the Page Break message

wn << page break;

Check out the documentation in the Scripting Index.

Jim

Recommended Articles