• 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
Re: NSPrintSavePath not working correctly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPrintSavePath not working correctly?


  • Subject: Re: NSPrintSavePath not working correctly?
  • From: Brian Postow <email@hidden>
  • Date: Wed, 7 Apr 2010 11:08:49 -0400

More info: When I print out my NSPrintInfo object, I get:

print info {
    NSBottomMargin = 90;
    NSCopies = 1;
    NSDetailedErrorReporting = 0;
    NSFaxNumber = "";
    NSFirstPage = 1;
    NSHorizonalPagination = 2;
    NSHorizontallyCentered = 1;
    NSJobDisposition = NSPrintSpoolJob;
    NSJobSavingFileNameExtensionHidden = 0;
    NSJobSavingURL = bob -- /;
    NSLastPage = 2147483647;
    NSLeftMargin = 72;
    NSMustCollate = 1;
    NSOrientation = 0;
    NSPagesAcross = 1;
    NSPagesDown = 1;
    NSPaperName = "na-letter";
    NSPaperSize = NSSize: {612, 792};
    NSPrintAllPages = 1;
    NSPrintProtected = 0;
    NSPrintSavePath = bob;
    NSPrintTime = 0001-12-31 19:00:00 -0500;
    NSPrinter = {
        "Device Description" =     {
             NSDeviceIsPrinter = YES;
             };
        "Language Level" = 2;
        Name = "Xerox WorkCentre PE120 Series (XRX0000aa9915f0)";
        Type = "Generic PostScript Printer";
    };
    NSPrinterName = "Xerox WorkCentre PE120 Series (XRX0000aa9915f0)";
    NSRightMargin = 72;
    NSSavePath = bob;
    NSScalingFactor = 1;
    NSTopMargin = 90;
    NSVerticalPagination = 0;
    NSVerticallyCentered = 1;
}


I woud think that this would mean that the default filename to print to would be "bob", or "bob.pdf" but it's still ".pdf.pdf"...

Brian Postow
Senior Software Engineer
Acordex Imaging Systems

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • NSPrintInfo, setting filename for print to PDF?
      • From: Brian Postow <email@hidden>
References: 
 >NSPrintSavePath not working correctly? (From: Brian Postow <email@hidden>)

  • Prev by Date: Re: multiple-page print support in NSView
  • Next by Date: Core Data: binding to a sum
  • Previous by thread: NSPrintSavePath not working correctly?
  • Next by thread: NSPrintInfo, setting filename for print to PDF?
  • Index(es):
    • Date
    • Thread