Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38804
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2019-03-07 05:14 -0800 |
| References | <cc5addd3-217e-43e7-843e-114ef28f4993@googlegroups.com> <33a86a7a-f9d6-43ed-ba29-57c049239b25@googlegroups.com> |
| Message-ID | <faad75ca-84ef-4faa-88c8-be455eb278a3@googlegroups.com> (permalink) |
| Subject | Re: Javax Print : truncated document |
| From | Eric Douglas <e.d.programmer@gmail.com> |
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