You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/11/03 18:10:27 UTC
[jira] [Comment Edited] (PDFBOX-3046) Specific PDF prints really
(REALLY) slow
[ https://issues.apache.org/jira/browse/PDFBOX-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987613#comment-14987613 ]
Tilman Hausherr edited comment on PDFBOX-3046 at 11/3/15 5:09 PM:
------------------------------------------------------------------
reopening because ordinary printing from debugger is no longer possible. Consider this existing code:
{code}
public PDFPrintable(PDDocument document, Scaling scaling, boolean showPageBorder)
{
this(document, scaling, showPageBorder, 0);
}
{code}
{{dpi = 0}} just means that there is no intermediate rendering in a BufferedImage object.
was (Author: tilman):
reopening because ordinary printing from debugger is no longer possible. Consider this existing code:
{code}
public PDFPrintable(PDDocument document, Scaling scaling, boolean showPageBorder)
{
this(document, scaling, showPageBorder, 0);
}
{code}
dpi = 0 just means that there is no intermediate rendering in a BufferedImage object.
> Specific PDF prints really (REALLY) slow
> ----------------------------------------
>
> Key: PDFBOX-3046
> URL: https://issues.apache.org/jira/browse/PDFBOX-3046
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Environment: Windows 10
> Reporter: Teon Metselaar
> Attachments: mspubcol.pdf, mspubcol.prn
>
>
> On Windows 10 I have printed a test page using the MS Publisher Color Printer (which outputs a Postscript-file) and converted that file to PDF using GhostScript ps2pdf.
> The resulting single-page PDF file is printed really, really slow (180-190 seconds) while other documents (even generated using ps2pdf) print a lot faster (some seconds).
> I can't figure out why this is. I guess it has someting to do with the used font, but other PDF printing libraries (jPedal, jPDFPrint) are able print the same documents in a couple of seconds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org