pharmacy print label button and process sql from hsql