Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1448

Printing based on the document orientation

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.1
    • Fix Version/s: None
    • Component/s: PDModel

      Description

      We are using PDFBox in our current project to print a pdf file directly to an attached network printer. Printing PDF documents having only portrait pages within worked like a charm.

      However we experienced problems with PDFs having LANDSCAPE pages defined, as the orientation is currently always defined by the printer service and not by the PDDocument. This may be desireable in some situations but undesirable in others. Printing PDFs with PORTRAIT and LANDSCAPE pages in one document may lead to strange print results as the landscape pages are truncated to a PORTRAIT width.

      It would be good to have a possibility to change the mechanism how the orientation will be determined. This also would allow to fix the following bugs without breaking the current semantics:
      PDFBOX-985
      PDFBOX-819
      PDFBOX-222

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                thake Thorsten Hake
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: