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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. printer minimum margins??

printer minimum margins??

Scheduled Pinned Locked Moved C#
graphicsquestion
3 Posts 2 Posters 1 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.
  • M Offline
    M Offline
    mistery22
    wrote on last edited by
    #1

    Hi, I was experimenting on the printing functions and found out you can get a lot of information about a printer trough System.Drawing.Printing.PrinterSettings. But I'm missing the minimum margins where the printer can print. Most printers can't print to the edges of a page. These margins varies for eacht printer. Where can we find this information? thx.

    N 1 Reply Last reply
    0
    • M mistery22

      Hi, I was experimenting on the printing functions and found out you can get a lot of information about a printer trough System.Drawing.Printing.PrinterSettings. But I'm missing the minimum margins where the printer can print. Most printers can't print to the edges of a page. These margins varies for eacht printer. Where can we find this information? thx.

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      mistery22 wrote: can we find this information? Check out the Margins[^] class. -Nick Parker

      M 1 Reply Last reply
      0
      • N Nick Parker

        mistery22 wrote: can we find this information? Check out the Margins[^] class. -Nick Parker

        M Offline
        M Offline
        mistery22
        wrote on last edited by
        #3

        thx for the reply... But the Margins class allow to set margins, but it doesn't get the minimum margins of a printer. What I need is really the margin where a printer can't print. For example a HP OfficeJet d155 minimum margins are Left: 0,34 cm Right: 0,93 cm Top: 0,00 cm Bottom: 0,67 cm How can we get this information in .NET? thx :)

        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