Hello all,
I program C# with Visual Studio 2003.
I want to use printer functionality in my application.
The problem is that I do have no clue how to save and load printer settings between multiple runs of my application.
I defined a PrintDialog pdlgBon and a PrintDocument pdlgBon.Document and I am able to print using the PrintPageEventHandler and calling pdlgBon.Document.Print().
But I cant tell this PrintDialog to print to a file apart from checking the CheckBox in the PrintDialog.ShowDialog()-Form.
Please tell me how to save and restore the chosen printer settings.
Best regards
HaraDej
I program C# with Visual Studio 2003.
I want to use printer functionality in my application.
The problem is that I do have no clue how to save and load printer settings between multiple runs of my application.
I defined a PrintDialog pdlgBon and a PrintDocument pdlgBon.Document and I am able to print using the PrintPageEventHandler and calling pdlgBon.Document.Print().
But I cant tell this PrintDialog to print to a file apart from checking the CheckBox in the PrintDialog.ShowDialog()-Form.
Please tell me how to save and restore the chosen printer settings.
Best regards
HaraDej