• 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: How can I create a PDF document from a string in a non-GUI application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I create a PDF document from a string in a non-GUI application?


  • Subject: Re: How can I create a PDF document from a string in a non-GUI application?
  • From: "Johan Kool" <email@hidden>
  • Date: Thu, 18 May 2006 11:45:51 +0200

Hi Will,

Well, you can of course still link to the AppKit framework and use
NSView. Just because you are writing a CLI application, doesn't mean
you can't use this framework and its objects. After all, just because
you create/use a NSView object doesn't mean you also have to display
it on screen at some point.

Of course you might have your reasons for not wanting to use AppKit,
but I thought it might be good to point this out.

Kinds regards,

Johan

I am trying to create and save a PDF document where the contents of
the PDF file is derived from a passed-in NSString. The method in
question is in an application without a graphical component, so a
solution using NSView's  dataWithPDFInsideRect: seem to be out, as
does using NSPrintOperation and its printOperationWithView:printInfo:
method as this also takes an NSView as an argument.

-- http://www.johankool.nl/ _______________________________________________ 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: How can I create a PDF document from a string in a non-GUI application?
      • From: j o a r <email@hidden>
References: 
 >How can I create a PDF document from a string in a non-GUI application? (From: email@hidden)

  • Prev by Date: Re: Printing
  • Next by Date: RE: Printing
  • Previous by thread: Re: How can I create a PDF document from a string in a non-GUI application?
  • Next by thread: Re: How can I create a PDF document from a string in a non-GUI application?
  • Index(es):
    • Date
    • Thread