{
throw new IOException( "Error: must call beginText() before drawString");
}
COSString string = new COSString( text );
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
string.writePDF( buffer );
appendRawCommands( new String( buffer.toByteArray(), "ISO-8859-1"));
appendRawCommands( SPACE );
appendRawCommands( SHOW_TEXT );
}