The prtinstall.en.sh script

Syntax

sh prtinstall.en.sh [--appprinter printer_name]
                    [--cups y | n | auto]
                    [--gsbindir gs_bin_dir]
                    [--help]
                    [--nocheck]
                    [--ttahost host_name]
                    [--ttaprinter printer_name]
                    [--uninstall [printer_name]]
                    [--xrlp_protocol]

Description

Installs a Tarantella printer on the host on which it is run. It also installs the Tarantella replacement lp or lpr scripts.

Location: install_dir/bin/scripts

You must be root user to run this script.

Option Description
--appprinter printer_name Use this option to specify a name for the printer you are installing on the application server. If you don't use this option, the printer will be created with the default name of tta_printer.
--cups y | n | auto Indicates that you are using the Common UNIX Printing System™ (CUPS).

If you do not use this option, a default of auto is assumed and this means Tarantella tries to detect whether CUPS is being used. If CUPS is incorrectly detected, use this option to tell Tarantella whether CUPS is being used (y) or not (n).

--gsbindir gs_bin_dir Use this option to specify the directory where the Ghostscript is installed.

When you run the prtinstall.en.sh script, it checks for the Ghostscript executables in the following locations:

  • /usr/local/bin
  • /usr/bin
  • /opt/sfw/bin
  • /bin
  • /usr/sbin
  • /sbin
  • /usr/lbin

If Ghostscript is not installed in one of these locations, use this option to specify where it is installed.

--help Shows the list of prtinstall.en.sh commands.
--nocheck Installs the printer without checking the status of the Tarantella print administration commands.
--ttahost host_name Fully qualified DNS name of a Tarantella server
--ttaprinter printer_name Use this option to specify a name for the printer you are installing on the Tarantella host. If you don't use this option, the printer will be created with the default name of tta_printer.
--uninstall [printer_name] Uninstalls a Tarantella printer. If you don't specify a printer, you will be prompted for the name of the printer you want to uninstall.
--xrlp_protocol Use extended rlp protocol.

This only applies to Tarantella versions before version 3.20.
Use this option only if both the Tarantella server and the application server are running SCO OpenServer.

Examples

sh prtinstall.en.sh --appprinter tta_london

Installs a Tarantella printer called tta_london on an application server.

Related topics
  • Introducing Tarantella printing
  • The tarantella print command
  • Printing from a UNIX application server