I have taken the code to support printing from the Printing example (WinSchedulePrint Demo) but I cannot get any appointments to be actually printed either in the the preview or when actually printing.
I have checked that the PrintRange is set to Seelcted and the associated CalendarInfo has an appointment selected.
The print preview form appaears but there is nothing in it.
I must be missing doing something but cannot work out what it might be.
Any suggestions
Pat
I eventually found my mistakes.
The problem was that I had forgotten to set the document in the PriterPreviewDialog, so not surprisingly it did not print anything.
In the case the Printdialog, you also need to invoke the rint function on the document after the PrintDialog closes.