LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 20 Feb 2004 11:59:31 -0800
Reply-To:     "Choate, Paul@DDS" <pchoate@DDS.CA.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Choate, Paul@DDS" <pchoate@DDS.CA.GOV>
Subject:      Re: ODS pdf to print two tables on same page
Comments: To: Shaun <Shaun.Carlson@WELLCARE.COM>

Hi Shaun - try startpage=never:

ods pdf file="test.pdf" style=fancyPrinter startpage=never; proc print data=sashelp.class; title 'one'; run; proc print data=sashelp.class; title 'two'; run;

ods pdf close;

http://support.sas.com/91doc/getDoc/odsug.hlp/a002231506.htm http://support.sas.com/91doc/getDoc/odsug.hlp/a002217095.htm

STARTPAGE=NEVER | NO | NOW | YES - controls page breaks.

NEVER specifies not to insert page breaks, even before graphics procedures.

CAUTION: Each graph normally requires an entire page. The default behavior forces a new page after a graphics procedure, even if you use STARTPAGE=NO. STARTPAGE=NEVER turns off that behavior, so specifying STARTPAGE= NEVER might cause graphics to overprint.

NO specifies that no new pages be inserted at the beginning of each procedure, or within certain procedures, even if new pages are requested by the procedure code. A new page will begin only when a page is filled or when you specify STARTPAGE=NOW.

CAUTION: Each graph normally requires an entire page. The default behavior forces a new page after a graphics procedure, even if you use STARTPAGE=NO.

STARTPAGE=NEVER turns off that behavior. Alias: OFF Tip: When you specify STARTPAGE=NO, system titles and footnotes are still produced only at the top and bottom of each physical page, regardless of the setting of this option. Thus, some system titles and footnotes that you specify might not appear when this option is specified.

NOW forces the immediate insertion of a new page.

Tip: This option is useful primarily when the current value of the STARTPAGE= option is NO. Otherwise, each new procedure forces a new page automatically.

YES inserts a new page at the beginning of each procedure, and within certain procedures, as requested by the procedure code.

Alias: ON Default: YES

hth

Paul Choate DDS Data Extraction (916) 654-2160

-----Original Message----- From: Shaun [mailto:Shaun.Carlson@WELLCARE.COM] Sent: Friday, February 20, 2004 11:18 AM To: SAS-L@LISTSERV.UGA.EDU Subject: ODS pdf to print two tables on same page

Good afternoon all,

I am experimenting with ods printer pdf to print two summary tables. The first has two data lines and the second has six. I am [basically] doing:

<CODE> ods printer pdf; file 'myfile.pdf; run;

proc print data=set1; run;

proc print data=set2; run;

ods printer close; run; </CODE>

When I do this, the two tables print out on separate pages. I was wondering if there is anyway to print them both on the same page.

TIA, Shaun


Back to: Top of message | Previous page | Main SAS-L page