Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38804
| X-Received | by 2002:a0c:ba1a:: with SMTP id w26mr7494266qvf.23.1551964447642; Thu, 07 Mar 2019 05:14:07 -0800 (PST) |
|---|---|
| X-Received | by 2002:a25:9a41:: with SMTP id r1mr1005858ybo.295.1551964447367; Thu, 07 Mar 2019 05:14:07 -0800 (PST) |
| Path | csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!m21no3814165qta.0!news-out.google.com!y15ni1578qta.0!nntp.google.com!m21no3814156qta.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Thu, 7 Mar 2019 05:14:07 -0800 (PST) |
| In-Reply-To | <33a86a7a-f9d6-43ed-ba29-57c049239b25@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=50.78.95.177; posting-account=2czF5goAAAD4GBMPIGV4KcD2K4PhoB_H |
| NNTP-Posting-Host | 50.78.95.177 |
| References | <cc5addd3-217e-43e7-843e-114ef28f4993@googlegroups.com> <33a86a7a-f9d6-43ed-ba29-57c049239b25@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <faad75ca-84ef-4faa-88c8-be455eb278a3@googlegroups.com> (permalink) |
| Subject | Re: Javax Print : truncated document |
| From | Eric Douglas <e.d.programmer@gmail.com> |
| Injection-Date | Thu, 07 Mar 2019 13:14:07 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Lines | 8 |
| Xref | csiph.com comp.lang.java.programmer:38804 |
Show key headers only | View raw
On Thursday, March 7, 2019 at 6:19:36 AM UTC-5, antoni...@gmail.com wrote: > How can I do this? > I'm looking for some solution but are still ignored > > Is there an example? Your sample code is not complete enough to see your problem. You need to set the printable area to tell it where to print on the page. You can force the margins to anything you want. If you print a custom object, you can implement Printable and/or Pageable and override the print method where you get an instance of the printer's graphics which should have an imageable value set to it's default margins. I'm not clear what you're trying to print, what exactly is cut off, or how you're printing it. Your sample here doesn't print anything.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Javax Print : truncated document antonior0409@gmail.com - 2019-03-05 03:39 -0800
Re: Javax Print : truncated document Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2019-03-06 17:22 -0600
Re: Javax Print : truncated document antonior0409@gmail.com - 2019-03-07 03:19 -0800
Re: Javax Print : truncated document Eric Douglas <e.d.programmer@gmail.com> - 2019-03-07 05:14 -0800
Re: Javax Print : truncated document antonior0409@gmail.com - 2019-03-07 05:41 -0800
Re: Javax Print : truncated document Eric Douglas <e.d.programmer@gmail.com> - 2019-03-07 07:16 -0800
Re: Javax Print : truncated document antonior0409@gmail.com - 2019-03-07 09:44 -0800
Re: Javax Print : truncated document Eric Douglas <e.d.programmer@gmail.com> - 2019-03-07 10:06 -0800
Re: Javax Print : truncated document antonior0409@gmail.com - 2019-03-08 10:33 -0800
Re: Javax Print : truncated document Eric Douglas <e.d.programmer@gmail.com> - 2019-03-08 11:34 -0800
Re: Javax Print : truncated document antonior0409@gmail.com - 2019-03-08 12:42 -0800
Re: Javax Print : truncated document Eric Sosman <esosman@comcast-dot-net.invalid> - 2019-03-08 16:13 -0500
Re: Javax Print : truncated document Eric Douglas <e.d.programmer@gmail.com> - 2019-03-08 14:04 -0800
csiph-web