---
name: "xphelloworld"
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/xphelloworld/1x"
---

# xphelloworld(1x)

sends a test page to an Xprint printer

## NAME

xphelloworld - sends a test page to an Xprint printer

## SYNOPSIS

**xphelloworld**  \[**-printer printernname**\] \[**-printargs** **arg**= **value** \[,...\]\] \[**-v**\] \[**-text text**\] \[**-h**\]

## DESCRIPTION

xphelloworld is a utility for Xprint, the printing system for the X Window system. It sends a test page to the specified printer (or the default printer, if none is specified).

## OPTIONS

- **-printer** *printernname*

  printer to use

- **-printargs** *arg***=***value* **\[,...\]**

  Args:

  - **tofile=***filename*

    - **papersize=***paper name*

    - **orientation=***orientation*

    - **resolution=***DPI*

    - **plex=***plex*

    - **title=***string*

    - **-text** *text*

  Sample text to print. Default is "hello world from X11 print system".

- **-v**

  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.

## KNOWN BUGS

The **-text** option assumes that the text is in ISO8859-1 encoding (the **${LANG}** environment variable is not honored in this case).

A full list of bugs can be obtained from the Xprint.org bug database (http://xprint.mozdev.org/xprint\_bugs.html).

## SEE ALSO

[**Xprint**(7x)](/Xprint/7x.md), **X11**(7x), [**xplsprinters**(1x)](/xplsprinters/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/)
