Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Print multiple copies of the same document

Print multiple copies of the same document

Scheduled Pinned Locked Moved C#
csharphelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Reza Shojaee
    wrote on last edited by
    #1

    I wrote a sample C# code for printing. I want to print multiple copies of the same document, where the num of copies are to be specified by user.I used below code: printDocument1.PrinterSettings.Copies = 5; But doesn't work, Please help me.

    Best Regards, Reza Shojaee

    L 1 Reply Last reply
    0
    • R Reza Shojaee

      I wrote a sample C# code for printing. I want to print multiple copies of the same document, where the num of copies are to be specified by user.I used below code: printDocument1.PrinterSettings.Copies = 5; But doesn't work, Please help me.

      Best Regards, Reza Shojaee

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Reza Shojaee wrote:

      But doesn't work, Please help me.

      Have you checked the MaximumCopies[^] property? Not all printers support printing multiple copies according to the documentation[^];

      MSDN states:

      Not all printers support printing multiple copes. You can use the MaximumCopies property to determine the maximum number of copies the printer supports. If the number of copies is set higher than the maximum copies supported by the printer, only the maximum number of copies will be printed, and no exception will occur.

      I are Troll :suss:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups