Skip past navigation linksSecure Global Desktop 4.40 Administration Guide > Printing > The SGD Printer Queue Installation Script (prtinstall.en.sh)

The SGD Printer Queue Installation Script (prtinstall.en.sh)

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 an Secure Global Desktop printer queue on a UNIX or Linux application server. It also installs the Secure Global Desktop replacement lp or lpr scripts.

Location: /opt/tarantella/bin/scripts

You must be superuser (root) to run this script.

Option Description
--appprinter printer_name Use this option to specify a name for the printer queue on a UNIX or Linux application server. If you do not use this option, the printer queue is 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 SGD tries to detect whether CUPS is being used. If CUPS is incorrectly detected, use this option to tell SGD 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 script, it checks for the Ghostscript executables in the following locations:

  • /usr/local/bin
  • /usr/bin
  • /usr/sfw/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.

If more than one version of Ghostscript is installed, use this option to specify the version you want SGD to use.

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

--help Shows the list of prtinstall.en.sh script options.
--nocheck Installs the printer queue without checking the status of the SGD print administration commands.
--ttahost host_name Fully qualified DNS name of an SGD server
--ttaprinter printer_name Use this option to specify a name for the printer queue. Use this if the SGD server is also used as an application server. If you do not use this option, the printer is created with the default name of tta_printer.
--uninstall [printer_name] Uninstalls an SGD printer queue. If you do not specify a printer queue, you are prompted for one.

Examples

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

Installs an SGD printer called tta_london on an application server.

Related Topics