---
name: "xprehashprinterlist"
section: "1x"
platform: "linux"
package: "xprint"
version: "1:0.1.0.alpha1-10"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/xprehashprinterlist/1x"
---

# xprehashprinterlist(1x)

Recomputes the list of available printers.

## NAME

xprehashprinterlist - Recomputes the list of available printers.

## SYNOPSIS

**xprehashprinterlist**  \[**-v**\] \[**-h**\]

## DESCRIPTION

xprehashprinterlist causes all Xprint servers to recompute (update) their lists of available printers, and update the attributes for the printers. The intended usage of this tool is that a system administrator can run it after changing the printer topology.

## OPTIONS

- **-v**

  generate verbose output

- **-h \| -?**

  print usage

## ENVIRONMENT

- **XPSERVERLIST**

  **${XPSERVERLIST}** must be set, identifying the available Xprint servers. See [**Xprint**(7x)](/Xprint/7x.md) for more details.

## EXAMPLES

**Update the list of available printers**

```
% xprehashprinterlist -v
```

would print:

```
Rehashing printer list on server 'meridian:34'
```

## NOTES

xprehashprinterlist rehashes all printer lists of all print servers. Alternatively xset rehashprinterlist may be used to rehash only the list of printers in one print server.

## SEE ALSO

[**Xprint**(7x)](/Xprint/7x.md), **X11**(7x), [**xset**(1x)](/xset/1x.md), [**xplsprinters**(1x)](/xplsprinters/1x.md), [**xphelloworld**(1x)](/xphelloworld/1x.md), **xpxmhelloworld**(1x), **xpawhelloworld**(1x), [**xpxthelloworld**(1x)](/xpxthelloworld/1x.md), [**xpsimplehelloworld**(1x)](/xpsimplehelloworld/1x.md), [**Xserver**(1x)](/Xserver/1x.md), [**Xprt**(1x)](/Xprt/1x.md), **libXp**(3x), **libXprintUtils**(3x), **libXprintAppUtils**(3x), **XmPrintShell**(3x), **XawPrintShell**(3x), Xprint FAQ (http://xprint.mozdev.org/docs/Xprint\_FAQ.html), Xprint main site (http://xprint.mozdev.org/)
