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. Visual Basic
  4. PrinterSettings.CanDuplex appears to not be working

PrinterSettings.CanDuplex appears to not be working

Scheduled Pinned Locked Moved Visual Basic
regexhelpquestiondiscussion
2 Posts 2 Posters 9 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.
  • L Offline
    L Offline
    lewist57
    wrote on last edited by
    #1

    Generating a small printing program. I have Brother color laser printer that can duplex print. However, when I get the CanDuplex value, it returns False:

    pd.PrinterSettings.CanDuplex

    The interesting thing is that checking for color capability works just fine:

    pd.PrinterSettings.SupportsColor

    Accessing the printer via conventional MS Office applications (as well as other applications like Acrobat) has no problem identifying that the printer can print in duplex. Thoughts?

    Pound to fit, paint to match

    L 1 Reply Last reply
    0
    • L lewist57

      Generating a small printing program. I have Brother color laser printer that can duplex print. However, when I get the CanDuplex value, it returns False:

      pd.PrinterSettings.CanDuplex

      The interesting thing is that checking for color capability works just fine:

      pd.PrinterSettings.SupportsColor

      Accessing the printer via conventional MS Office applications (as well as other applications like Acrobat) has no problem identifying that the printer can print in duplex. Thoughts?

      Pound to fit, paint to match

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

      .Duplex is a get;set; ... Try setting it. [PrinterSettings.Duplex Property (System.Drawing.Printing) | Microsoft Learn](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.printing.printersettings.duplex?view=windowsdesktop-7.0) [Duplex Enum (System.Drawing.Printing) | Microsoft Learn](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.printing.duplex?view=windowsdesktop-7.0)

      "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

      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