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

PhaserShare


Adding a TCP/IP Print Queue in Solaris

Solaris 2.6

This document works for all internal PhaserShare cards and redirects print jobs to the printer's AppSocket port (port 9100) instead of the LPD port (port 515).

Note: In all cases, the # represents the root prompt.

Install the PostScript filter

At the root prompt, type the following:

    #lpfilter -f postprint -F /etc/lp/fd/postprint.fd

Create the queue

1. Edit the file /etc/hosts to create a [printerhostname] entry for the printer.

2. Type the following commands at the root prompt:

    #lpadmin -p [queuename] -o protocol=tcp,dest=[printerhostname]:9100 -T PS -I postscript -v /dev/null -i /usr/lib/lp/model/netstandard
    #enable [queuename]
    #accept [queuename]

    Note: There are NO spaces between "protocol" and "9100"; [printerhostname] must be the same name as entered in the /etc/hosts file; and -I postscript is an uppercase i not a lowercase L.

Disable banners

1. Edit the /etc/lp/interfaces/[queuename] file.
2. Search for the line nobanner=no; Change it to nobanner=yes.

####

# default: do print a banner

####

nobanner=yes

nofilebreak="no"


Solaris 2.5x

Install the PostScript filter

At the root prompt, type the following:

    #lpfilter -f postprint -F /etc/lp/fd/postprint.fd

Install the AppSocket driver

Note: In Solaris 2.5x "lpnet" expects a response from the printer within 20-30 seconds after spooling the print job. The printer does not send an acknowledgement until the print job is complete, which may take longer than 20-30 seconds. The result is the spooler does not think the printer received the print job and sends it again. The symptom is multiple prints of the same job. The solution is to download sol_apps.tar from ftp.tekcolor.com/UNIX/sun/sol_apps.tar.

1. Untar the sol_apps.tar file by typing the following commands after the root prompt:

    #tar -xvf sol_apps.tar
    #tar -xvf phaser.sun5.tar
2. The following files are extracted into the indicated directories:

    asprint.sun5 ==> /usr/bin
    tektcp.sun5 ==> /usr/spool/lp/model

Create the queue

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

2. Type the following commands after the root prompt:

    #lpadmin -p [queuename] -v /dev/null -i /usr/spool/lp/model/tektcp.sun5 -I postscript
    #enable [queuename]
    #accept [queuename]

Note: [queuename] is the name entered in the /etc/hosts file; -I postscript is an uppercase i, not a lowercase L.


Adding an LPD queue

Note: If you are unable to complete the Solaris 2.5x AppSocket instructions use the LPR/LPD method. You may experience the multiple-copy symptoms mentioned in the AppSocket instructions.

1. Edit the file /etc/hosts to create a [printerhostname] entry for the printer.

2. Execute the following commands after the root prompt:

    #/bin/sh
    #lpsystem -t bsd [printerhostname]
    #lpadmin -p [queuename] -s [printerhostname]!PS -I postscript
    #enable [queuename]
    #accept [queuename]
  • The !PS is naming the remote queue name. There are four valid remote printer names for a printer with internal TCP/IP: PS, HPGL, PCL, and AUTO.
  • There are three valid remote printer names for the Tektronix 4511A Network Interface: PS, HPGL, and TEXT. One of these names must be entered directly after the !.
  • If you are using a non-Tektronix network interface box, you have to contact that vendor to find out what the remote printer name should be.
  • The -I option defines what filter is used to test the file format before it is sent to the printer; there are two options available:
      postscript - only PostScript format is sent to the printer.
      any - no filtering is done; the file is sent as received. Use any if you are going to use anything other than the PostScript queue.
Support Home Page
Network Printers Support Home
Additional Information

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