467,146 Members | 988 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

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 remote server-side application.
This isn't straightforward with PrintDocument, so I have had to create a new
class that uses Windows calls from within the PrintPage event. That solved
the spool file problem, but I have since been having trouble with formatted
text.

To use PrintPage events, I created a new class to inherit from the RichText
control and called FORMATRANGE directly for each page. Alas, RichText isn't
robust for server-side .Net remoting and fails sporadically with a 'Class
Already Exists' automation error. I have looked into using Word through
Office Automation, but this isn't robust for server-side deployment, and the
HTML classes don't support sophisticated printing (using PrintPage events).

Am I missing a trick with RichText or is there some other way to approach
this? The nearest commercial solution seems to be the TX Text Control, but
the server-side version only runs under ActiveX and costs $2,500.

Any help would be greatly appreciated.

Thanks in advance,

Stuart
Nov 17 '05 #1
  • viewed: 1120
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Nathan Sokalski | last post: by
9 posts views Thread by Grim Reaper | last post: by
10 posts views Thread by sara | last post: by
14 posts views Thread by Developer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.