Hi,
this my code:
private void append(byte[] datos, OutputStream os)
{
try
{
Document doc = new Document(new ByteArrayInputStream(datos));
DocumentBuilder builder = new DocumentBuilder(doc);
Font fuente = builder.getFont();
fuente.setSize(11);
fuente.setColor(java.awt.Color.BLACK);
fuente.setBold(false);
fuente.setName("Arial");
fuente.setUnderline(Underline.NONE);
builder.moveToDocumentStart();
builder.writeln("ok;");
doc.save(os, SaveFormat.DOC);
}
catch (Exception e)
{
e.getMessage();
}
}
File content doesn’t change… I’m doing something wrong?
thx for reply it’s urgent!