Physical Printer Margin Information

From: Ken Allen (kendrhyd_at_sympatico.ca)
Date: 12/30/04


Date: Thu, 30 Dec 2004 13:42:31 -0500

Is there a way to determine the physical printer margins from within a
C#/.Net application? There is a lot of useful information, including the
  MarginBounds in the PrintPageEventArgs (whose contents I have not been
able to alter from the standard PrintDialog, but that is another issue),
  but I can find nothing that tells me the physical limit imposed by the
specific printer.

For example, I am using an HP LaserJet 2100, which seems to be unable to
  print within 1/8 inch of the top, right or bottom edge of the paper,
and unable to print within just under 1/4 inch of the left margin, but I
cannot determine where this information is reported in any of the class
objects supported by .Net, which makes it difficult to make certain that
I use all of the available paper without losing information at the right
and bottom edge.

I know that I could simply impose a 1/4 inch margin of my own, but in
this case I want to be able to maximize the amount of space available
for printing, and every 1/16 inch is valuable to me! Also, these
physical margin values vary from one printer to another, which makes it
even more difficult to deal with.

-Ken



Relevant Pages

  • Re: Feelin left out of it
    ... Measuring the distance with an engineering scale (0.02 inch increments), I have 0.04 inches. ... I note that the printer code reports the bottom margin as being 0.2 inches ... if anyone else would like to try the code and report the result I would ...
    (microsoft.public.vb.general.discussion)
  • Re: How Do I Prevent Photo Edges From Being Cut Off?
    ... the unprintable area may be at least half an inch. ... > I have a half inch margin all around, but want a full-panel picture on ... > can I get the front panel photo to stretch the entire panel without being ...
    (microsoft.public.word.pagelayout)
  • Re: pub98 to pdf then a print problem
    ... FWIW since I have a NEC Superscript 1450, using XP drivers, I decided to ... is very measurable with the right margin at .5 inch, ... The left margin is like an inch, ... On screen the original pub98 file and the pdf margins look ...
    (microsoft.public.publisher)
  • Re: pub98 to pdf then a print problem
    ... > Created a new newsletter with pub98, converted to pdf and uploaded it to ... The left margin is like an inch, ...
    (microsoft.public.publisher)
  • Re: Trouble with page numbers in Mac X
    ... Paul: Reset the bottom margin of the document to be at least one inch from ... then re-set the Footer position to be at least half ...
    (microsoft.public.mac.office.word)