diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSDocumentHandler.java | 3 | ||||
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSRenderer.java | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSDocumentHandler.java b/src/java/org/apache/fop/render/ps/PSDocumentHandler.java index b30d5f248..5a6db172a 100644 --- a/src/java/org/apache/fop/render/ps/PSDocumentHandler.java +++ b/src/java/org/apache/fop/render/ps/PSDocumentHandler.java @@ -435,8 +435,7 @@ public class PSDocumentHandler extends AbstractBinaryWritingIFDocumentHandler { /** {@inheritDoc} */ public void endPageContent() throws IFException { try { - //Show page - gen.writeln("showpage"); + gen.showPage(); } catch (IOException ioe) { throw new IFException("I/O error in endPageContent()", ioe); } diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java index 19fcd8af8..09ea800f8 100644 --- a/src/java/org/apache/fop/render/ps/PSRenderer.java +++ b/src/java/org/apache/fop/render/ps/PSRenderer.java @@ -933,7 +933,7 @@ public class PSRenderer extends AbstractPathOrientedRenderer super.renderPage(page); //Show page - writeln("showpage"); + gen.showPage(); gen.writeDSCComment(DSCConstants.PAGE_TRAILER); if (page.hasExtensionAttachments()) { List extensionAttachments = page.getExtensionAttachments(); |