RE: Printing from ASP.NET application

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi stullhe,

How are you doing.

have you got any further progress on this? If you have any other questions
or need any help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

Content-Transfer-Encoding: 7bit
From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
Organization: Microsoft
Date: Wed, 02 Jul 2008 06:57:42 GMT
Subject: RE: Printing from ASP.NET application

Hi stullhe,

From your description, you're wondering how to set the client-side printer
when performing printing on ASP.NET web page ,correct?

As for this question, based on my understanding, ASP.NET web application's
code logic is purely focus on server-side processing, therefore, any
server-side .NET code that deal with printer will only affect the server
machine's printer setting(of the ASP.NET service account). For
client-side,

the common client-side script(such as javascript) only support very simple
print operation(such as print the current page):

<script language="javascript">
window.print();
</script>

if you need rich and advanced control over printing setting at
client-side,
I think you may consider host some rich client component on your page(such
as ActiveX control or IE hosted .net winform control):

#Printing in ASP.NET
http://www.beansoftware.com/ASP.NET-Tutorials/Printing-Reporting.aspx

http://vb-printer.vista-files.org/

btw, for SQL Reporting Service it provide a ReportViewer control, however,
as far as I know, that control also need the client user to interactively
select the printer , but can not predefined a printer from ASP.NET
server-side code.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti
f
ications.


.



Relevant Pages

  • Re: Snorkles Mental Health Certificate Ad Nauseum
    ... I even controlled the number of posts he ... out thoughtful responses to my posts. ... When I incresed my replies, ... Cripes, you didn't even realize how much in my control you were, I ...
    (rec.sport.football.college)
  • Re: Snorkles Mental Health Certificate Ad Nauseum
    ... I even controlled the number of posts he ... out thoughtful responses to my posts. ... When I incresed my replies, ... Cripes, you didn't even realize how much in my control you were, I ...
    (rec.sport.football.college)
  • Re: Snorkles Mental Health Certificate Ad Nauseum
    ... I even controlled the number of posts he ... out thoughtful responses to my posts. ... When I incresed my replies, ... Cripes, you didn't even realize how much in my control you were, I ...
    (rec.sport.football.college)
  • Re: loosing messages leakes my app...
    ... It posts messages to a window, ... why don't you always use PostMessage? ... threads rely on the control, then you should not destroy the control before the ... POSSIBLY know the unique target window for which this is intended. ...
    (microsoft.public.vc.mfc)
  • Re: Need help on validation on a group of controls
    ... Here is the defenition of the CustomValidator control in my .aspx page ... I would use the following server-side event: ... because the validation involves the value of multiple controls. ... able to enter more than 8 charecters of the total VIN numner. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)