469,612 Members | 1,673 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

Page Breaks with ASP / HTML

Was not sure if this was the place to post this or not, so if not, can
someone point me in the right direction.

Here is my problem - I have an ASP page the is generating a file with HTML
that is being opened with WORD. Can anyone give me a simple method, idea,
function, example, resourse, etc.... to figure out how to handle PAGE
BREAKS. I am not sure how to handle when to put the breaks in for the
report that is being created.

Any ideas???

Thanks in advance for your help.

Jul 19 '05 #1
1 2517
There are any number of ways to create a PDF, usually using Acrobat
(full version) or a component. You'd create the report with specific
sizes and page breaks, convert to PDF and deliver it. Check
planetpdf.com for some info on thius type of thing.

Jeff

On Tue, 5 Aug 2003 08:19:02 -0400, "Scott" <sm*****@siuins.com> wrote:
PDF - will it handle PG breaks??? Not sure how that works - I have a the
Printer loaded. Do I just print to it?
"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:3f***************@news.easynews.com...
This is an ideal job for XML, especially since you don't know that the
end user will print in your font, etc. CSS may also handle this, you
can set lines per page or similar. But if you *really* have to
control the printed output, best is to generate a PDF.

Jeff

On Tue, 5 Aug 2003 07:19:43 -0400, "Scott" <sm*****@siuins.com> wrote:
>I'll give this a try - looks like what I need. One last question. Ifyour >wanting multiple records per page, do you just put a counter that wouldkeep >up with the number of lines per page then use the break? Just trying to
>figure out when to break. I dont want results that belong to one headerto >be on the next page. The old widow/orphan problem.
>
>Thanks
>"Bullschmidt" <pa**@bullschmidt.com-nospam> wrote in message
>news:%2****************@TK2MSFTNGP11.phx.gbl...
>> The following could be used for a page break (works in IE and Netscape
>> Nav 6):
>> <tr style="page-break-before:always">
>> OR
>> <p style="page-break-before:always">
>> And for some reason align="left" (which is unnecessary anyways as the
>> default is left aligned) in any table which this is within (directly or
>> indirectly) means the page break doesn't work.
>>
>> Best regards,
>> J. Paul Schmidt, Freelance ASP Web Developer
>> http://www.Bullschmidt.com
>> ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
>>
>>
>> *** Sent via Developersdex http://www.developersdex.com ***
>> Don't just participate in USENET...get rewarded for it!
>


Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by eric rudolph | last post: by
3 posts views Thread by yfng | last post: by
1 post views Thread by EDom | last post: by
16 posts views Thread by matt | last post: by
reply views Thread by bblue | last post: by
5 posts views Thread by Andreas Prilop | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.