|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
asp task getting difficult!
hi, if anyone can help!
i want to print a string (that i retrieve from database field), that contains say 60 lines, then i want to insert a page break and a common header for each page. is that possible! Naresh wrote on 09 mrt 2006 in microsoft.public.inetserver.asp.general:
> i want to print a string (that i retrieve from database field), that Where do you want to print it using ASP?> contains say 60 lines, then i want to insert a page break and a common > header for each page. > On the server printer? On the client priner? On the client screen? What do you mean by page? Perhaps give an example of your code. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) Where do you want to print it using ASP?
--On the client priner & On the client screen What do you mean by page? --the output of executed asp page since, the large string, that i want to print thru asp, contains many lines i want to insert a proper page break in a print page, with a common header. Naresh Naresh wrote on 10 mrt 2006 in microsoft.public.inetserver.asp.general:
> Where do you want to print it using ASP? ASP does not know about client browser or client printing.> --On the client priner & On the client screen Please follow up on a clientside scriptng or css NG's for the below. ================ You cannot print to the client's printer with normal browser's security settings. Printing on the screen with HTML is usually not called so, but the rendered HTML "is" the WWW-way to fill the client's screen. > What do you mean by page? That is the rendered HTML.> --the output of executed asp page > since, the large string, that i want to print thru asp, contains many Use CSS printing options, like:> lines i want to insert a proper page break in a print page, with a > common header. <p STYLE="page-break-before: always">test text in the paragraph</p> if you want the user to print the page that is on the screen: <http://www.blooberry.com/indexdot/css/propindex/print.htm> use @media print {} for options setting specific to printing Again, not an ASP isue. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) |
|||||||||||||||||||||||