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

Printing on the client side


Hi,

I am writing a ASP.NET application using VB.NET and
everything is hunky dorey except for one thing. I am
having real problems printing to a printer on the client
side. I need to be able to send escape characters to a
printer and I was able to do this no problem on the server
side with a VB.NET application. however, I have no clue
how to do this on the client side. The closest thing I
have found is to associate the javascript window.print()
with the clicking of a button, that doesn't really help
with my problem. Does anyone have any ideas how I can do
this?

Thanks,
Ryan
Nov 17 '05 #1
2 6153
Reinvent the browser?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big things are made up of
lots of little things.

"Ryan Moran" <rm****@autotown.com> wrote in message
news:08****************************@phx.gbl...

Hi,

I am writing a ASP.NET application using VB.NET and
everything is hunky dorey except for one thing. I am
having real problems printing to a printer on the client
side. I need to be able to send escape characters to a
printer and I was able to do this no problem on the server
side with a VB.NET application. however, I have no clue
how to do this on the client side. The closest thing I
have found is to associate the javascript window.print()
with the clicking of a button, that doesn't really help
with my problem. Does anyone have any ideas how I can do
this?

Thanks,
Ryan

Nov 17 '05 #2
You cant really interact with the clients printer in that way without
extending IE, with trusted activex controls or using trusted applets. If
your working in an intranet and have access to the clients printer then you
send the contents you wish to print back to the server, and have some code
that picks up the job request on the server and prints the control chars to
the shared printer.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"Ryan Moran" <rm****@autotown.com> wrote in message
news:08****************************@phx.gbl...

Hi,

I am writing a ASP.NET application using VB.NET and
everything is hunky dorey except for one thing. I am
having real problems printing to a printer on the client
side. I need to be able to send escape characters to a
printer and I was able to do this no problem on the server
side with a VB.NET application. however, I have no clue
how to do this on the client side. The closest thing I
have found is to associate the javascript window.print()
with the clicking of a button, that doesn't really help
with my problem. Does anyone have any ideas how I can do
this?

Thanks,
Ryan

Nov 17 '05 #3

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

Similar topics

3
by: aniljain50 | last post by:
Hi All, I have a web form. let's say it has 3 fields. Employee No, Name ansd salary. Now my problem is I want to print the contents of this screen to a local printer. Note that this is client side...
7
by: ap | last post by:
Hi, It is a quick question... Is that impossible to print the page(Web Form .aspx file) in client side using GDI+ like PrintDocument pd = new PrintDocument(); pd.print(); As I know it is a...
6
by: Darren | last post by:
Guys, Based on selection in a datagrid,I need to retrieve info to construct a letter from a table in my database and send it off for printing.Now the thing is there may be a few hundred letters...
1
by: Jurjen de Groot | last post by:
I will be developing a new web-app (ASP.NET), this web-app needs to be able to print invoices, letters, forms, etc. to specific printer(s) on the client's pc. I know that one could create a...
4
by: Russ | last post by:
To ASP.NET printing experts: My Asp.net web form needs to print some reports at the client side. I've been trying to research this and find some confusing and conflicting information in previous...
2
by: cFleury | last post by:
Hello, I am new to ASP.NET and I have to print an invoice from an application written in ASP.NET, I have followed most of the threads in this newsgroup about the dificulties posed by the server...
2
by: Jacek | last post by:
I'm developing ASP.NET C# application. I need to implement server-side printing for asp.net form on specified in DB printer. I know how to print it on Client-side (window.print()). How can I print...
2
by: Jurjen de Groot | last post by:
I'm about to start a new ASP.NET application, this application will generate several types of documents (PDF HTML XML-DOC) wich have to be printed at the client-side... (probably on different...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.