so far i have designed some pages for data input, such leave
application, acquistion request.
now i wish to have print copies for signature.
is it possible that when a user enter a record, then
1. there will be print copies from the network printer
2. a copy from tray 1, another copy from tray 2 of printer.
3. prefer not to print by word, not require Server logon
4. light-weighted design & stable
I will likely reiterate a lot of what Mark has stated.
Printing can be initiated from ASP.NET. After user input, you can create
a printable page and then prompt the user to print it. This is done by
emiting some JavaScript. Note, however, that the user can cancel. This
is the best option, in most cases, for Internet apps or very large
networks.
Since you mention a network printer, you do have the option of backend
printing to a network printer. But, this can be tricky, as you have to
have all of the printer drivers on the network on the server that prints
and you have to know which printer the user is going to print to (map
users to printers in a data store?). If you have a very small network,
then this is not a huge deal to maintain, but on large networks, this
can be a bear.
You should always allow the user to save the document, just in case, the
print fails. Unfortunately, many of the print options out there do not
give much feedback when the print fails (fire and forget), so this
option is nice to have. And having a repository with documents so the
user can retrieve one is a nice alternative.
Make sure you handle any print errors so you can inform the user that
he/she needs to save the document and print it.
I saw this one recently:
http://snurl.com/tw085
It uses Dynamic Data Exchange (DDE). It is just one example. Automating
printing is also possible through many third party components, many of
which are far cheaper than your time to purchase.
PDF is nice for documents, as there are plenty of open source PDF
libraries out there and it is quite easy to send to printers (at least
these days it is, go back to the 90s when there were far more PCL
printers and it was a pain).
Peace and Grace,
--
Gregory A. Beamer (MVP)
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************