Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28688
| 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 <eternal@knutejohnson.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java printing Margins |
| Date | Mon, 09 Jun 2014 07:26:29 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 42 |
| Message-ID | <ln4g6j$oif$1@dont-email.me> (permalink) |
| References | <a09po9pqijpqnrnohtd3etkb3b52qanood@4ax.com> <lmim07$9sa$1@dont-email.me> <bpuro9pjieki3r116m5lbdd0kbvg2qm8gg@4ax.com> <lmonvd$jj6$1@dont-email.me> <6eo8p9lrdvp70st73bhbj8c3ughv5slbaj@4ax.com> <ln2jeq$gls$1@dont-email.me> <ln2oo5$er0$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 9 Jun 2014 14:26:27 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="aba33539224e5c782fe0c4053f7756fd"; logging-data="25167"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18k0DGA4ZYsDfGxx7fBGamJ" |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
| In-Reply-To | <ln2oo5$er0$1@dont-email.me> |
| Cancel-Lock | sha1:ew9ZMQjGQNoP4unboHyg9EJS8gA= |
| Xref | csiph.com comp.lang.java.programmer:28688 |
Show key headers only | View raw
On 6/8/2014 15:40, Martin Gregorie wrote: > On Sun, 08 Jun 2014 14:09:46 -0700, Knute Johnson wrote: > >> On 6/8/2014 06:17, Roedy Green wrote: >>> On Wed, 04 Jun 2014 20:25:38 -0700, Knute Johnson >>> <eternal@knutejohnson.com> 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's program works here and does exactly what it says on the tin: pick > an image that's longer than its wide, select landscape, select the > printer, hit print and its done. The printed result is exactly what I > expected: the image occupies the full printable area of the page (without > changing default margins, which Knute's program doesn't allow, and is in > landscape mode on the page. > > I'm running Linux Fedora 20, java version "1.6.0_45", and printing to a > LAN-attached HP Laserjet 5 with a JetDirect network interface card. > > I assume that's pretty close what you wanted. > > To be honest I default the margins to 0.3 inches for my printer. But select PageFormat from the File menu and you can set the margins. -- Knute Johnson
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-02 09:20 -0700
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-02 09:38 -0700
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-02 09:51 -0700
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-02 13:15 -0700
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-03 11:04 -0700
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-04 20:25 -0700
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-08 06:17 -0700
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-08 14:09 -0700
Re: Java printing Margins Martin Gregorie <martin@address-in-sig.invalid> - 2014-06-08 22:40 +0000
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-09 07:26 -0700
Re: Java printing Margins Martin Gregorie <martin@address-in-sig.invalid> - 2014-06-09 16:10 +0000
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-09 11:41 -0700
Re: Java printing Margins Martin Gregorie <martin@address-in-sig.invalid> - 2014-06-09 22:02 +0000
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-09 15:56 -0700
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-04 20:27 -0700
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-05 19:56 -0400
Re: Java printing Margins Knute Johnson <eternal@knutejohnson.com> - 2014-06-05 20:38 -0700
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-08 06:19 -0700
Re: Java printing Margins Martin Gregorie <martin@address-in-sig.invalid> - 2014-06-08 15:49 +0000
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-08 22:50 -0400
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-08 23:32 -0400
Re: Java printing Margins Martin Gregorie <martin@address-in-sig.invalid> - 2014-06-09 15:30 +0000
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-09 13:29 -0400
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-09 14:00 -0400
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-09 14:16 -0400
Re: Java printing Margins markspace <markspace@nospam.nospam> - 2014-06-09 14:04 -0700
Re: Java printing Margins Jeff Higgins <jeff@invalid.invalid> - 2014-06-09 17:38 -0400
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-03 11:36 -0700
Re: Java printing Margins Roedy Green <see_website@mindprod.com.invalid> - 2014-06-05 12:47 -0700
csiph-web