I've seen many posts asking how to print from a webservice. However, I've never seen a clear example / how-to or even set of instructions on how to do it. Has anyone seen something like this? I am trying to create a webservice that prints rtf documents (would only be used on a LAN, it obviously wouldn't be available over the internet). I'm trying to do this in C#. Is this possible? Are there any resources that any of you know about to accomplish this task?
Print From Webservice
Collapse
X
-
Have you looked at the PrintDocument class?
Also, I *think* if the RTF filetype is registered with the system (like you can right click on it and say "print" ) you can do something with the Process class, to just have it print using the program configured to normally handle RTF documents. -
Originally posted by PlaterHave you looked at the PrintDocument class?
Also, I *think* if the RTF filetype is registered with the system (like you can right click on it and say "print" ) you can do something with the Process class, to just have it print using the program configured to normally handle RTF documents.Comment
-
Originally posted by guxiyouI agree that the Process class should be helpful, but I don't think it works without a User Profile. When the Process command executes from the webservice will there be a default printer? When it executes will the system know that there is a program configured to handle rtf documents?Comment
-
Originally posted by PlaterGood point, did not even think of that. I suppose that is the reason you do not have access to the printers ?Comment
Comment