Writing text to PDF file

Does anybody knows if it is possible to write text (plain or attributed) to a new PDF file to disk and how in ApplescriptObjc or a class to do it in Objective C.

Thanks

Hi,

PDF creation in ObjC is view based. Look at NSPrintOperation or dataWithPDFInsideRect: of NSView