I am trying to use the MSDN print example using PrintDocument, but this is not so good. I have everything to compile, but when I click print, the Fax Sending Options window appears. Is this supposed to happen? I'm trying to print, not send a fax!
What do I need to change to print this directly to the default printer?
Thanks!
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using System.Drawing.Printing; namespace WindowsFormsApplication1 { public partial class Form4 : System.Windows.Forms.Form { private System.ComponentModel.Container components; private System.Windows.Forms.Button printButton; private Font printFont; private StreamReader streamToPrint; public Form4() {
source share