Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: Java printing Margins Date: Sun, 08 Jun 2014 14:09:46 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: References: <6eo8p9lrdvp70st73bhbj8c3ughv5slbaj@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 8 Jun 2014 21:09:46 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="aba33539224e5c782fe0c4053f7756fd"; logging-data="17084"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qHGhi0OmiKlhCwIzmGpUJ" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <6eo8p9lrdvp70st73bhbj8c3ughv5slbaj@4ax.com> Cancel-Lock: sha1:7+0zGSUBsdQ8iGAzcOQKKrBzF1M= Xref: csiph.com comp.lang.java.programmer:28684 On 6/8/2014 06:17, Roedy Green wrote: > On Wed, 04 Jun 2014 20:25:38 -0700, Knute Johnson > wrote, quoted or indirectly quoted someone > who said : > >> >> I think you should set the PageFormat to landscape. Please see the >> following code that I wrote to print images. > > Nothing rotated. I could get it to rotate by choosing landscape by > clicking into the Windows printer dialog. > > And of course I was able to get it to rotate with AffineTransform. > Maybe I misunderstood what you wanted. To print landscape just select landscape but if you want your image drawn rotated, you have to do that yourself. -- Knute Johnson