Secure Global Desktop Administration Guide > Printing > The prtinstall.en.sh script

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 Secure Global Desktop printer on the host on which it is run. It also installs the Secure Global Desktop replacement lp or lpr scripts.

Location: /opt/tarantella/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 Secure Global Desktop tries to detect whether CUPS is being used. If CUPS is incorrectly detected, use this option to tell Secure Global Desktop 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 Secure Global Desktop print administration commands.
--ttahost host_name Fully qualified DNS name of a Secure Global Desktop server
--ttaprinter printer_name Use this option to specify a name for the printer you are installing on the Secure Global Desktop 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 Secure Global Desktop 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 Secure Global Desktop versions before version 3.20.

Use this option only if both the Secure Global Desktop server and the application server are running SCO OpenServer.

Examples

sh prtinstall.en.sh --appprinter tta_london

Installs a Secure Global Desktop printer called tta_london on an application server.

Related topics