Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Technical Print Service System Administrator's Guide: > Chapter 4 Chapter 4: Configuring an X Print Server

Configuration

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

Getting Started

The first step to set up the Technical Print Service is to configure an X print server. You create and start an X print server using SAM - the System Administration Manager. When you have completed the SAM setup, the Technical Print Service will be started automatically.

At this point the Technical Print Service can access all printers available through the lp spooler within your printing environment. However, it is recommended that you perform some customization to take advantage of capabilities provided by different printer models. To do so, you will need to edit a printer configuration file. For more information about printer customization, refer to Chapters 5 and 6.

Server Configuration Information

When you create an X print server, some information is required about the system you are configuring. This information includes:

  • Hostname of the system

  • Display number for the X print server

This information is easily obtained when you run SAM.

Using the System Administration Manager

SAM enables you to create an X print server and perform other administrative tasks. For example, you can:

  • Start or stop an X print server

  • Remove an X print server and its configuration files

  • List available X print servers for a locale

Running SAM

SAM is run on each system where you intend to run an X print server. You must have root or superuser permission. Start SAM using either of these methods:

  • Open the System_Admin application group in the Application Manager and double-click the Sam icon.

  • Or, type this command in a terminal emulator window:

    /usr/sbin/sam 

To Configure an X Print Server Using SAM

You configure an X print server in SAM by choosing either the Printers and Plotters or X Server Configuration category. To access the X print server configuration tasks, use one of these methods:

  • Select "Printers and Plotters" and open the Print Server Configuration group.

  • Or, select "X Server Configuration" and choose Configure Print Server from the Actions menu.

This displays the Print Server Configuration dialog, offering a choice of configuration tasks.

When you create an X print server, you identify the new server by specifying the system hostname and a display number. Display number 0 is commonly used for the workstation display server. If this is the case, it cannot be used for an X print server.

NOTE: After creating an X print server, you must restart any current CDE sessions to reflect this change.

For additional information, refer to the SAM online help or the tpsconfig(1M) man page.

Accessing Remote X Print Servers from a Local System

You can make remote X print servers accessible to X applications running on your local workstation. To do so, configure an X print server using the hostname of the remote system and the display number of the remote X print server. This will add the remote X print server to the list of X print servers supported on your local workstation.

The sys.resources file contains a list of local and remote X print servers. For more information about the sys.resources file, refer to the “X Print Server Configuration Files ” section in this chapter.

NOTE: An X print server designated as a remote server must be started on the remote workstation.

Providing Remote Clients Access to an X Print Server

To access a remote X print server, you must provide appropriate machine authorization on the local and remote workstations. This allows locally run applications to access the X print server on another system. It also enables the Print Dialog Manager to display print dialogs on a different system than where the X print server is running.

One method of authorization uses the X*.hosts and X0.hosts files respectively to identify which systems are given access to the X print server and X display server.

Example

Suppose an X print server assigned display number 2 runs on a workstation named Atlas. Applications running on Tidal and Glacier require access to the X print server. If Tidal is your display server, you would create these files on the specified machines:

Title not available (Configuration)

Tidal

Create an /etc/X0.hosts file containing the name of the system running the X print server. In this case, "Atlas".

Atlas

Create an /etc/X*.hosts file where * represents the display number assigned to the X print server. In this case, "2". The /etc/X2.hosts file would contain the names of the two systems, "Tidal" and "Glacier".

What Happens During Configuration

SAM performs several tasks when you initially configure an X print server. These include:

  • Creates an X*screens and X*devices file

  • Creates an X*printers file

  • Modifies a Technical Print Service environment variable in the /etc/rc.config.d/tps file

  • Sets the XpServerList resource

  • Starts the Technical Print Service

These tasks are executed only on the local workstation where SAM is run.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.