On Thu, Mar 23, 2017 at 1:47 PM, Tilman Hausherr <[email protected]>
wrote:

>
> workaround: set dpi > 0, e.g. 300 or 600.
>
> Tilman
>
>
Anything more complex than this?  Because it doesn't seem to make a
difference.

        PrintRequestAttributeSet jobattributes = new
HashPrintRequestAttributeSet();
        jobattributes.add(new PrinterResolution(300, 300,
PrinterResolution.DPI));
        printJob.print(jobattributes);

Reply via email to