none
Print HTML documents via .NET framework RRS feed

  • Question

  • I hope someone can help me.

     

    We have HTML documents stored in a database table, and we use them to send emails, or view them on screen. In our application we add certain parameters to the HTML text before sending the email, e.g. Customer number, Due date etc. The HTML works great because we are able to format, add graphics etc., and is required for the emails.

     

    Some customers may want to get the documents in the post instead of as an email, so I would like to be able to print these same HTML documents. How can I do that?

    I need to be able to choose the queue I'm sending them to, as they often needs to be printed at a dedicated print facility in batch. The System.Printing namespace functionality looks great, but how do I add the HTML document to the Job? You could say that I would like to create the document in the print queue in the same way as I'm creating it in an AlternateView for a MailMessage.


    We are on .NET 3.5 using C#

    Thanks.

    Jan

    Monday, December 1, 2008 10:12 AM

All replies