473,387 Members | 1,453 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.

ASP.net and Printing Landscape

We have a customer requirement that the final paperwork from an ASP.net
application is formatted and printed Landscape.

What is the best way to achieve this? What are my options?

Thanks
Nov 19 '05 #1
4 4102
Client side or server side?

Eliyahu

"Eric" <em******@comcast.net> wrote in message
news:Co********************@comcast.com...
We have a customer requirement that the final paperwork from an ASP.net
application is formatted and printed Landscape.

What is the best way to achieve this? What are my options?

Thanks

Nov 19 '05 #2
They want to be able to press a print button on a webform...

They want it to work like a Windows Application where the printer dialog
appears and then they can select the correct printer.

They don't want to have to specify 'Landscape' on that printer dialog

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Client side or server side?

Eliyahu

"Eric" <em******@comcast.net> wrote in message
news:Co********************@comcast.com...
We have a customer requirement that the final paperwork from an ASP.net
application is formatted and printed Landscape.

What is the best way to achieve this? What are my options?

Thanks


Nov 19 '05 #3
> They want to be able to press a print button on a webform...
Make a button that will call javascrip print() function.
They want it to work like a Windows Application where the printer dialog
appears and then they can select the correct printer. It will open the browser's Print dialog.
They don't want to have to specify 'Landscape' on that printer dialog You don't have any control over the dialog. You can't preset any properties.
You can't stop the user from going to the printer options and setting
whatever layout he wants. Your other option is to employ an ActiveX control
that can let you doing all this, but then you will have to get all the user
to install it on their machines.

Eliyahu

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Client side or server side?

Eliyahu

"Eric" <em******@comcast.net> wrote in message
news:Co********************@comcast.com...
We have a customer requirement that the final paperwork from an ASP.net
application is formatted and printed Landscape.

What is the best way to achieve this? What are my options?

Thanks



Nov 19 '05 #4
Yeah, I agree, did lots of work on this when I was writing a similar web
application. What it came down to was either use an activex or get the users
to set their printer by default to landscape!!!

Here's a thread that you might want to look at:

http://info-x.co.uk/vt.php?t=6665&highlight=

I don't know if I've still got the activex thought :-(

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ui**************@TK2MSFTNGP14.phx.gbl...
They want to be able to press a print button on a webform...

Make a button that will call javascrip print() function.
They want it to work like a Windows Application where the printer dialog
appears and then they can select the correct printer.

It will open the browser's Print dialog.
They don't want to have to specify 'Landscape' on that printer dialog

You don't have any control over the dialog. You can't preset any
properties.
You can't stop the user from going to the printer options and setting
whatever layout he wants. Your other option is to employ an ActiveX
control
that can let you doing all this, but then you will have to get all the
user
to install it on their machines.

Eliyahu

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> Client side or server side?
>
> Eliyahu
>
> "Eric" <em******@comcast.net> wrote in message
> news:Co********************@comcast.com...
>> We have a customer requirement that the final paperwork from an
>> ASP.net
>> application is formatted and printed Landscape.
>>
>> What is the best way to achieve this? What are my options?
>>
>> Thanks
>>
>>
>
>



Nov 19 '05 #5

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

Similar topics

2
by: Darcy Kahle | last post by:
I am trying to do some advanced printing in python using the win32ui module, and have run into an issue. I need to print a page landscape. As I could not determine how to specify the orientation...
4
by: Jody Gelowitz | last post by:
I am having a problem with printing selected pages. Actually, the problem isn't with printing selected pages as it is more to do with having blank pages print for those pages that have not been...
3
by: MarcJ | last post by:
Hello, I can't seem to get printing to landscape working. Here is some of the code I've tried. '--------------------------------------------------------------------------------- Dim...
5
by: Patrick De Ridder | last post by:
How can I turn what I want to print 90 degrees using the logic below? Please tell me the code with which to make the modification. Many thanks, Patrick. using System.ComponentModel; using...
5
by: cpopham | last post by:
I tried posting earlier and it never showed up.. I have a simple program to print a text file. I need to know how to change the page settings to landscape if it is not already in ladnscape mode. ...
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...
8
by: Rick Lederman | last post by:
I am using a PrintDocument and PrintDialog to print. The first time that I print it works, but when I try to print a second time without exiting the entire program I get an...
1
by: lord.zoltar | last post by:
Hi, I'm trying to print a text report from an application. It works fine, except in landscape mode, which it seems to ignore. I have a function that handles the PrintPage even for the...
6
by: sheinaz | last post by:
Hi I am tryign to use this to print my table in landscape by default. i am new at the xsl and need some assistance. when i try to use the following i get the error: Cannot view XML input using...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.