git-svn-id: https://svn.coded.pt/svn/SIPRP@939 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 17 years ago
parent 347bcd65ac
commit e685fdf1c3

@ -44,10 +44,13 @@ public class TestPrint
// fos.write( fo );
// fos.close();
byte pdf[] = new PlanoActuacaoPDFCreator().createPDF( 6, true );
FileOutputStream fos = new FileOutputStream( "/home/fpalma/Desktop/pdf.pdf" );
fos.write( pdf );
fos.close();
for( int n = 1; n <= 7; n++ )
{
byte pdf[] = new PlanoActuacaoPDFCreator().createPDF( n, false );
FileOutputStream fos = new FileOutputStream( "/home/fpalma/Desktop/" + n + ".pdf" );
fos.write( pdf );
fos.close();
}
}
public void createPDFFile( byte fo[], String path )

Loading…
Cancel
Save