B
Boreas
public void doThePrinting()
{
try
{
PrintDocument pd = new PrintDocument();
pd.PrintPage += new
PrintPageEventHandler(this.PrintPageEvent); // ****
pd.Print();
}
catch // some code
{
// some code
}
}
private void PrintPageEvent(object sender, PrintPageEventArgs ev)
{
// ****
}
The printing code I see in tutorials uses a printing dialogue,
but the essence of the printing is left to be coded (****) by the developer
this seems inconsistent (printing dialogie, without any printing
functionality).
Is there a way around this?
{
try
{
PrintDocument pd = new PrintDocument();
pd.PrintPage += new
PrintPageEventHandler(this.PrintPageEvent); // ****
pd.Print();
}
catch // some code
{
// some code
}
}
private void PrintPageEvent(object sender, PrintPageEventArgs ev)
{
// ****
}
The printing code I see in tutorials uses a printing dialogue,
but the essence of the printing is left to be coded (****) by the developer
this seems inconsistent (printing dialogie, without any printing
functionality).
Is there a way around this?