Got it, yes.

            printJob.setPageable(new PDFPageable(document, orientation,
false, 300));

Works much better now.  Thanks!

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

> Am 23.03.2017 um 19:41 schrieb Donald Whytock:
>
>> 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);
>>
>>
> Sorry, I meant the dpi parameter in the constructor of PDFPageable or
> PDFPrintable
>
>
>
> Tilman
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to