| 
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
- 
 
For BSD systems, edit the 
/etc/printcap
 file and add a spool directory (for example, to 
/usr/spool/lpd
).  
 
- 
 
For System V hosts, configure the queue as a remote BSD print queue (support for TCP/IP LPR is required).  Specific instructions for the following System V hosts are provided in this manual:
 
 
   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 
 | 
 
| 
 
 
HPGL 
 | 
 
 
HP-GL (Hewlett-Packard Graphics Language) 
 | 
 
| 
 
 
PCL 
 | 
 
 
PCL (Printer Control Language) 
 | 
 
| 
 
 
AUTO 
 | 
 
 
Automatic Language Selection (the printer automatically senses the language of the print job and processes it accordingly) 
 | 
 
 
   NOTE
 
 
Your printer model may not support all languages listed in the table.  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. 
 
 
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. 
 
 
 
 
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: 
- 
 
Log on to your system as 
root.
 
- 
 
Make a backup copy of the
 
 
/etc/hosts
 file.   
 
| 
 
   NOTE
 
 
You need superuser privileges to edit this file. 
  
 
 | 
 
 
- 
 
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.)         
 
| 
 
 
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. 
 | 
 
 
- 
 
Make a backup copy of the 
/etc/printcap
 file.
 
- 
 
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.     
 
| 
 
 
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: 
 
 # 
 
 | 
 
 
- 
 
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.  
 
| 
 
 
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. 
  
 
- 
 
Untar the 
sol_apps.tar
 file by typing this command: 
 
| 
 
 - 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
 
 | 
 
 
- 
 
Edit the file 
/etc/hosts 
to create an entry for the printer.      
 
| 
 
   NOTE
 
 
The network name and the queue name for your printer must be identical for the model file to work. 
  
 
 | 
 
 
- 
 
Execute the following commands:   
 
| 
 
 - 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
- 
 
Change directory (cd) to this location:  
 
| 
 
 -  /usr/spool/lp/temp/workstation-name
 
 
 | 
 
 
- 
 
To remove any jobs, type:  
 
- 
 
Change directory (cd) to this location:  
 
| 
 
 -  /usr/spool/lp/requests/workstation-name
 
 
 | 
 
 
- 
 
To remove any jobs, type:  
 
- 
 
Type:  
 
| 
 
 - kill -pid
 
 
 
 where 
pid
 is the process ID number 
/usr/lib/lpsched.
 
 | 
 
 
- 
 
To restart 
lpsched, type:  
 
- 
 
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. 
  
 
- 
 
Log onto your system as root.
 
- 
 
Make a backup copy of the /
etc/hosts
 file.
 
- 
 
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. 
- 
 
From the 
Toolchest, click 
System/Printer Manager, or type 
printers
 at the command line.
 
- 
 
Click 
Printer
 and select 
Add
 from the pull-down menu.
 
- 
 
Fill in the fields; refer to the following table.                 
 
| 
 
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.
 
 
 | 
 
 
- 
 
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. 
- 
 
From the 
Toolchest, click 
System/Printer Manager, or type 
printers
 at the command line.
 
- 
 
Click 
Printer
 and select 
Add
 from the pull-down menu.
 
- 
 
Fill in the fields; refer to the following table.                 
 
| 
 
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. 
 | 
 
 
- 
 
Click 
OK.
 
 
 
 
IBM 
 
AIX 3.x and 4.x
 
Modify the 
/etc/hosts
 file to identify the printer to the workstation: 
- 
 
Log onto your system as root.
 
- 
 
Make a backup copy of the 
/etc/hosts
 file.         
 
| 
 
   NOTE
 
 
You need superuser privileges to edit this file. 
  
 
 | 
 
 
- 
 
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. 
- 
 
Log in as root on your workstation.
 
- 
 
From the command line, type 
smit.
 
- 
 
Select 
Devices.
 
- 
 
Select 
Printer/Plotter.
 
- 
 
Select 
Manage Remote Printer Subsystem.
 
- 
 
Select 
Client Services.
 
- 
 
Select 
Remote Printer Queues.
 
- 
 
Select 
Add a Remote Queue.  
 
- 
 
Fill in the fields; refer to the following table.                  
 
| 
 
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. 
 | 
 
 
- 
 
 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. 
- 
 
Log in as root on your workstation.
 
- 
 
From the command line, type:  
smit.
 
- 
 
Select 
Print Spooling.
 
- 
 
Select 
Add a Print Queue.  
 
- 
 
Fill in the fields; refer to the following table.                 
 
| 
 
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. 
 | 
 
 
- 
 
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
- 
 
Log in as root on your workstation.
 
- 
 
Make a backup copy of the 
/etc/hosts
 file.   
 
| 
 
   NOTE
 
 
You need superuser privileges to edit this file. 
  
 
 | 
 
 
- 
 
Edit 
/etc/hosts
 and add a line that defines the printer's IP address and its remote machine name.         
 
| 
 
 
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. 
 | 
 
 
- 
 
Use the HP System Administrator Manager program (SAM) to configure an HP workstation.  From the command line, type: 
sam.
 
- 
 
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.
 
 
- 
 
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.
 
 
- 
 
From the 
Actions
 menu, select 
Add Remote Printer/Plotter.
 
- 
 
Fill in the fields.  See the following table for example entries and descriptions.  Access SAM's help utility for additional information about these fields.         
 
| 
 
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. 
 | 
 
 
- 
 
To save your changes, click 
OK
 at the bottom of the window.
 
- 
 
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.)
 
- 
 
Exit SAM:
 
- 
 
From the 
File
 menu, select 
Exit. 
 
- 
 
Click 
Exit SAM.
 
 
 
 
 
 Return to Topic List
			 | 
	 
 	
 
 |  | 
 
 |