Printing Problems
Printing Problems
- Subject: Printing Problems
- From: Albert Atkinson <email@hidden>
- Date: Sat, 13 Apr 2002 10:54:00 -0500
Hello!
I have the following script to print the text in an edit field.
Here is a copy:
- (void) printDocument:(id) sender {
NSPrintOperation *printOperation = [NSPrintOperation
printOperationWithView: textView];
[printOperation runOperationModalForWindow: documentWindow
delegate: nil didRunSelector: NULL contextInfo: NULL];
}
Problem is that if the edit field is resized by the user and is
bigger then the printable page area it will cut off the extra
text. Does anyone know how to make it wrap the text instead of
cutting it off?
Thanks!
Albert
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.