Secure Global Desktop 4.31 Administration Guide > Printing > Configuring Secure Global Desktop PDF printing
With Secure Global Desktop PDF printing, users print from a Windows, UNIX or Linux application using a Secure Global Desktop PDF printer. The print job is sent from the application server to Secure Global Desktop where it is converted into a portable document format (PDF) file. Secure Global Desktop then sends the PDF file to a PDF viewer on the user's client device where the file can be viewed, saved and printed.
You configure PDF printing as follows:
Once you have configured PDF printing, you should tell users how to use PDF printing.
Secure Global Desktop has two PDF printers: Universal PDF and Print to Local PDF File.
On Windows client devices, the Universal PDF printer displays the print job as a PDF file in the Adobe Reader, which then prints the PDF file to the user's default printer. The Print to Local PDF File printer displays the print job as a PDF file in the Adobe Reader, which the user can then decide whether to print or save.
On UNIX, Linux and Mac OS X client devices, there is no difference between the Universal PDF and Print to Local PDF File printers as the print job is always displayed as a PDF file in a PDF viewer. The user can then decide whether to print or save the PDF file.
The following configuration is needed to enable the Secure Global Desktop PDF printers.
To use PDF printing, you must install a Secure Global Desktop printer on the application server using the Secure Global Desktop printer installation script.
Note You do not have to create the Universal PDF and Print to Local PDF File printers on the application server . You only have to install a Secure Global Desktop printer and then print using the correct commands for PDF printing.
To use PDF printing, you must first choose and install the PostScript printer driver that will be used for PDF printing.
Make sure the printer driver has sufficient features for your users. Install this printer driver on every Windows application server. By default, Secure Global Desktop is configured to use the HP Color LaserJet 8500 PS
printer driver.
You enable the PDF printers for the whole array on the Printing properties panel in Array Manager. The settings on this panel can be overridden by the settings on the Printing panel for organization, organizational unit or person objects in Object Manager. You configure PDF printers as follows:
/opt/tarantella/etc/data/default.printerinfo.txt
file contains
all the common printer driver names ordered by manufacturer. To avoid errors, copy and paste the driver name from this file.The names of Secure Global Desktop PDF printers are configurable. You can amend these names:
tarantella config edit --printing-pdfprinter name
(for Universal PDF)tarantella config edit --printing-pdfviewer name
(for Print to Local PDF File)tarantella object edit --name object --pdfprinter name
(for Universal PDF)tarantella object edit --name object --pdfviewer name
(for Print to Local PDF File)Secure Global Desktop uses Ghostscript to convert print jobs
into PDF files. To use PDF printing, Ghostscript version 6.52 or later must be installed on the Secure Global Desktop host. Your Ghostscript distribution must include the ps2pdf
program.
When you install Secure Global Desktop, Setup automatically detects Ghostscript if it is installed in one of the following locations:
/usr/local/bin
/usr/bin
/opt/sfw/bin
/bin
/usr/sbin
/sbin
/usr/lbin
If Ghostscript is installed in a different location, you must run the Secure Global Desktop printer installation script (prtinstall.en.sh
) with the --gsbindir
option to tell
Secure Global Desktop where to find Ghostscript.
If Ghostscript is not installed on the Secure Global Desktop host, or your Ghostscript distribution does not include the ps2pdf
program, you must install it and then run the Secure Global Desktop printer installation script.
To be able to use PDF printing, a PDF viewer must be installed on the client device.
On Windows client devices, Secure Global Desktop supports the Adobe Reader version 4.0 or later.
On UNIX, Linux and Mac OS X client devices, Secure Global Desktop supports the following PDF viewers by default:
Client Platform | Default PDF Viewer |
---|---|
Solaris OS on SPARC platforms | Adobe Reader (acroread )GNOME PDF Viewer ( gpdf ) |
Solaris OS on x86 platforms | GNOME PDF Viewer (gpdf ) |
Linux | GNOME PDF Viewer (gpdf ) X PDF Reader ( xpdf ) |
Mac OS X | Preview App (/Applications/Preview.app ) |
Note The Adobe Reader PDF viewer must support the -openInNewWindow
command option.
The Preview App PDF viewer must support the open -a
command option.
To be able to use a default PDF viewer, the application must be on the user's PATH
.
If an alternative PDF viewer is preferred, the command for the alternative viewer application can be configured in the user's client profile.
In the profile you enter either the command or the full path to the command, depending on whether the application is on the user's PATH
.
From a Windows application, you print in the normal way and select either the Universal PDF or the Print to Local PDF File printer in the application's Print dialog.
From an application running on a UNIX or Linux application server, you print in the normal way using the Secure Global Desktop replacement lp
or lpr
scripts. You select a PDF printer as part of the print command, for example:
/opt/tarantella/bin/lp -d "Universal PDF" filename /opt/tarantella/bin/lpr -P "Print to Local PDF File" filename
Note The filename must be a PostScript file, so the application must be able to output PostScript.
On Windows client devices, the PDF file is displayed in the Adobe Reader.
On UNIX, Linux and Mac OS X client devices, the PDF file is displayed either in the default PDF viewer or in the PDF viewer configured in the client profile. The user can then decide whether to print or save the PDF file. There is no difference between the Universal PDF and the Print to Local PDF File printers as the print job is always displayed in a PDF viewer.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.