473,796 Members | 2,645 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2649
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.e asynews.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**@bullschmi dt.com-nospam> wrote in message
>news:%2******* *********@TK2MS FTNGP11.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
2129
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 data, but NOT leave the page the user is on. How could I do this? thanks
1
3564
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 into the generated page, so that when loaded into Word it forces a page break, I cannot manage: No matter if I use: <p STYLE="page-break-after: always"></p>
9
2152
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 course, without html tags, the text gets displayed on the web page as one long paragraph since the database doesn't store any line breaks or paragraph breaks. The obvious solution (to me) is to use html tags like <br> in the input. However, while...
3
338
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 button on the webpage? Thank you very much.
1
1082
by: EDom | last post by:
Hi, How can I calcuate page breaks in HTML data to print if required. Regards,
4
3650
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 and reaches a specific length, it terminates printing that page, prints a page number, and then begins to print the next page using the same header and format as the previous page. The page uses no tables or paragraph elements, only CSS. IOW, I...
16
8376
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 -- each block contains three rows. this table is destined for paper printing. i would like to tell the browser *not* to bust up my blocks. rather, i would like it to smartly insert a page break inbetween <tbody>s if the last one cannot be rendered...
0
1357
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 processing instruction page number help in my case? To clarify things up, I know the content is displayed after being rendered to some XMLObjects tool. We mainly display digital content marked up in XML in our application after being rendered. ...
5
5446
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 Preview". Internet Explorer 6/7 prints every row onto a new page;
0
9533
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10461
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10239
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10019
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5447
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.