Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28685
| 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 | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java printing Margins |
| Date | Sun, 8 Jun 2014 22:40:05 +0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 38 |
| Message-ID | <ln2oo5$er0$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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sun, 8 Jun 2014 22:40:05 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="15200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EB0MURy2SmRUREGE/XMeq2jBQJ0TPReQ=" |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| Cancel-Lock | sha1:Qumo4DTaHxvvQ663ze5TBFd9Eqk= |
| Xref | csiph.com comp.lang.java.programmer:28685 |
Show key headers only | View raw
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. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
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