Ask a Question related to ASP.NET Security, Design and Development.
-
redraven #1
Server-side printing from ASP.NET and MS Word
Hi,
I know this is a bit of tired topic, but I still can't get my webapp
to work properly.
The scenario:
My client wants to
1) use a web interface
2) to print
3) a word document on our internal web server
4) on two seperate shared printers on the local network! (Yeah I
know).
The setup:
- Two servers:
* Web server with IIS and Word and the docs and
* Print server with the two shared printers.
- Client: Just a browser
First, I've written the ASP.NET and C# code on my own machine and
managed to fire up Word (with the COM object) and print to my local
printer (server side) with the ASPNET account. (Just had to add
printer permissions for ASPNET account).
Next, I moved my app to the web server and changed the permissions on
the print server so that NETWORK SERVICE has access to the printer.
When Word fires up and starts to print, the document shows up in the
queue, but with the status "Error - Printing".
I had a look at [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q184291[/url]
and made the changes, but was still unable to print.
Then, I gave the "Everyone" and "Anonymous" accounts access to the
printer (just for troubleshooting) to no avail.
I also tried impersonation (of the "Administrator" account!!) and the
Word.exe runs under successfully under that User name
("Administrator"), but it still doesn't work. One thing changed
though; the document shows up in the printer queue for a split second
and then disappears. The message in the print server's Event Viewer is
as follows: "Document 7, Microsoft Word - MyDoc.doc owned by
Administrator was deleted on HPLaserJet".
I'm out of ideas.
Any help will be greatly appreciated!
Best,
Andre
redraven Guest
-
Printing A4 pages side by side on an A3 printer
Problem is that we should print a number of A4 pages (two pages per sheet) on an A3 printer... or alternatively to find a method to prepare with... -
server side printing with user IUSR_SRV-xxx possible?
Hi, We have a server side application that should be able to print to network printers. The problem: How can I setup printers for the... -
Server-side Printing With Formatted Text
I am struggling to develop a robust mechanism for server-side printing with formatted documents. I need to produce print-spool files from the... -
Parsing MS Word client doc into server-side doc...
Hi, This could well be very difficult, but anyway... A client user prepares an MS Word (2000+) document, including text and images and then... -
Server-Side Word Automation w/ASP.NET
For anyone who needs to know this in the futuer, look at the following web-pages on Microsofts support site: HOWTO: Configure Office Applications...



Reply With Quote

