here is two method. here you have not cleared that 1. after executing java function do you want to some in print_click event in cs. or 2. In print_click event excecute than you want js function
in 1. condition you can write simply
print.Attributes.Add("onclick", "example();");
in 2. condition you can write
protected void print_click(object sender,eventargs e)
{
ScriptManager.RegisterStartupScript(Page, GetType(), "JsStatus", "example();", true);
}