Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1514

[PATCH] FOP API does not allow using preconfigured PrinterJob object

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: renderer/awt
    • Labels:
    • Environment:
      Operating System: Windows XP
      Platform: PC
    • External issue ID:
      44678

      Description

      Currently it is not possible to use a custom configured java.awt.print.PrinterJob when printing via FOP. This makes it somewhat awkward to use for printing via its API. See the implementation of org.apache.fop.render.print.PrintRenderer, specifically how instance variable printerJob is initialized in method initializePrinterJob().

      There should be some way to parameterize printing w/ custom PrinterJob object. The most natural place for this (from the point of view of the caller) would be a method in org.apache.fop.apps.Fop, since the basic interaction w/ FOP happens via an instance of that class.

        Attachments

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              antti.karanta@napa.fi Antti Karanta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: