|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Nov 2000
Città: Salerno
Messaggi: 4338
|
Dimensione MessageFormat header/footer stampa tabella
Salve raga
ho bisogno di stampare delle tabelle con tanto di messaggio in alto ed in basso, e fin qui nessun problema... Il codice utilizzato è il seguente Codice:
final MessageFormat headerFormat = new MessageFormat("messaggio"); final MessageFormat footerFormat = new MessageFormat("- {0} -"); PrintRequestAttributeSet set = new HashPrintRequestAttributeSet(); set.add(OrientationRequested.LANDSCAPE); try { tabella.print(PrintMode.FIT_WIDTH, headerFormat, footerFormat, true, set, false); } catch (PrinterException ex) { Logger.getLogger(x_tabella.class.getName()).log(Level.SEVERE, null, ex); } In che modo? Thanks
__________________
Doc : "Ovviamente, il continuum temporale è stato interrotto creando questa nuova temporale sequenza di eventi risultante in questa realtà alternativa" Marty : ... ![]() ![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 09:17.