Ask a Question related to ASP.NET Security, Design and Development.
-
IntraRELY #1
Printing from ASP.NET
Hello All,
I am developing a Web Application in VB.NET. We are printing checks from a
IE 6.0. Here are our requirments:
1. Checks will be printed on pre-printed stock, so we must format the
document to lineup correcly.
2. We need to keep track of which checks printed or didnt print. So we need
to access the printer directly.
3. Have the ability to select any local(on the client) printer.
4. We are printing hundereds of checks, so we cannot display the info in the
browser and print the page displayed in IE.
These requirments lead me to think we need to develop a little VB
application, that the web browser can acces. So here are a few more
requirments that need to be met.
1. Communications must be secure. We need to access the Local print
application from IE in a secure manner. SSL will be used from the IIS server
to the clients browser and vice versa, but we need to secure communications
from the brower to the printer. We cannot have anyone printing checks with
any amount...etc.
2. If someone prints and do not have the application, IE will download and
install w/o user intervention. Of couse you will get the security prompt
from IE to access local resources and the user will elect to "Trust" it.
To give you a general feel of what we are doing. We will have a "print
queue" datagrid where a user will simply check the row that has some general
info. The system will pull any additional data needed and pass that
information to the printing application locally and then pass the job to the
printer. Any errors that arise will need to be logged in the web application
and the user must be notified.
I am not sure if I am even going down the right path here but looking for
any input. Any help appreciated.
TIA,
Steve Wofford
IntraRELY Guest
-
Freehand printing - right margin decreases when printing multiple copies of file.
I'm using Freehand mx. Everytime I print more than one copy of a file, the right margin decreases. Thus, if I print five or six copies of a file,... -
Printing Dynamically Insantiated MovieClips (multi-page printing)
I can create multiple pages with just one prompt with new PrinJob() object in Flash MX2004; but ... .... when I try to addpages which is one... -
Printing without showing the printing dialog window
hey - did you ever figure out a solution to the printing without dialog issue? i'm trying to get around the same problem myself. thanks! -jason -
Printing a external text file or printing a text field cast member...
use BuddyApi Xtra to use external app. for print a file like MSWord, -
Printing a externat text file or printing a text field cast member...
Try searching the NG archives. Search on 'Print O Matic' (that's the Xtra..the lite version comes with Director). hth, doug "PrEnt"... -
Scott M. #2
Re: Printing from ASP.NET
"IntraRELY" <IntraRELY@yahoo.com> wrote in message
news:u7BjwbbcDHA.3080@TK2MSFTNGP11.phx.gbl...That alone sounds scary. My mind is racing with ways to print myself a> Hello All,
>
> I am developing a Web Application in VB.NET. We are printing checks from a
> IE 6.0. Here are our requirments:
check.
Adobe .pdf file format would probably be best for this without getting into>
> 1. Checks will be printed on pre-printed stock, so we must format the
> document to lineup correcly.
CSS (and then browser capabilities and settings).
need> 2. We need to keep track of which checks printed or didnt print. So weThis may be easier in a Windows App then a Web App.> to access the printer directly.
> 3. Have the ability to select any local(on the client) printer.
the> 4. We are printing hundereds of checks, so we cannot display the info inYou mean the web app will start a local print job and the browser is just> browser and print the page displayed in IE.
the catalyst to start that app?
server>
> These requirments lead me to think we need to develop a little VB
> application, that the web browser can acces. So here are a few more
> requirments that need to be met.
>
> 1. Communications must be secure. We need to access the Local print
> application from IE in a secure manner. SSL will be used from the IIScommunications> to the clients browser and vice versa, but we need to secureIf you want the app to be local, then why not make a Windows App?> from the brower to the printer. We cannot have anyone printing checks with
> any amount...etc.
> 2. If someone prints and do not have the application, IE will download and
> install w/o user intervention. Of couse you will get the security prompt
> from IE to access local resources and the user will elect to "Trust" it.
general>
> To give you a general feel of what we are doing. We will have a "print
> queue" datagrid where a user will simply check the row that has somethe> info. The system will pull any additional data needed and pass that
> information to the printing application locally and then pass the job toapplication> printer. Any errors that arise will need to be logged in the webI'm sure this can be done, but I'm thinking that a Windows app that connects> and the user must be notified.
>
> I am not sure if I am even going down the right path here but looking for
> any input. Any help appreciated.
to a centralized DB (where all the checks written & to be written are
stored) would simplify this a lot.
>
> TIA,
>
> Steve Wofford
>
>
Scott M. Guest
-
Lewis Wang [MSFT] #3
RE: Printing from ASP.NET
Hi Steve,
Luke replied your post in microsoft.public.dotnet.languages.vb. I am
pasting his reply for your convenience:
From your description, you are trying to print from client browser and
require to access many loca resource. I also agree with others that you
need a Windows appliaction instead of ASP.NET application. Or you may embed
an activeX control in your web page, or have a link to an .NET Assembly
like:
[url]http://myserver/myfolder/myapp.exe[/url]
Regarding the security issue, i think it depends on the printer driver.
Your appl will talk to the printer driver installed on the local computer,
and then printer driver send instructions and data to printer. If the
computer is installed on network, the security between local computer and
printer will depneds on the printer driver.
Hope this helps.
Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "IntraRELY" <IntraRELY@yahoo.com>
| Subject: Printing from ASP.NET
| Date: Tue, 2 Sep 2003 18:07:37 -0700
| Lines: 41
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <u7BjwbbcDHA.3080@TK2MSFTNGP11.phx.gbl>
| Newsgroups:
microsoft.public.dotnet.framework.aspnet.security, microsoft.public.dotnet.la
nguages.vb,microsoft.public.dotnet.languages.vb.da ta,microsoft.public.mappoi
nt.webservice
| NNTP-Posting-Host: wsip-68-106-74-63.oc.oc.cox.net 68.106.74.63
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:133666
microsoft.public.dotnet.languages.vb.data:1774
microsoft.public.mappoint.webservice:3215
microsoft.public.dotnet.framework.aspnet.security: 6493
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| Hello All,
|
| I am developing a Web Application in VB.NET. We are printing checks from a
| IE 6.0. Here are our requirments:
|
| 1. Checks will be printed on pre-printed stock, so we must format the
| document to lineup correcly.
| 2. We need to keep track of which checks printed or didnt print. So we
need
| to access the printer directly.
| 3. Have the ability to select any local(on the client) printer.
| 4. We are printing hundereds of checks, so we cannot display the info in
the
| browser and print the page displayed in IE.
|
| These requirments lead me to think we need to develop a little VB
| application, that the web browser can acces. So here are a few more
| requirments that need to be met.
|
| 1. Communications must be secure. We need to access the Local print
| application from IE in a secure manner. SSL will be used from the IIS
server
| to the clients browser and vice versa, but we need to secure
communications
| from the brower to the printer. We cannot have anyone printing checks with
| any amount...etc.
| 2. If someone prints and do not have the application, IE will download and
| install w/o user intervention. Of couse you will get the security prompt
| from IE to access local resources and the user will elect to "Trust" it.
|
| To give you a general feel of what we are doing. We will have a "print
| queue" datagrid where a user will simply check the row that has some
general
| info. The system will pull any additional data needed and pass that
| information to the printing application locally and then pass the job to
the
| printer. Any errors that arise will need to be logged in the web
application
| and the user must be notified.
|
| I am not sure if I am even going down the right path here but looking for
| any input. Any help appreciated.
|
| TIA,
|
| Steve Wofford
|
|
|
Lewis Wang [MSFT] Guest



Reply With Quote

