Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #917
| From | "mario" <mario@THRWHITE.remove-dii-this> |
|---|---|
| Subject | printing problem |
| Message-ID | <eqtda5$sf6$1@atlantis.news.tpi.pl> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:30 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui I have problem with printing: I am not able to set margin less than 25 mm. I'm trying to use something like that: Paper paper = new Paper(); paper.setSize(595, 840); paper.setImageableArea(0,0,595, 840); pageFormat.setPaper(paper); pageFormat.setOrientation(PageFormat.PORTRAIT); and changing those numbers. But it does not work - even if it works on print preview, I get as a result printed page with those big margins. Is it any possibly way to set margins less than 25mm and get them on printed page? thanks in advance Mariusz --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next | Find similar
printing problem "mario" <mario@THRWHITE.remove-dii-this> - 2011-04-27 15:30 +0000
csiph-web