473,503 Members | 11,237 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Mar 9 '06 #1
3 1348
wrote on 09 mrt 2006 in microsoft.public.inetserver.asp.general:
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.


Where do you want to print it using ASP?

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)
Mar 9 '06 #2
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

Mar 10 '06 #3
Naresh wrote on 10 mrt 2006 in microsoft.public.inetserver.asp.general:
Where do you want to print it using ASP?
--On the client priner & On the client screen
ASP does not know about client browser or client printing.
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?
--the output of executed asp page
That is the rendered HTML.
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.


Use CSS printing options, like:

<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)
Mar 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4065
by: jack | last post by:
Hi, I am looking for a task manager written in python that is powerfull and simple enough to schedule a lot of different tests on an every day or many time a day basis. ...
5
4549
by: A. Lovhaug | last post by:
I have a console application built in the .NET Framework. This application basically executes an XCopy based on parameters that I pass to it. I use it for creating scripts for backing up folders,...
2
5827
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by...
2
4712
by: database_guy | last post by:
I am getting the following error when trying to run or schedule a task. Please see below. There are more error explanations and I did not put all of them because I believe it to be one of the 1st...
1
1607
by: stevenkblack | last post by:
I want to send out emails like the task center sends. I have found several post about creating your own stored procedures in Java or C that will do it. The Task center is already using an api to...
6
7138
by: Marcus | last post by:
Hi, I am a newbie at C#. Here is my current problem: I want my application to iterate through the list of tasks presented in task manager. I want it to look at the task names and if a certain...
2
2273
by: Eniac | last post by:
*argh* ... *pull hairs* I've recently started developing from ASP to ASP.NET The switch was fairly smooth since i had done some VB.net before ... then came...FORMS! :) I find it astounding...
4
1323
by: Laserson | last post by:
Hi all! I have a very difficult task for me and i can't so it. My task: I have created an application. But how to determine that it is not responding??? You can see it when windows add "Not...
0
1542
oll3i
by: oll3i | last post by:
import javax.swing.*; import java.awt.event.*; import java.util.ArrayList; import java.util.List; import java.util.concurrent.*; import java.lang.reflect.*; public class Exec1 extends JFrame...
2
2123
by: zakaria2710 | last post by:
Would u help me with this task, I am new in C++ programming, this codes have alot of errors, I have never work with graphs before, I am using Borlard C++ Ver 5.02. I was told u can not run a graph...
0
7194
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
7316
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...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5566
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.