• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Q: Cocoa Printing, Getting correct margins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q: Cocoa Printing, Getting correct margins


  • Subject: Q: Cocoa Printing, Getting correct margins
  • From: "Thomas C. Woodley" <email@hidden>
  • Date: Wed, 10 Jul 2002 17:47:15 -0700

I can't get NSPrintInfo to yield the margins that are reported in the cocoa UI when looking at the Page Setup..., Settings:, summary

For example, with an Epson 880 printer and US Letter sized paper the Page Setup dialog lists the Page Attributes as:

Format for: Epson Stylus COLOR 880
Document Size: US Letter
Orientation: Landscape
Scale: 100%
Margins:
Top: 0.12 in.
Left: 0.12 in.
Bottom: 0.56 in.
Right: 0.12 in.

when I look at [NSPrintInfo sharedPrintInfo] all of the other settings (page size, orientation, etc are correct).

Margins are stuck at 72, 90, 72, 90 (t, l, b, r).

One inch (plus) margins are a bit extreme when the 880 is about a tenth of an inch and the 820 will bleed right to the edge.

Does anyone know if I'm doing this wrong, or it's a very basic bug.

cheers from the islands.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Q: Cocoa Printing, Getting correct margins
      • From: David Rehring <email@hidden>
  • Prev by Date: Re: NSBrowser bug?
  • Next by Date: How to detect if my window gets focus in program
  • Previous by thread: Re: NSBrowser bug?
  • Next by thread: Re: Q: Cocoa Printing, Getting correct margins
  • Index(es):
    • Date
    • Thread