Carbon


TXNPrint

Header: MacTextEditor.h Carbon status: Supported

Prints the document so it is formatted to fit the page size selected for the printer.

OSStatus TXNPrint (
    TXNObject iTXNObject
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object that identifies the document to be printed.

function result

A result code. TXNPrint can also return Print Manager errors, paramErr, noErr.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)