XPRINT FUNCTIONS XpRehashPrinterList(3Xp)
NAME
XpRehashPrinterList - Recomputes the list of available
printers.SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
cc [ flag... ] file... -lXp [ library... ]
#include
void XpRehashPrinterList ( display )
Display *display; ARGUMENTS display Specifies a pointer to the Display structure; returned from XOpenDisplay.DESCRIPTION
XpRehashPrinterList causes the X Print Server to recompute
(update) its list of available printers, and update theattributes for the printers. The intended usage of this rou-
tine is in a special tool that a system administrator canrun after changing the printer topology. General applica-
tions 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 willhave to be notified via XpRehashPrinterList. Existing print
contexts will not be affected by XpRehashPrinterList as long
as their printer destination remains valid.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libxp ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libXp 1.0.0 1