Printers & Supplies
Solutions & Services
Customer Support
Partners
Note: Some UNIX hosts report an error when you configure a print queue that is not currently on the network; ignore this message.
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 Tektronix ftp site:
Note: Your printer model may not support all the languages listed in the table. See your printer's user documentation for information on the languages supported by your printer.
In this procedure, you 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.
134.62.33.138 Phaser340
In this example, 134.62.33.138 is the printer's IP address and Phaser340 is the printer's remote name.
# Printer: Tektronix Phaser340 # Print queue name: colorprinter # Remote machine name: Phaser340 # Remote printer queue name: PS # Spool directory: /usr/spool/lpd/colorprinter colorprinter: :lp=: :rm=Phaser340: :rp=PS: :mx#0: :lf=/usr/spool/lpd/ERRORLOG: :sd=/usr/spool/lpd/colorprinter: #
Descriptions of printcap parameters
If you specify any other remote printer queue name, it defaults to AUTO.
Your printer model may not support all the languages listed here. See your printer's user documentation for information on the languages supported by your printer.
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.
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.
This file works for all internal PhaserShare cards and 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 a LPD queue in Solaris.
The following files are executing into the indicated directories:
asprint.sun5 to /usr/bin
tektcp.sun5 to /usr/spool/lp/model
Note: The network name and the queue name for your printer must be identical for the enclosed model file to work.
where queuename is the name entered for the printer in the /etc/hosts file.
Here is an example of how to add a postscript queue named phaser printing to a printer named Tektronix while in the Bourne shell.
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:
where pid is the process ID number /usr/lib/lpsched.
Note: You need superuser privileges to edit this file.
Field name Description New Printer Name The 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 The queue name that the printer recognizes: PS for PostScript PCL for text HPGL for HP7475A AUTO for automatic selection.
Field name Description New Printer Name The 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.
Note: You will need superuser privileges to edit this file.
Field name Description NAME of queue to add The 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 You can use any name you want.
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 type in 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 The 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.
Note: You need supervisor privileges to edit this file.
The IP address you enter here for the printer must be the same address you specified as the Tektronix printer IP address when you configured the printer. The remote machine name is the name by which your workstation identifies the printer. (You will enter this same name as the remote system name later in this procedure.) 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 machine name.
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 The 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.
Note: Access SAM's help utility for additional information about these fields.