#232 Landscape Printing under Leopard, Skim 1.0

closed-invalid
None
5
2008-01-02
2007-12-18
Anonymous
No

Hi,

i've got problems with landscape printing. The document which i want to print is in landscape and skim doesn't rotate it the right way, i doesn't rotate it anyway...

I've got Skim 1.0 under Leopard.

Discussion

  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    What kind of landscape document is it, i.e. what are is the page size and the page orientation? A PDF can be landscape either by having wider pages or by changing the page orientation. Best if you could attach a sample PDF to this tracker. We set the page size automatically, and this (according to the docs) should also automatically detect landscape orientation. Also note that you can change the orientation yourself using the Print Settings.

     
  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    Assigned to Adam to see if he sees this.

     
  • Christiaan Hofman

    • assigned_to: nobody --> amaxwell
     
  • Adam Maxwell

    Adam Maxwell - 2007-12-26

    Logged In: YES
    user_id=732757
    Originator: NO

    I recall having some problem with landscape printing, but I'm not sure if it was in Preview or Skim (and had no time to investigate).

    If I can find a landscape PDF here I'll take a look, but there's not much info here to go on.

     
  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    The question is whether the page setup automatically has the orientation set when you open the PDF. A related question is whether the page size is set correct in the page setup (try opening an A4 and a letter paper).

    There are also 2 types of landscape documents: wide pages or rotated pages. For testing purposes, the first kind can be created by rotating the pages in Skim and saving with embedded notes (at least, on Tiger). The second kind can be created with latex if you use \usepackage{pdflscape}.

     
  • Adam Maxwell

    Adam Maxwell - 2007-12-28

    Logged In: YES
    user_id=732757
    Originator: NO

    OK, I rotated a PDF using Preview.app and saved it. Print preview showed correct orientation for pages. Next, I rotated only the first page and saved the PDF. Skim didn't autorotate the pages in that case; the first page was set up correctly, but all subsequent portrait pages were set to print as landscape. Choosing the Skim options under Page Setup and enabling autorotate seems to fix that. Should that just be enabled by default?

    Looking into adding the autorotate as an option on the print panel's accessory view might be worthwhile; NSPrintPanelAccessorizing looks like the way to do this on Leopard. Preview offers autorotate and scaling options directly from the print dialog.

     
  • Christiaan Hofman

    • status: open --> open-invalid
     
  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    This is exactly as designed.

    I don't think auto-rotate should be enabled by default, as it prints a different document. It also resizes pages. Also it makes it really confusing if users want to change the (more visible) orientation in the Page Setup sheet and don't see any effect.

    Basically everything in the Page Setup sheet should ideally go in the print sheet. But I don't know how that works on Leopard, and if it can be done without breaking Tiger.

     
  • Adam Maxwell

    Adam Maxwell - 2007-12-28

    Logged In: YES
    user_id=732757
    Originator: NO

    Maybe it's as designed, but the design caused me to start printing from Preview (which doesn't even have a Page Setup option), since I never thought to look for it in page setup. NSPrintPanel in Tiger has an accessoryView option that should still work on Leopard, even though it's deprecated.

     
  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    The print panel's accessory view in Tiger is just as hidden as the one in the page setup. And the setting is essentially a page orientation setting, which is set in the Page Setup sheet. But we could perhaps also move it there. But I've no idea how that goes, as NSDocument does not have anything to customize the print panel apart from completely overriding the print panel stuff.

     
  • Adam Maxwell

    Adam Maxwell - 2007-12-28

    Logged In: YES
    user_id=732757
    Originator: NO

    >But I've no idea how that goes, as NSDocument does not have anything
    >to customize the print panel apart from completely overriding the print
    >panel stuff.

    Looks like it's possible to override -[NSDocument printOperationWithSettings:error:] and then modify the panel or use -[NSPrintOperation setAccessoryView:] from there. I haven't tried it, though.

     
  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    Preview on Tiger has a Page Setup sheet and does not even allow auto rotating pages anywhere.

    As for moving the accessory view to the print panel, this is not possible on Tiger (and I don't know if it is possible on Leopard) because printing is done by PDFView, which does not give any points to override. And implementing the whole printing process ourselves is really no option AFAIC.

     
  • Christiaan Hofman

    • status: open-invalid --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks