Printing on the client side

R

Ryan Moran

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
 
J

John Timney \(Microsoft MVP\)

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top