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 (April 2001, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 25 Apr 2001 15:29:41 -0400
Reply-To:     Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:      Re: Page Breaking in HTML

It's in the specification for CSS (Level 2) from the WWW Consortium. See

http://www.w3.org/TR/REC-CSS2/page.html#page-break-props

So Netscape will presumably support it at some point.

On Fri, 20 Apr 2001 06:48:47 -0700, Bill Dvorak <bdvorak@YAHOO.COM> wrote:

>I believe that style="page-break-after: always;" is an >IE Cascading Style Sheet convention that is not >supported in Netscape. > > >--- wei cheng <cheng_wei@HOTMAIL.COM> wrote: >> Hi Ya, >> >> I did print the html file from Netscape. And the >> three PROC PRINT is on the >> same page. >> >> But After I received your email, I use IE to print >> it, they are on three >> different pages. >> >> So it is related to the browser. Interesting. >> >> Thanks, >> >> Wei Cheng >> >================================================================= >> http://www.geocities.com/prochelp >> INTERNET and Web Resources for SAS Programmers and >> Statisticians >> >================================================================= >> >> >> >From: "Huang, Ya" <ya.huang@Agouron.COM> >> >To: "'wei cheng'" <cheng_wei@HOTMAIL.COM> >> >Subject: RE: Page Breaking in HTML >> >Date: Thu, 19 Apr 2001 10:17:12 -0700 >> > >> >Wei, >> > >> >I tried your code, and did get page break. >> >Did you really print it or your just see it >> >on the screen? >> > >> >ya >> > >> >-----Original Message----- >> >From: wei cheng [mailto:cheng_wei@HOTMAIL.COM] >> >Sent: Thursday, April 19, 2001 10:07 AM >> >To: SAS-L@LISTSERV.UGA.EDU >> >Subject: Re: Page Breaking in HTML >> > >> > >> >Darryl and Charles, >> > >> >Do you have any sample code for this? >> > >> >First, if you use PROC PRINT(or PROC REPORT,etc.), >> the PUT statement can't >> >go with it before the RUN statement. >> > >> >So I use DATA _NULL_ to implement the PUT >> statement. >> > >> >See a simple code below: >> > >> >ods listing close; >> >ods html body='c:\wei\htmtest.html'; >> >proc print data=sashelp.vmacro(obs=2); >> >data _null_; >> >put '<p style="page-break-after: always;"> </p>'; >> >run; >> >proc print data=sashelp.voption(obs=2); >> >run; >> >proc print data=sashelp.vextfl(obs=2); >> >run; >> >ods html close; >> >ods listing; >> > >> >I didn't see any page break effect there. Did I >> miss something? >> > >> >Regards, >> > >> >Wei Cheng >> >>================================================================= >> >http://www.geocities.com/prochelp >> >INTERNET and Web Resources for SAS Programmers and >> Statisticians >> >>================================================================= >> > >> > >From: Charles Patridge >> <Charles_S_Patridge@PRODIGY.NET> >> > >Reply-To: Charles Patridge >> <Charles_S_Patridge@PRODIGY.NET> >> > >To: SAS-L@LISTSERV.UGA.EDU >> > >Subject: Page Breaking in HTML >> > >Date: Thu, 19 Apr 2001 09:44:15 -0400 >> > > >> > >Darryl, >> > > >> > >Nice work! I tried it on a sample file, and when >> I printed the ouput, it >> > >paged exactly as you stated. I am sure others >> would fine it worth >> >knowing. >> > > >> > >I'll post it later as a tip on my site. >> > >Thanks, >> > >Charles Patridge >> > > >> > >------Original Message------ >> > >From: Lawrence Darryl <DLAWRENCE@OLDMUTUAL.COM> >> > >To: "'Charles_S_Patridge@prodigy.net'" >> <Charles_S_Patridge@prodigy.net> >> > >Sent: April 19, 2001 12:50:59 PM GMT >> > >Subject: Page break in HTML Code >> > > >> > > >> > >HI there Charles >> > > >> > >I found the solution to force a page break at the >> end of every >> >form/record >> > >that i output to HTML. >> > > >> > >The last command before the run statement should >> read as follows : >> > > >> > >put '<p style="page-break-after: always;"> </p>'; >> > > >> > >run; >> > > >> > >It works!!! Maybe you should publish this on >> your tips page. >> > > >> > >Regards >> > > >> > > >> > >DARRYL LAWRENCE >> > >PROGRAMMER >> > >MARKETING COMPUTER SERVICES >> > >1st Floor H Block >> > >Old Mutual Head Office >> > >Cape Town >> > >South Africa >> > > >> > >E-Mail : dlawrence@oldmutual.com >> > >Phone : 27 (0) 21 509-1781 >> > >Fax : 27 (0) 21 509-3965 >> > >Cell : 27 (0) 82 460-6636 >> > >> > >> > >> >>_________________________________________________________________ >> >Get your FREE download of MSN Explorer at >> http://explorer.msn.com >> >> >> >> >> >_________________________________________________________________ >> Get your FREE download of MSN Explorer at >http://explorer.msn.com > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Auctions - buy the things you want at great prices >http://auctions.yahoo.com/


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