This topic is locked

Printer Firendly Version

6/12/2007 10:54:06 AM
ASPRunnerPro General questions
S
stealthwifi author

Hello,
On the printer friendly page, every thing is adjsuted and sized to fit perfect so we can print out 5 records with pictures on one page.

The problum is if you hit printer firendly when viewing more than 5 per page it cuts off the top of the 6th record and puts on the page above it.

Is there a way to set the page break in asprunner for the printer friendly page or can I change it so only 5 records can be viewed at a time?

Any solution that makes sure no records are cut off and spread out between more than one page should be perfect <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=5492&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />
Thank You!
Cheers,

Steatlh-

Sergey Kornilov admin 6/12/2007

I'd suggest to check Reports and Print the whole report function that does exactly what you need.

S
stealthwifi author 6/14/2007

I'd suggest to check Reports and Print the whole report function that does exactly what you need.


Is that avaible on version 4.1? I am not sure how to use that function if it is?
Cheers,

Steatlh-

Sergey Kornilov admin 6/15/2007

Reports are only available in version 5.0 and higher.

S
stealthwifi author 6/19/2007

With the need of our clients using the reports in version 5.0 (even though it works perfectly) won't work for our needs. I looked through the code to figure out how the page break occured and came up with what seemed to be these lines:
<!--{foreach from=$pages item=page}-->

<!--{foreach from=$page.rowinfo item=row}--><!------------------------------------- data -----------------------------------------><!--{if$row.havedata}-->
<!--{/if}--><!--{/foreach}-->

<P style="PAGE-BREAK-AFTER: always"></P><!--{/foreach}-->
I am still new to asp but it appears to be a for loop and just a page break after words. Is there a way I can add this code to my printer friendly page in asp v4.0 or even just the printer friendly page in v5 just not the report?
Cheers!

Stealth-