Provided by: libxp-dev_1.0.1-2_amd64
XpRehashPrinterList - Recomputes the list of available printers.
cc [ flag... ] file... -lXp [ library... ] #include <X11/extensions/Print.h> void XpRehashPrinterList ( display ) Display *display;
display Specifies a pointer to the Display structure; returned from XOpenDisplay.
XpRehashPrinterList causes the X Print Server to recompute (update) its list of available printers, and update the attributes for the printers. The intended usage of this routine is in a special tool that a system administrator can run after changing the printer topology. General applications are encouraged to use this call sparingly if at all, and let the system administrator control printer topology updates. Depending on the print facilities underlying the X Print Server, the X Print Server may be able to detect changes in the printer topology and dynamically update to reflect the changes, or may not be able to detect the changes and will have to be notified via XpRehashPrinterList. Existing print contexts will not be affected by XpRehashPrinterList as long as their printer destination remains valid.