Search code examples
wpfprintingflowdocument

Print multiple copies number in flowdocument


I want to print number of copies from a flow document as the user select number of copies and print this document no of copies he selected how to do that


Solution

  • If you are using PrintDialog class to print your Document then you can set PrintDialog.PrintTicket.CopyCount to the value of number of copies you want

    PrintDialog dialog = new PrintDialog();
    dialog.PrintTicket.CopyCount = NUMBEROFCOPIES;
    dialog.PrintDocument();