Forum Moderators: open

Message Too Old, No Replies

How to print a page using .net

I need to print the content which consist of more than a single page.

         

janakiraman

3:26 pm on May 21, 2007 (gmt 0)

10+ Year Member



Hi

I have a page with print button. When you click this button a popup will open and you can print the deatils. When The data is within a single page the contents prints fine. But when there are more than a page, say there are 3 pages to be printed. What happens is the first page gets printed three times, instead of printing second and third page.

Where Am I wrong.

Thanks in advance for all the help in advance.

Thanks
Janakiraman

janakiraman

8:56 am on May 22, 2007 (gmt 0)

10+ Year Member



Is it possible to get the printer to default print to landscape using CSS? (so the user doesn't have to manually change the settings every time when he takes a print out).Also i need to set the page size to a4. can it be set using style sheet.

Thanks
Janakiraman

jaytee

7:51 pm on May 25, 2007 (gmt 0)

10+ Year Member



I have had to something similar. This article about landscape printing using css was where I started:-

[web.tampabay.rr.com...]

Hope it helps.