Printing through ASP

M

Micah

I'm in the middle of a project using ASP pages that access an Access
database. I'd like to know how I can print a page without IE putting the
Page X of X at the top and the address/ date at the bottom of the page. Your
help is much appreciated.

Micah
 
M

Mike Brind

Micah said:
I'm in the middle of a project using ASP pages that access an Access
database. I'd like to know how I can print a page without IE putting the
Page X of X at the top and the address/ date at the bottom of the page.
Your
help is much appreciated.

You can go into the IE Page Setup and change this setting. Unfortunately,
everyone else who uses your app and prints from IE will have to do the same.
You have no way of manipulating this from ASP, because the browser belongs
to the client, not the server.
 
E

Evertjan.

Mike Brind wrote on 17 nov 2006 in
microsoft.public.inetserver.asp.general:
You can go into the IE Page Setup and change this setting.
Unfortunately, everyone else who uses your app and prints from IE will
have to do the same. You have no way of manipulating this from ASP,
because the browser belongs to the client, not the server.

IE7 has a nice alt-E function and a button
for that choice on the preview page.

ASP, not in this NG's sense,
but in the sense of "Application Service Provider",
has an ongoing problem with this printing when using a browser.

<http://en.wikipedia.org/wiki/Application_service_provider>
 
S

Slim

M

Micah

Thanks for the info, guys. Is there a way to open the Print Preview with
ASP. Currently I have the print button on my ASP page opening a printible
version of the page and I have the print window opening automatically.
However, depending on the size of the window, the printible page looks bad.
If I could have the print preview open automatically I wouldn't have the
users wondering if the form is going to fit correctly.
 
B

Bob Barrows [MVP]

Micah said:
Thanks for the info, guys. Is there a way to open the Print Preview
with ASP. Currently I have the print button on my ASP page opening a
printible version of the page and I have the print window opening
automatically. However, depending on the size of the window, the
printible page looks bad. If I could have the print preview open
automatically I wouldn't have the users wondering if the form is
going to fit correctly.

This is a browser-specific question that will get more attention on a
client-side scripting group like microsoft.public.scripting.jscript.

Having said that, I know of no way to accomplish this without some sort
of activex control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top