diff options
author | bamse16 <marius@marius.me.uk> | 2009-03-26 13:14:58 +0000 |
---|---|---|
committer | bamse16 <marius@marius.me.uk> | 2009-03-26 13:14:58 +0000 |
commit | 5aaadd3f2d83ada69d60b30fbe91888777fbc3dd (patch) | |
tree | 6bf20baf2caa42dcc267aa4a6e5dd37024d2a258 /Source | |
parent | 46f791ae0ecfa8378ac5fb7705f12c3369d2500f (diff) | |
download | sequelpro-5aaadd3f2d83ada69d60b30fbe91888777fbc3dd.tar.gz sequelpro-5aaadd3f2d83ada69d60b30fbe91888777fbc3dd.tar.bz2 sequelpro-5aaadd3f2d83ada69d60b30fbe91888777fbc3dd.zip |
Enabled Page Setup for printing, so now you can print landscape too
Enabled auto pagination, so we print everything for now
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index d4a0426c..314caa0e 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -92,11 +92,12 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa { NSPrintInfo *printInfo = [self printInfo]; + [printInfo setHorizontalPagination:NSAutoPagination]; + [printInfo setVerticalPagination:NSAutoPagination]; NSPrintOperation *printOp = [NSPrintOperation printOperationWithView:[[tableTabView selectedTabViewItem] view] printInfo:printInfo]; return printOp; } - - (CMMCPConnection *)sharedConnection { return mySQLConnection; |