Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print custom page 1

Status
Not open for further replies.

sibbir

IS-IT--Management
Dec 17, 2003
69
0
0
US
hi everyone,
I need to print in a way so it only print 4 lines per page regardless of paper size in the printer. is that possible in ASP? Thanks for your help.
 
do you have any loop or some logic that breaks your whole report into groups of 4 lines...if so...

you can put this small piece of code...

<p page-break-after:always></p> after every 4 lines...

another way of doing this...is to put the following code in the head section of your page...

<STYLE TYPE="text/css">
P.breakhere {page-break-after: always}
</STYLE>

and put this where ever you want a break...

<P CLASS="breakhere">

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top