void XpDestroyContext
(
display,
print_context
)
Display *_d_i_s_p_l_a_y;
XPContext _p_r_i_n_t___c_o_n_t_e_x_t;
XpDestroyContext closes any outstanding associations between the print context and any display connections, and then destroys the print context. All display connections using the print context will no longer be able to access the print context.
Destroying a print context will cause any in-progress pages, documents and jobs to be canceled within the X Print Server.