473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 2625
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: eric rudolph | last post by:
I am writing a photo gallery and suppose 8 photos are displayed. When the user clicks on a button under the picture, I want it to add that picture name to a "favorites" list within the session...
1
by: Mark | last post by:
Hi - apologies in advance if this is not the correct forum - tried searching loads, and still to find a workable solution. Generating a word document from ASP - no problem. Inserting page breaks...
9
by: BCS | last post by:
I have a web site in which the site administrator can input information to a database through a web form. The information then gets displayed on ASP pages. One field is a large text field. Of...
3
by: yfng | last post by:
I am doing a web project. Is there any method to print web pages with support of page breaks and without printer prompt diaglog e.g.like window.print() (or close immediately) by just clicking a...
1
by: EDom | last post by:
Hi, How can I calcuate page breaks in HTML data to print if required. Regards,
4
by: Ed Jay | last post by:
I generate a DHTML page (a medical report) with dynamically generated text based on user input (answers to questions). The page length changes dynamically. I desire that when the page is printed...
16
by: matt | last post by:
hello, ive been trying to figure something out, largely thru trial & error. thought perhaps someone else may have knowledge. i have an html table that consists of blocks of related data --...
0
by: bblue | last post by:
hi, I need help in implementing page breaks in XML files? any suggestion on how can this be done? do you recommend using processing instructions or add a new elements would make more sense? can the...
5
by: Andreas Prilop | last post by:
Firefox 3 (like older versions) ignores TR { page-break-before: always } for the first row of a TBODY. Sample page: http://www.unics.uni-hannover.de/nhtcapri/temp/1000.html Choose "Print...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.