Re: Print margins problem
Re: Print margins problem
- Subject: Re: Print margins problem
- From: Ruben Smits <email@hidden>
- Date: Mon, 22 Apr 2002 08:10:09 +0200
On zaterdag, april 20, 2002, at 06:42 , cocoa-dev-
email@hidden wrote:
Hi All,
I'm wondering if anyone here has seen this problem since I've had no
luck
with the Omni dev list.
I'm in the process of implementing printing in my app and ran across a
bug.
When I go to "Page Setup..." it states that my left/right
margins are .25", which is good. However, when I actually print, they
are
1", which is bad.
Also, when I use NSPrintInfo's leftMargin call it also says the margin
is
1". My question is two part, how can I get/use the "correct" margin,
.25"?
Also how can I get the printers minimum allowable margins if I'm forced
to
set my own margin. If I need to use Carbon, I will, I just need
something
that will work.
Cheers,
Will
I think you are right. The accessor methods of NSPrintInfo are not
working correct. You can try to use the Carbon equivalent, PMPrintInfo.
However, using Carbon in a Cocoa application can give you other
problems. This is not always working as expected when using a Cocoa
interface.
_______________________________________________
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.