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:
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 printer 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:
-
To remove any jobs, type:
-
Change directory (cd) to this location:
-
To remove any jobs, type:
-
Type:
-
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,
then select
Add
from the pull-down menu.
-
Fill in the fields (refer to the following table). Click
OK.
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 Queue Name
|
Queue name that the printer recognizes:
-
PS
for PostScript
-
PCL
for text
-
HPGL
for HP7475A
-
AUTO
for automatic selection.
|
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). Click
OK.
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.
|
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). To process the information, press
Enter. Make sure that SMIT finishes with an
OK
in the upper left corner. To return to the first
Printer/Plotter Devices
menu, press
F3.
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.
|
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). To process the information, press
Enter. Make sure that SMIT finishes with an
OK
in the upper-left corner. To return to the first
Printer/Plotter Devices
menu, press
F3.
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.
|
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:
192.1.1.2 tekphaser
In this example,
192.1.1.2
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. For example entries and descriptions, see next table,
Fields. Access SAM's help utility for additional information about these fields.
-
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.
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 Queue 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.
|