Skip to main contentClick to view our Accessibility Statement or contact us with accessibility-related questions.

Phaser 840


Configuring a host


Adding the printer to the host table

Add the printer's name to the host table and assign an IP address to the printer's name. Depending on your host system, you may do this one of three ways:


Assigning a print queue to the printer


NOTE
Some UNIX hosts report an error when you configure a print queue that is not currently on the network; ignore this message.

Assigning print queues with PhaserPrint for UNIX

For UNIX environments, Xerox offers PhaserPrint for UNIX software, which provides fast raster printing and a graphical user interface with push-button control of printer features. For more information on PhaserPrint software, see Xerox PhaserPrint for UNIX software.

If you want to print using PhaserPrint for UNIX software, you must use PhaserPrint software to configure your host. Refer to the PhaserPrint for UNIX user manual or the instructions provided with the PhaserPrint for UNIX CD-ROM for configuration information. PostScript and PDF versions of the manual are available from the Xerox ftp site:

ftp.tek.com/cpid/UNIX/phaserprint2.1/demo/MANUALS

Required remote printer queue names

The printer's internal LPR queue uses the BSD protocol; its known queues are listed in the following table. These are the only remote queue names that the printer recognizes. If you use another name, the printer automatically defaults to AUTO.

Queue name
Language

PS

PostScript

PCL

PCL (Printer Control Language)

AUTO

Automatic Language Selection (the printer automatically senses the language of the print job and processes it accordingly)

Using PostScript utility files to control printer features from queues

As you set up a spool queue for the printer, you can use the PostScript utility files provided with your printer's software to control printer features (for example, selecting upper or lower paper trays, or selecting print quality modes). See your printer's user documentation for more information on these utility files.


UNIX model files

The printer's CD-ROM contains UNIX model files. These files allow you to access printer features from the UNIX command line by using the -o printing option. On the printer's CD-ROM, the file model.tar contains the installer for the model files and model files for Sun Solaris, Hewlett-Packard, and IBM AIX workstations.


Example installation for a typical BSD UNIX system

The following procedure is an example spooler configuration that will work for many BSD systems, including SunOS 4.x and 5.x (Solaris 1.x and 2.x) and Digital UNIX.

Modify the /etc/hosts file to identify the printer to the workstation and modify the /etc/printcap file to describe the printer to the workstation:

  1. Log on to your system as root.
  2. Make a backup copy of the /etc/hosts file.

  3. NOTE
    You need superuser privileges to edit this file.

  4. Edit /etc/hosts and add a line that defines the printer's IP address and its name. The IP address you enter here for the printer must be the same address you specified as the printer's IP address when it was configured. The name is the name by which your workstation identifies the printer. (You will enter this same remote name in your /etc/printcap file in the next step.)
  5. Example:

    134.62.33.138 Phaser740

    In this example, 134.62.33.138 is the printer's IP address and Phaser740 is the printer's remote name.

  6. Make a backup copy of the /etc/printcap file.
  7. Edit /etc/printcap and add an entry for your printer. Refer to the following example and the table Descriptions of printcap parameters to create your entry.
  8. Sample printcap file

    # Printer: Xerox Phaser740
    # Print queue name: colorprinter
    # Remote machine name: Phaser740
    # Remote printer queue name: PS
    # Spool directory: /usr/spool/lpd/colorprinter
    colorprinter:\
    :lp=:\
    :rm=Phaser740:\
    :rp=PS:\
    :mx#0:\
    :lf=/usr/spool/lpd/ERRORLOG:\
    :sd=/usr/spool/lpd/colorprinter:
    #
  9. Set up spool directories. After you have edited the /etc/hosts and /etc/printcap files, create and set permissions for the spool directory you specified.
  10. Example:

    cd /usr/spool/lpd
    mkdir colorprinter
    chown daemon colorprinter
    chgrp daemon colorprinter
    chmod 770 colorprinter

    Refer to your UNIX documentation for the correct command syntax for your workstation.

 


Descriptions of printcap parameters

Parameter
Description

lp

Name of the device to open; this parameter must be left empty or set to /dev/null.

rm

Remote machine name. This is the name by which the workstation identifies the printer; it must match the name in the /etc/hosts file.

rp

Remote printer queue name. This is the queue name that the printer recognizes. It must be one of the following:

  • PS for PostScript
  • PCL for Printer Control Language
  • HPGL for Hewlett-Packard Graphics Language
  • AUTO for Automatic Language Selection (the printer automatically senses the language of the print job and processes it accordingly)

If you specify any other remote printer queue name, the printer defaults to AUTO.

Your printer model may not support all languages listed here. See your printer's user documentation for information on the supported languages.

With some printers, PCL must be authorized with an authorization code before it can be used. If you use PCL for the remote printer queue name, make sure that PCL has been authorized in the printer. See your printer's user documentation for more information on authorization codes and PCL.

mx

Maximum file size. Set this parameter to 0 for unlimited file size; this allows the print command to handle large PostScript or image files.

lf

Name of the log file where print command error messages are collected. Some systems have a log file for each print queue. Refer to your workstation's documentation for more information.

sd

Spool directory on your host. Make a separate spool directory for each queue.

Configuration procedures for common System V UNIX hosts


Sun Solaris

For Solaris version 2.6 and later, go to Adding an LPD queue in Solaris. For Solaris 2.5x and older, use the sol_apps.tar provided with your printer's networking software to avoid a Solaris communication problem. The sol_apps.tar file is also available from the Xerox ftp site:

ftp.tek.com/cpid/UNIX/sun/sol_apps.tar

This file redirects the print jobs to the printer's AppSocket port (port 9100) instead of the LPD port (port 515).


NOTE
If you do not want to redirect the print jobs to the printer's AppSocket port, see Adding an LPD queue in Solaris.

  1. Untar the sol_apps.tar file by typing this command:
  2. tar -xvf phaser.sun5

    The following files are extracted into the indicated directories:

    asprint.sun5 to /usr/bin

    tektcp.sun5 to /usr/spool/lp/model

  3. Edit the file /etc/hosts to create an entry for the printer.

  4. NOTE
    The network name and the queue name for your printer must be identical for the model file to work.

  5. Execute the following commands:
  6. lpadmin -p queuename -v /dev/null -i /usr/spool/lp/model/tektcp.sun5 -I postscript
    enable queuename
    accept queuename

    where queuename is the name entered for the printer in the /etc/hosts file.

The print queue is now enabled.


Adding an LPD queue in Solaris

Add the printer to the host table. This is done by either editing the local host table /etc/hosts (if not running yp or NIS ), or updating the NIS data base on the NIS ( yp ) server.

Here is an example of how to add a PostScript queue named phaser printing to a printer named Xerox while in the Bourne shell.

/bin/sh
lpsystem -t bsd Xerox
lpadmin -p phaser -s Xerox!PS -I postscript

The queue name can be anything you want. The printer name should be the same name used in the host table.

The !PS names the remote queue name. There are four valid remote printer names: PS, HPGL, PCL, and AUTO.

Use the following commands to enable the new queue:

lpshut /usr/lib/lpsched
enable phaser
accept phaser

If Solaris 2.2/2.3 print jobs get stuck in the queue

  1. Change directory (cd) to this location:
  2. /usr/spool/lp/temp/workstation-name
  3. To remove any jobs, type:
  4. rm
  5. Change directory (cd) to this location:
  6. /usr/spool/lp/requests/workstation-name
  7. To remove any jobs, type:
  8. rm
  9. Type:
  10. kill -pid

    where pid is the process ID number /usr/lib/lpsched.

  11. To restart lpsched, type:
  12. /usr/lib/lpsched
  13. Remove any jobs that have not printed from the Print Tool.


SGI IRIX 5.3 and 6.x

Modify the /etc/hosts file to identify the printer to the workstation:


NOTE
You need superuser privileges to edit this file.

  1. Log onto your system as root.
  2. Make a backup copy of the / etc/hosts file.
  3. Edit /etc/hosts and add a line that defines the printer's IP address and its name. The IP address you enter here for the printer must be the same address you specified as the printer's IP address when it was configured. The name is the name by which your workstation identifies the printer.

IRIX 5.3 and IRIX 6.x with Impressario Client

The following procedure describes how to use the SGI Printer Manager program to configure a workstation running IRIX 5.3 and IRIX 6.x with Impressario Client to support a color PostScript printer.

  1. From the Toolchest, click System/Printer Manager, or type printers at the command line.
  2. Click Printer and select Add from the pull-down menu.
  3. Fill in the fields; refer to the following table.
  4. Field name
    Description

    New Printer Name

    Name of the print queue (this can be anything).

    Connection Type

    Select Network.

    Remote Host Name

    The name that you entered in your /etc/hosts file as the remote machine name.

    Remote Printer Name

    Queue name that the printer recognizes:

    • PS for PostScript
    • PCL for text
    • HPGL for HP7475A
    • AUTO for automatic selection.
  5. Click OK.

IRIX 6.x with Impressario Server

The following procedure describes how to use the SGI Printer Manager program to configure a workstation running IRIX 6.x with Impressario Server to support a color PostScript printer.

  1. From the Toolchest, click System/Printer Manager, or type printers at the command line.
  2. Click Printer and select Add from the pull-down menu.
  3. Fill in the fields; refer to the following table.
  4. Field name
    Description

    New Printer Name

    Name of the print queue (this can be anything).

    Printer Connected To

    Select Local Host.

    Location Code

    Optional; may contain information describing the location of the printer.

    Location Description

    Optional; may contain information describing the location of the printer.

    Printer Type

    Select one of the Generic Color PostScript entries.

    Printer is Attached to

    Select Network.

    Printer's Name (or IP Address)

    The name that you entered in your /etc/hosts file as the remote machine name.

    Printer is Attached to Network With

    Network card Installed in printer.

  5. Click OK.

IBM AIX 3.x and 4.x

Modify the /etc/hosts file to identify the printer to the workstation:

  1. Log onto your system as root.
  2. Make a backup copy of the /etc/hosts file.

  3. NOTE
    You need superuser privileges to edit this file.

  4. Edit /etc/hosts and add a line that defines the printer's IP address and its name. The IP address you enter here for the printer must be the same address you specified as the printer's IP address when it was configured. The name is the name by which your workstation identifies the printer.

AIX 3.x

The following procedure describes how to use the AIX System Management program (SMIT) to configure a workstation running AIX 3.x to support a color PostScript printer.

  1. Log in as root on your workstation.
  2. From the command line, type smit.
  3. Select Devices.
  4. Select Printer/Plotter.
  5. Select Manage Remote Printer Subsystem.
  6. Select Client Services.
  7. Select Remote Printer Queues.
  8. Select Add a Remote Queue.
  9. Fill in the fields; refer to the following table.
  10. Field name
    Description

    NAME of queue to add

    Name of the print queue (this can be anything).

    DESTINATION HOST for remote jobs

    The name that you entered in your /etc/hosts file as the remote machine name.

    Name of QUEUE on remote printer

    The queue name that the printer recognizes:

    • PS for PostScript
    • PCL for text
    • HPGL for HP7475A
    • AUTO for automatic selection.

    NAME of device to add

    Any name.

  11. To process the information, press Enter. Make sure that SMIT finishes with an OK in the upper left hand corner. To return to the first Printer/Plotter Devices menu, press F3.

AIX 4.x

The following procedure describes how to use the AIX System Management program (SMIT) to configure a workstation running AIX 4.x to support a color PostScript printer.

  1. Log in as root on your workstation.
  2. From the command line, type: smit.
  3. Select Print Spooling.
  4. Select Add a Print Queue.
  5. Fill in the fields; refer to the following table.
  6. Field name
    Description

    Attachment Type

    Select remote.

    Type of Remote Printing

    Select Local filtering before sending to print server.

    Remote Printer Type

    Select Other, then generic.

    Name of NEW print queues to add

    Use the down-arrow key to move down to PostScript, then enter the print queue name on the right side. This can be anything.

    HOSTNAME of remote server

    The name that you entered in your /etc/hosts file as the remote machine name.

    Name of QUEUE on remote server

    Queue name that the printer recognizes:

    • PS for PostScript
    • PCL for text
    • HPGL for HP7475A
    • AUTO for automatic selection.

    TYPE of print spooler on remote server

    Press F4 and select BSD.

    Send PASS-THROUGH FLAG to queue on remote server?

    Select F4 and select no.

  7. To process the information, press Enter. Make sure that SMIT finishes with an OK in the upper left hand corner. To return to the first Printer/Plotter Devices menu, press F3.


Hewlett-Packard HP-UX 9.x and 10.x

  1. Log in as root on your workstation.
  2. Make a backup copy of the /etc/hosts file.

  3. NOTE
    You need superuser privileges to edit this file.

  4. Edit /etc/hosts and add a line that defines the printer's IP address and its remote machine name.
  5. The IP address you enter here for the printer must be the same address you specified as the Xerox printer IP address when you configured the printer. For example:

    134.62.33.138 tekphaser

    In this example, 134.62.33.138 is the printer's IP address and tekphaser is the printer's remote system name.

  6. Use the HP System Administrator Manager program (SAM) to configure an HP workstation. From the command line, type: sam.
  7. Perform the appropriate step for your HP-UX version:
    • Version 9.x. Highlight Printers and Plotters from the menu. Press Return or click Open.
    • Version 10.x. Double-click the Printers and Plotters icon.
  8. Perform the appropriate step for your HP-UX version:
    • Version 9.x. Highlight Printers/Plotters from the menu. Press Return or click Open.
    • Version 10.x. Again, double-click the Printers and Plotters icon.
  9. From the Actions menu, select Add Remote Printer/Plotter.
  10. Fill in the fields. See the following table for example entries and descriptions. Access SAM's help utility for additional information about these fields.
  11. Field name
    Example entry
    Description

    Printer Name

    phaser360PS

    The name you use to access the printer. You can use any name you want.

    Remote System name

    tekphaser

    The name that you entered in your /etc/hosts file as the remote machine name.

    Remote Printer name

    PS

    Queue name that the printer recognizes:

    • PS for PostScript
    • PCL for text
    • HPGL for HP7475A
    • AUTO for automatic selection.

    Remote cancel model

    rcmodel

    -

    Remote status model

    rsmodel

    -

    Printer class (version 9.x)

    -

    Optional

    Remote printer is on a BSD system?

    -

    Check the box for a BSD system.

  12. To save your changes, click OK at the bottom of the window.
  13. When you are asked about sending a test file to the printer, type no. (It is recommended that you do not let SAM send a test file because it may not be compatible with your printer.)
  14. Exit SAM:
    1. From the File menu, select Exit.
    2. Click Exit SAM.


Return to Topic List
Support Home Page
Phaser 840 Support Page

Xerox Office Support Home
Additional Information

Register your Printer
ASPs & TPMs
About Software Support
Color Connection
Printer Warranties
Material Safety Data Sheets
Supplies & Cartridge Recycling Program