diff options
-rw-r--r-- | Source/TableDocument.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 9b5ce8e0..7c41a049 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -84,6 +84,14 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; } +- (NSPrintOperation *)printOperationWithSettings:(NSDictionary *)ps error:(NSError **)e +{ + + NSPrintInfo *printInfo = [self printInfo]; + NSPrintOperation *printOp = [NSPrintOperation printOperationWithView:[[tableTabView selectedTabViewItem] view] printInfo:printInfo]; + return printOp; +} + - (CMMCPConnection *)sharedConnection { |