XpRehashPrinterList(3Xp)
okay so bestie, welcome to the XPRINT FUNCTIONS manual, section 3Xp β todayβs main character is XpRehashPrinterList π
β¨ and she is here to refresh the printer list. No cap.
π NAME π
XpRehashPrinterList β Recomputes the list of available printers.
β¨ SYNOPSIS β¨
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
void XpRehashPrinterList ( display )
Display *display;
π ARGUMENTS π
displayβ Specifies a pointer to theDisplaystructure; returned fromXOpenDisplay.
πΈ DESCRIPTION πΈ
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.
π«Ά lowkey important vibe check: this is a sysadmin-tool situation, not a general-app free-for-all. General applications are encouraged to use this call sparingly if at all, and let the system administrator control printer topology updates. π
mwah π β signing off from X Version 11, libXp 1.0.4, on the XpRehashPrinterList(3Xp) page. ππ
π¦ where this page comes from
- arch rolling: libxp 1.0.4-3 Β· X11 AND X11-distribute-modifications-variant
- nixos 26.05: libxp 1.0.4
- nixpkgs unstable: libxp 1.0.4
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- Copyright 1996 Hewlett-Packard Company
- Copyright 1996 International Business Machines Corp
- Copyright 1996, 1999, 2004, Oracle and/or its affiliates. All rights reserved
- Copyright 1996 Novell, Inc
- Copyright 1996 Digital Equipment Corp
- Copyright 1996 Fujitsu Limited
- Copyright 1996 Hitachi, Ltd
- Copyright 1996 X Consortium, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms