Skip to main content
10-Marble
December 12, 2011
Question

Landscape pages Publish Upside Down

  • December 12, 2011
  • 17 replies
  • 2563 views

We have just upgraded to 6.0 M020. Since doing so the XSL-FO stylesheets that we use to produce landscape pages are publishing the pages as PDFs upside down. The page is set up as a 11x8.5. Has anyone else experienced this type of behavior? I have tested this using Print Composer and PE Server I get the same results with both.

Thanks in advance for all your help.


    17 replies

    1-Visitor
    December 12, 2011
    Adobe products make a best guess as to page orientation based on an interpolation of the majority of content on a given page.

    There could be a difference in the output and how Adobe is seeing it---something that wouldn't be immediately obvious from reviewing your Arbortext code. This doesn't mean you're out of luck, but it does tend to warrant a PTC support case to ensure against a 6.0 bug.

    As Brandon suggests, a careful analysis starting without your ACL is a good approach. Heck, I'd even test some landscape-oriented data using a sample Arbortext file from axdocbook or similar doctype and Distiller to see how that landscape page renders.

    If the XSL-FO engine produces good landscape there, then you know it's something with your environment---which may still be triggering a 6.0 bug. I don't have Distiller, or I'd have tried that myself. 😉

    Cheers,
    Jason

    Jason Aiken
    Sr. Consultant
    TerraXML, Inc.
    10-Marble
    December 12, 2011
    Thanks for all your help. I will give PTC a call.

    We are slowly moving our pubs over to the Direct to PDF method. With this promotion we will have 80% moved over but with this bug it might be more like 100%.

    Thanks again! :-)!
    1-Visitor
    December 12, 2011
    A couple of other things you could try:

    Do a Print Preview and see if the pages are upside down in that view. This is the TeX that gets transformed to Postscript that gets distilled into PDF.
    You could also Print Composed -> print to file, which would make a Postscript file. You could distill that separately by opening it with Distiller and see if the PDF looks the same.

    This might give you a clue as to where it is happening.

    This might also very well be a Bug in Arbortext 6.0. We discovered an Arbortext 6.0 bug involving the inability to print in non-interactive mode. So there *are* bugs.
    10-Marble
    December 12, 2011
    Thanks. I'm going to give PTC a call. I will post what they say.

    Sarah
    1-Visitor
    December 12, 2011
    This may be a Windows 7 bug. When I use SDI Print-to-file to create a landscape cgm graphic at 90° rotation the graphic comes out rotated 270° (relatively upside-down compared to what it should be).

    My documents are SGML with FOSI Style sheets, and the graphic mentioned above isn't touched by Arbortext until it is already a graphic. Microsoft doesn't answer the phone when I call. If anyone else solves it I am interested in hearing the solution.

    Thanks,
    -Andy

    \/ AndyEsslinger LM Aero-TechOrderData
    _____-/\-_____ (817) 279-0442 1 Lockheed Blvd,MZ4285
    \_\/_/ (817) 777 3047 FortWorth,TX 76108-3916

    1-Visitor
    December 12, 2011
    Not sure what to suggest about the problem you describe, Andy, but
    Sarah's problem doesn't seem to be related to Windows 7, as I was able
    to easily reproduce it on my Vista system.

    Jason, I liked your idea of trying to recreate the problem against a
    supplied doctype and style sheet, such as Docbook, but I think all of
    the supplied style sheets in 6.0 are built for APP, which doesn't play
    with Distiller.

    I went with the approach of creating a free-form XML document with
    just 5 or 6 elements and a minimal Styler sheet that uses obvious
    styles for everything, adding a header and footer to the default page
    set, copying it and setting the new one to landscape, then invoking
    that on a "foldout" element (hrm... clearly, someone's been hanging
    out with military DTDs too much, lately) to layout the enclosed
    "figure" (just a title and a short para) in landscape.

    Both XSL-FO and FOSI engines produced the upside-down page via
    Distiller, so it seems pretty likely that this issue is on the Print
    Composer side, rather than anything in the style sheet. It'll be
    interesting to see whether PTC or Adobe owns up to the root cause. Smiley Happy

    -Brandon Smiley Happy


    On Mon, Dec 12, 2011 at 11:48 AM, Esslinger, Andy W
    <-> wrote:
    > This may be a Windows 7 bug. When I use SDI Print-to-file to create a landscape cgm graphic at 90° rotation the graphic comes out rotated 270° (relatively upside-down compared to what it should be).
    >
    > My documents are SGML with FOSI Style sheets, and the graphic mentioned above isn't touched by Arbortext until it is already a graphic. Microsoft doesn't answer the phone when I call. If anyone else solves it I am interested in hearing the solution.
    >
    > Thanks,
    > -Andy
    >
    > \/ AndyEsslinger LM Aero-TechOrderData
    > _____-/\-_____ (817) 279-0442 1 Lockheed Blvd,MZ4285
    > \_\/_/ (817) 777 3047 FortWorth,TX 76108-3916
    >
    >
    10-Marble
    December 14, 2011

    Just go the official word from PTC. This is the work around:


    "The Adobe PDF driver needs to be set up with a landscape letter page.

    Adding the 11” wide by 8.5” tall page size to the Adobe PDF driver, Distiller will produce the desired result.

    To do this, right-click on the Adobe PDF driver in the printers window and select properties. Then select Printing Preferences on the General tab, and go to the Adobe PDF Settings tab. There, press the Add button after “Adobe PDF Page Size” and add the landscaped letter page size. Set width to 11.0 and height to 8.5. Highlight whatever value appears in the Paper Names dropdown and give it a name like landscape, then select Add/Modify."