|
|
|
date: Tue, 1 Jul 2008 14:50:01 -0700,
group: microsoft.public.vsnet.general
back
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@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?SGVyYg==?= <stullhe104@newsgroup.nospam>
>Subject: Printing from ASP.NET application
>Date: Tue, 1 Jul 2008 14:50:01 -0700
>
>
>I've been looking at the printing options in an ASP.NET application for a
way
>to print a report to a specific printer.
>
>I see an option in Crystal Reports to use a PrintToPrinter command but I
>don't really want to use Crystal Reports, I'd rather use the RDCL or SQL
>Server Reporting Services.
>
>In essence, each of my workstations will have multiple printers attached.
>One will be a regular printer (desktop), a second is a 1 inch label
printer
>and the third is a 4 inch label printer.
>
>I don't want the end user to have to view the report and then select the
>printer it is to go to, I want to be able to specify in code that a report
is
>to be printed to the 4 inch label printer. The next report may go to the
>desktop printer and the next to the 1 inch label printer.
>
>I know which report goes where, I just need to be able to specify in code
>where I want it printed.
>
>Is there a way to accomplish this using ASP.NET in a web based application?
>
>Thank you,
>
>--
>stullhe104
>
date: Wed, 02 Jul 2008 06:57:42 GMT
author: (Steven Cheng [MSFT])
RE: Printing from ASP.NET application
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@microsoft.com.
==================================================
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@online.microsoft.com (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@microsoft.com.
>
>==================================================
>Get notification to my posts through email? Please refer to
>http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti
f
>ications.
>
date: Fri, 04 Jul 2008 11:01:16 GMT
author: (Steven Cheng [MSFT])
|
|