I have 1 HTML page in a StringBuilder that consists of a number of tables.
After each table I put a page break for printing purposes. Now I need to fax this HTML page.
After each page, a break page should be faxed on another page.
I need to do this in either VB开发者_运维知识库.NET or C#.
How can this be done?
You need to render the page in order to FAX it (usually storing it in a multipage TIFF file). You can do this by using an off-screen WebBrowser control and rendering it to a Graphics object that is backed by an Image and then encoding it into a TIFF. You might be able to do this with any bitmap format.
Then you need to FAX it using this: http://www.codeproject.com/KB/cs/Fax-XP-ing.aspx or this http://faxdotnet.codeplex.com/
精彩评论