Tags:
create new tag
view all tags

SID-00285: Print part of a topic in landscape

Status: Answered Answered TWiki version: 4.2.4 Perl version: 5
Category: CategoryEditing Server OS: Ubuntu 8.10 Last update: 17 years ago

Hello

In many of my topics I have graphics which are landscape oriented. I would like them to printed in landscape.

The question: Is it possible to print part of a topic in landscape?

-- MichelDenys - 2009-04-27

Discussion and Answer

I don't think you can do that for printing the generated HTML.

However, if you use GenPDFAddOn, you can have it switch between profile and landscape modes throughout the document. Then when you print the PDF document, the pages will be properly oriented.

-- SeanCMorgan - 2009-04-27

Sean

Thanks for the info.

I know that CSS 2.0 (not 2.1) and CSS 3.0 support landscape printing but it is not well supported in most browsers. Typical code:

<style type="text/css" media="print">
  @page port {size: portrait;}
  @page land {size: landscape;}
  .portrait {page: port;}
  .landscape {page: land;}
</style>

-- MichelDenys - 2009-04-28

Interesting! Obviously I wasn't aware of that.

I googled for various examples of that, but I couldn't get any of them to work (even though it's supposed to work on my IE 6).

Assuming you overcome that, you might be able to create your own preference variables with calls of those styles, for use as shortcuts to set the page orientation (e.g., %PRINT_LANDSCAPE%, %PRINT_PROFILE%).

-- SeanCMorgan - 2009-04-28

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-06-02

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Print part of a topic in landscape
SupportCategory CategoryEditing
TWiki version 4.2.4
Server OS Ubuntu 8.10
Web server Apache 2.0
Perl version 5
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-06-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.