Q: Cocoa Printing, Getting correct margins
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.