Search code examples
c#wpfprintdocument

WPF Business application form development


I volunteer at a local food pantry. Currently we have an application for that we manually fill out with some detail information, I know that I can develop a WPF application to collect the necessary data. We are required to keep physical copies of the application as well. Is it possible to create a duplicate of out application form that I can populate with the data collected and then print it? What would be the best way of doing this?


Solution

  • There is not a clean was to print the the Page or Window layout that I am aware of.

    Two options that I am aware of

    • Just use text with spaces and line breaks and send the text to the printer

    • For more formatting create a FlowDocument and send that to the printer