Skip past navigation linksSecure Global Desktop 4.31 Administration Guide > Printing > The prtinstall.en.sh script

The prtinstall.en.sh script

Syntax

Skip past command syntax or program codesh 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 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 do not 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.

Ghostscript is used for PDF printing and for converting the format of print jobs.

--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 do not 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 do not specify a printer, you will be prompted for the name of the printer you want to uninstall.

Examples

Skip past command syntax or program codesh prtinstall.en.sh --appprinter tta_london

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

Related topics