| | |
Printing on client using a web application, written in vb.net
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2008
Posts: 7
Reputation:
Solved Threads: 0
Hello,
I have a problem and i'm not sure if the solution i have is the only way to solve it.
I'm trying to developing a webapplication in vb.net which enables users to print documents on their own pc. It should do some more stuff on the client (provide ATM/PIN functionality) but printing has the focus for now.
Is there anybody out there who can tell me how to do this. I've heard that writing an activeX component is ONE solution but I want to know if there's another way. And, if not, maybe somebody can provide some usefull links regarding activeX printing capabilities.
Thanks in advance
I have a problem and i'm not sure if the solution i have is the only way to solve it.
I'm trying to developing a webapplication in vb.net which enables users to print documents on their own pc. It should do some more stuff on the client (provide ATM/PIN functionality) but printing has the focus for now.
Is there anybody out there who can tell me how to do this. I've heard that writing an activeX component is ONE solution but I want to know if there's another way. And, if not, maybe somebody can provide some usefull links regarding activeX printing capabilities.
Thanks in advance
Well, you can just output printer friendly HTML pages, but this won't allow you to control 100% of the paper output (the brower will put the url, page number, title, etc on the header/footer).
Another interesting route other then ActiveX, is a Windows Forms application with ClickOnce deployment. The user would then click a link on a webpage which launches the ClickOnce deployment (which downloads the application and then runs it). I believe this can even run under a standard user (non-admin) account. Since this would be a standard VB.NET Windows Forms project, you have full printer output capabilities.
Another interesting route other then ActiveX, is a Windows Forms application with ClickOnce deployment. The user would then click a link on a webpage which launches the ClickOnce deployment (which downloads the application and then runs it). I believe this can even run under a standard user (non-admin) account. Since this would be a standard VB.NET Windows Forms project, you have full printer output capabilities.
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
Join Date: Jan 2008
Posts: 7
Reputation:
Solved Threads: 0
Duh, i'd figured that out allready... But using javascript print method means getting that ugly print dialog screen, which i don't want.
My application has to automatically print a receipt on the printer of the user logged in (CLIENT-SIDE), WITHOUT user intervention.
Using activex means that the user gets a securitymessage. This is acceptable if this only occurs once. Can anybody tell me if this is true or not.
My application has to automatically print a receipt on the printer of the user logged in (CLIENT-SIDE), WITHOUT user intervention.
Using activex means that the user gets a securitymessage. This is acceptable if this only occurs once. Can anybody tell me if this is true or not.
•
•
•
•
Duh, i'd figured that out allready... But using javascript print method means getting that ugly print dialog screen, which i don't want.
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
•
•
Join Date: Sep 2007
Posts: 1,080
Reputation:
Solved Threads: 68
those are usually settings on the user's computer anyway. only way to bypass it is to have your own client-side program that they download first, then run the program which prints the document just how tekmaven said. The problem you face here is that most people won't run an unaccredited program especially designed by a user without a license. Otherwise, the only successful way of doing it is hacking the computer automatically, which you don't want to do.. ha.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: radio button list in data list
- Next Thread: Item Template
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# c#gridviewcolumn cac checkbox class compatible confirmationcodegeneration content contenttype control countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv forms gridview gudi homeedition iis javascript jquery list listbox menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server ssl tracking treeview validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming wizard xml xsl






