472,358 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Opening Print Preview through ASP

I'm working on a project where I have a print button on my ASP page.
Currently, I have it setup to open a "printible version" of the form with the
print window automatically popping up. However, depending on the screen
resolution of the user and the IE window size the printible version doesn't
look right (but it prints correctly). I'd like to open the print preview
window automatically instead how I'm currently doing it. Is there a way to
do this?

Thanks,
Micah
Nov 17 '06 #1
2 4722
"Micah" <Mi***@discussions.microsoft.comwrote in message
news:09**********************************@microsof t.com...
I'm working on a project where I have a print button on my ASP page.
Currently, I have it setup to open a "printible version" of the form with
the
print window automatically popping up. However, depending on the screen
resolution of the user and the IE window size the printible version
doesn't
look right (but it prints correctly). I'd like to open the print preview
window automatically instead how I'm currently doing it. Is there a way
to
do this?
http://classicasp.aspfaq.com/general...-from-asp.html

--
Mike Brind
Nov 17 '06 #2
"Micah" <Mi***@discussions.microsoft.comwrote in message
news:09**********************************@microsof t.com...
I'm working on a project where I have a print button on my ASP page.
Currently, I have it setup to open a "printible version" of the form with
the
print window automatically popping up. However, depending on the screen
resolution of the user and the IE window size the printible version
doesn't
look right (but it prints correctly). I'd like to open the print preview
window automatically instead how I'm currently doing it. Is there a way
to
do this?


Nov 17 '06 #3

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

Similar topics

3
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how...
1
by: Bob Murdoch | last post by:
I've got an intranet application that presents a list of files in sort of a 'central repository' web page. Each file is an href in the form <a href=file://server/share/path/filename.ext>. When...
7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
1
by: sea | last post by:
I have Access 2002 and I am writing this application with a custom menu bar that has a print preview button -- the start up options hide the design window. The problem is that when an open form is...
0
by: John | last post by:
I have a class that creates an AxWebBrowser object in the background, loads some arbitrary html content, then shows the user a print preview. The only problem is, this print preview is a tiny...
2
by: Dean Slindee | last post by:
Anybody written code in VB.NET to: 1) show a print preview window of reports already written and stored in an Access 2002 database; or 2) execute the print of a report stored in an Access 2002...
6
by: CSharpguy | last post by:
In my gridview I have 2 -3 template fields which are hyperlinks. I allow the user to print this grid. When the grid prints it also prints the links, how can I take the user to a print preview page...
9
by: igotyourdotnet | last post by:
I need to create a print preview page BUT my page I need to print has a grid and in the grid I have 2 or 3 columns that have links I want to hide the columns with the links on my print preview page...
12
by: =?Utf-8?B?QWxpIFNoYWh6YWQ=?= | last post by:
Hi, asp.net 2.0, ie6, opera 9.22 For various supportability reasons, we need to redirect a page to a url and require that the target url should open in an Opera browser. The call is simple ...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

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.