You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Harms, Flemming Nickolas" <fl...@capgemini.com> on 2005/09/07 22:07:39 UTC

Poor quality when printing

Greetings



I have problems with the quality when I sent my FO directly to the
printer. The font "Times Roman" and other fonts are not very pretty when
they are printed. If I create a PDF file it look fine.



Below is the code I use to send the FO to the printer. The PrintRenderer
class is from the servlet example from fop-0.20.5.



                        PrinterJob pj = PrinterJob.getPrinterJob();

                        page = pj.pageDialog(page);

                        if (pj.printDialog()) {



                                     PrintRenderer renderer = new
PrintRenderer(pj);

                                     driver.setInputSource(new
InputSource(convertXML2FO(page)));

                                     driver.setRenderer(renderer);

                                   

                                    try {

                                                driver.run();

                                    } catch (IOException e) {

                                                e.printStackTrace();

                                    } catch (FOPException e) {

                                                e.printStackTrace();

                                    }

                        }



Any ideas why the quality is so bad when I print it?



Regards,

Flemming





This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

Re: Poor quality when printing

Posted by JB...@s-s-t.com.
One possibility is that your printer is substituting fonts. If your 
printer's fonts are very different from those specified in the PDF, the 
change can be very noticeable (and often very unattractive). If your 
printer has a setting to not substitute, try that. If the printer has such 
a setting, it will (usually) treat all the text as graphics, which will 
adversely effect speed, but you may get the output you want.

Of course, it could be many other things, too.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org