added helper fns to change from internal status codes to nt spoolss codes