Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
860
Problem printing appointments from a calendar
posted

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

 

 

Parents
No Data
Reply
  • 860
    Verified Answer
    posted

    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.

    Pat

Children
No Data