473,387 Members | 1,464 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,387 software developers and data experts.

Break new page

Greetings All,

I am having an ASP page that has a list of form (purchase order, invoices, etc) to be printed, end user can select the intended information to print by placing a check on the checkbox. When the end user click on the "Print" button, it will actually redirect to another ASP page that shows all the selected form to be printed. If the end user selected 5 forms to be printed, he will see all the 5 documents display in the ASP page one follow by another, and the Print Dialog will be launch by the window.print( ) function.

My question here is, if i select print from the print dialog, it will then print the ASP page content, which is the 5 documents, but it doesn't break them properly so that the company logo of the next will somehow ended up at the bottom of the page of the current document. I cant count the number of line to fixed them because each documents will have the different length based on the number of transaction made (e.g. purchase order). How am I supposed to format them so that I can ensure that when it reaches a new document, it will be printed in a new page.

Thank you very much

Best Regards
Gray d' Newbie
Aug 6 '08 #1
2 1184
Greetings All,

I already have the solution from: http://www.codestore.net/store.nsf/unid/DOMM-4WMEU6/
Thank you very much

Best Regards
Gray d' Newbie
Aug 6 '08 #2
DrBunchman
979 Expert 512MB
Thanks for posting the solution.

Dr B
Aug 6 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: 195.229.241.2 | last post by:
Dear group, I'm using <DIV> tags to display some content with absolute positioning. The content sometimes goes more than 1 page. So i would like to have page break after 1 set of content is...
1
by: Scanner2001 | last post by:
I am trying to insert a printer page break inside of a form. I do not seem to be able to do this. My form contains 3 asp panels. Each of the panels have dynamically built content, and they are...
3
by: Jennie | last post by:
I am looking for a way to make the web page have a formfeed so the info from that spot will go to the top of the next printed page when I file>print the web page. I want it not to break on the...
3
by: Barbara Alderton | last post by:
I recently wrote an ASP.NET app that used user controls. I produced a printer-friendly output form. One requirement was a pagebreak between one part of the form and another. I had no problem...
2
by: moondaddy | last post by:
I have a page that I'm making for the sole purpose of printing and this page makes 1.5 printed pages. Is there a way to force a print page break at a specific place so when the user prints the...
7
by: Abraham Luna | last post by:
how do i stop the dynamic validators from breaking explorer if i use a dynamic validator and move to a different control it breaks explorer and i can type in the page when i'm not supposed to....
8
by: CJM | last post by:
What is the best way to force a page break when printing from a browser? A page in my application generates a series of tables which are usually less than will fit on a page of A4. Ideally I want...
4
by: Rico | last post by:
Hello, I'm looking for a way to force a pagebreak in code. I'm having a tough time, the first page formats properly until the condition is met and then forces a new page. The problem is, every...
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 --...
7
by: =?Utf-8?B?aXdlYg==?= | last post by:
Can we set page breaks in ASP Pages dynamically based on the data being populated? Akshay.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.