aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/render/print/PrintRenderer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/print/PrintRenderer.java b/src/java/org/apache/fop/render/print/PrintRenderer.java
index 2eb2b07a2..315c12cf1 100644
--- a/src/java/org/apache/fop/render/print/PrintRenderer.java
+++ b/src/java/org/apache/fop/render/print/PrintRenderer.java
@@ -25,6 +25,7 @@ import java.io.IOException;
import java.util.Map;
import org.apache.fop.apps.FOUserAgent;
+import org.apache.fop.apps.MimeConstants;
/**
* Renderer that prints through java.awt.PrintJob.
@@ -70,6 +71,11 @@ public class PrintRenderer extends PageableRenderer {
printerJob.setPageable(this);
}
+ /** {@inheritDoc} */
+ public String getMimeType() {
+ return MimeConstants.MIME_FOP_PRINT;
+ }
+
private void initializePrinterJob() {
if (this.printerJob == null) {
printerJob = PrinterJob.getPrinterJob();