• 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
Margin Size Inconsistencies FYI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Margin Size Inconsistencies FYI


  • Subject: Margin Size Inconsistencies FYI
  • From: John MacMullin <email@hidden>
  • Date: Wed, 2 Nov 2005 14:12:01 -0700

I have the following elemental code in my test printing application:

NSPrintInfo * printInfo = [self printInfo];
[printInfo setUpPrintOperationDefaultValues];
NSSize selectedPaperPrintSize = [printInfo paperSize];
NSLog(@"%@ paperName", [printInfo paperName]);
NSLog(@"%f selectedPaperPrintSize.height", selectedPaperPrintSize.height);
NSLog(@"%f selectedPaperPrintSize.width", selectedPaperPrintSize.width);
NSLog(@"%f topMargin", [printInfo topMargin]);
NSLog(@"%f bottomMargin", [printInfo bottomMargin]);
NSLog(@"%f leftMargin", [printInfo leftMargin]);
NSLog(@"%f rightMargin", [printInfo rightMargin]);


This code produces the following ordinary and expected information:

2005-11-02 13:40:26.733 TextPrintingStuff[17404] Letter paperName
2005-11-02 13:40:26.734 TextPrintingStuff[17404] 792.000000 selectedPaperPrintSize.height
2005-11-02 13:40:26.734 TextPrintingStuff[17404] 612.000000 selectedPaperPrintSize.width
2005-11-02 13:40:26.734 TextPrintingStuff[17404] 90.000000 topMargin
2005-11-02 13:40:26.734 TextPrintingStuff[17404] 90.000000 bottomMargin
2005-11-02 13:40:26.734 TextPrintingStuff[17404] 72.000000 leftMargin
2005-11-02 13:40:26.734 TextPrintingStuff[17404] 72.000000 rightMargin


However, after selecting the Page Setup menu item, the Page Setup Settings Summary provides that the top, left and right margins are .25 inch and the bottom margin is .56 inch. The Settings Summary shows similar inconsistencies for the other paper sizes selected.

The paper name for "B5" is blank. The paper name for "JB5" is "B5". The information does not alter the character of the printing tho, just looks inconsistent.

I am using 10.2.8 for this.

John




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Margin Size Inconsistencies FYI
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: fileExistsAtPath:isDirectory - BROKEN?
  • Next by Date: Re: 10.4 pictureSharing crashes 10.3.8 pictureSharingBrowser
  • Previous by thread: Re: -refreshObject:mergeChanges: - need more transient property flexibility
  • Next by thread: Re: Margin Size Inconsistencies FYI
  • Index(es):
    • Date
    • Thread