473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Client printing format

Hello,
I have an ASP form to collect some data and then have the client print it
out through their browser. I was wondering if there was any way to control
and/or eliminate (from the server side) the additional text that gets
printed on the page, such as:
"page 1 of x" at the top of the page;
The date at the bottom of the page;
and the form name and path at the bottom of the page.

Thanks,
Joe
Jul 19 '05 #1
3 1293
Not from ASP.
http://www.aspfaq.com/2014

--
http://www.aspfaq.com/
(Reverse address to reply.)

"JStrauss" <su**@strausselec.com> wrote in message
news:OK**************@tk2msftngp13.phx.gbl...
Hello,
I have an ASP form to collect some data and then have the client print it
out through their browser. I was wondering if there was any way to control
and/or eliminate (from the server side) the additional text that gets
printed on the page, such as:
"page 1 of x" at the top of the page;
The date at the bottom of the page;
and the form name and path at the bottom of the page.

Thanks,
Joe

Jul 19 '05 #2
Thanks for the leads. It looks like I will have to try a small script to
open the print setup on the client every time.

Thanks,
Joe

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:ux**************@TK2MSFTNGP11.phx.gbl...
Not from ASP.
http://www.aspfaq.com/2014

--
http://www.aspfaq.com/
(Reverse address to reply.)

"JStrauss" <su**@strausselec.com> wrote in message
news:OK**************@tk2msftngp13.phx.gbl...
Hello,
I have an ASP form to collect some data and then have the client print it out through their browser. I was wondering if there was any way to control and/or eliminate (from the server side) the additional text that gets
printed on the page, such as:
"page 1 of x" at the top of the page;
The date at the bottom of the page;
and the form name and path at the bottom of the page.

Thanks,
Joe


Jul 19 '05 #3
Joe,

window.print() does the trick.

Stan Scott
New York City

"JStrauss" <su**@strausselec.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
Thanks for the leads. It looks like I will have to try a small script to
open the print setup on the client every time.

Thanks,
Joe

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:ux**************@TK2MSFTNGP11.phx.gbl...
Not from ASP.
http://www.aspfaq.com/2014

--
http://www.aspfaq.com/
(Reverse address to reply.)

"JStrauss" <su**@strausselec.com> wrote in message
news:OK**************@tk2msftngp13.phx.gbl...
Hello,
I have an ASP form to collect some data and then have the client print it out through their browser. I was wondering if there was any way to control and/or eliminate (from the server side) the additional text that gets
printed on the page, such as:
"page 1 of x" at the top of the page;
The date at the bottom of the page;
and the form name and path at the bottom of the page.

Thanks,
Joe



Jul 19 '05 #4

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

Similar topics

2
by: Michael Hudson | last post by:
Does anyone (Tim?) have (ideally Python, but I can cope) code implementing the fixed-format algorithm from the Subject: named paper by Burger & Dybvig? Cheers, mwh -- <Erwin> #python FAQ:...
1
by: NickB | last post by:
Please could someone tell me what is wrong. Ther error is: An unhandled exception of type 'System.NullReferenceException' occurred in microsoft.visualbasic.dll Additional information: Object...
1
by: Ambush | last post by:
I am currently working on one of those projects that we all dread. The type that keeps growing out of scope faster than you can finish the component to deliver what they've already asked for. ...
1
by: Raymond Du | last post by:
Hi, I have serveral web forms used by users, these users often use IE browser print function to print out the form, the problems I have is what users see on the screen is usually different from...
2
by: Jurjen de Groot | last post by:
I'm about to start a new ASP.NET application, this application will generate several types of documents (PDF HTML XML-DOC) wich have to be printed at the client-side... (probably on different...
3
by: D Witherspoon | last post by:
No matter what I do the default paper size is always either A3 or 11 by 8.5 .. Here is the code. Dim dlg As DialogResult pd.DocumentName = "Weld Image" Dim pkPaperSize As New...
4
by: Schwarty | last post by:
I hope I posted this to the correct group. If not, please let me know and I will get it posted in the correct section. I have a web application developed in ASP.NET using C# for the code behind....
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
4
by: Luqman | last post by:
I am using Visual studio 2008 and ASP.Net 3.5 How can I fill a combo with List of Local Printers, installed on Client Machine ? If I have to buy any Activex Control from Internet, please do...
1
by: Glenn | last post by:
I am writing a program for field work that will use a receipt printer. I need to be able to adjust the page settings prior to printing depending on how much needs to be printed. I have been able...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.