This is MyPrintInfo.m in view mode; [Download] [Up]
/* MyPageLayout.m * Purpose: A very simple subclass of PrintInfo that adds a flag describing * how the application's views should assist in pagination while printing. * * You may freely copy, distribute, and reuse the code in this example. * NeXT disclaims any warranty of any kind, expressed or implied, as to its * fitness for any particular use. * * Written by: Samuel Streeper * Created: (04/April/91) */ #import "MyPrintInfo.h" @implementation MyPrintInfo - setPaginationMode:(int)status { paginationMode = status; return self; } - (int) paginationMode { return paginationMode; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.