Secure Global Desktop 4.40 Administration Guide > Printing > Configuring Secure Global Desktop PDF Printing
With Secure Global Desktop PDF printing, users print from a Windows or X application using a Secure Global Desktop PDF printer. The print job is sent from the application server to an SGD server where it is converted into a portable document format (PDF) file. SGD 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, tell users how to use PDF printing.
SGD has two PDF printers: Universal PDF Printer and Universal PDF Viewer.
On Microsoft 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 Universal PDF Viewer 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 system client devices, there is no difference between the Universal PDF Printer and Print to Universal PDF Viewer 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 an SGD printer queue on the application server. You do not have to install the Universal PDF Printer and Universal PDF Viewer, as they are installed by default when you install the printer printer queue.
The following instruction only apply when printing from Windows applications that are configured to use the Microsoft RDP protocol.
To use PDF printing, you must first select a PostScript printer driver to use for PDF printing. Make sure the printer driver has sufficient
features for your users. Install this printer driver on every Microsoft Windows application server.
By default, SGD is configured to use the HP Color LaserJet 8500 PS
printer driver.
To enable PDF printing from Microsoft Windows applications for all users:
If you make a PDF printer the default printer for Windows applications and SGD is configured to only allow users to print to their default printer, users see two printers in their Windows application session: their default client printer and the PDF printer.
The name must match the name of the printer driver installed on the Microsoft Windows application server exactly.
Pay particular attention to the use of capitals and spaces.
The /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.
Note The changes only take effect for new user sessions.
To enable PDF printing from Microsoft Windows applications for particular users:
Note If you configure an organization or organizational unit object, this affects all the users in that organization or organizational unit.
If you make a PDF printer the default printer for Windows applications and SGD is configured to only allow users to print to their default printer, users see two printers in their Windows application session: their default client printer and the PDF printer.
The name must match the name of the printer driver installed on the Windows application server exactly.
Pay particular attention to the use of capitals and spaces.
The /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.
Note The changes only take effect for new user sessions.
Note If a PDF viewer is not configured on the client device, the PDF printers are not available in the Windows application session even if a PDF printer is enabled.
The names of Secure Global Desktop PDF printers are configurable. You can amend these names as follows.
To change the PDF printer names for all users, use the following command:
$ tarantella config edit \ --printing-pdfprinter name --printing-pdfviewer name
To change the PDF printer names for an organization, organizational unit or user profile object, the object must also be configured to override the parent object's printing settings. Use the following command:
$ tarantella object edit --name object \ --userprintingconfig true --pdfprinter name --pdfviewer name
SGD uses Ghostscript to convert print jobs
into PDF files. To use PDF printing, Ghostscript version 6.52 or later must be installed on the SGD host.
Your Ghostscript distribution must include the ps2pdf
program.
When you install SGD, Setup automatically detects Ghostscript if it is installed in one of the following locations:
/usr/local/bin
/usr/bin
/usr/sfw/bin
/opt/sfw/bin
/bin
/usr/sbin
/sbin
/usr/lbin
If Ghostscript is installed in a different location, you must run the SGD printer queue installation script
(prtinstall.en.sh
) on the SGD host
with the --gsbindir
option to configure the location of Ghostscript.
If more than one version of Ghostscript is installed, you must run the
prtinstall.en.sh
script
with the --gsbindir
option to tell SGD which version to use.
If Ghostscript is not installed on the SGD host, or your Ghostscript distribution does not include the ps2pdf
program, you must install it and then run the SGD printer installation script.
To be able to use PDF printing, a PDF viewer must be installed on the client device.
On Microsoft Windows client devices, SGD supports the Adobe Reader version 4.0 or later.
On UNIX, Linux and Mac OS X system client devices, SGD 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 Microsoft Windows application, you print in the normal way, and select either the Universal PDF Printer or the Universal PDF Viewer in the application's Print dialog.
From an application running on a UNIX or Linux system application server, you print in the normal way using the SGD
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 Printer" filename $ /opt/tarantella/bin/lpr -P "Universal PDF Viewer" filename
Note The filename must be a PostScript file, so the application must be able to output PostScript.
On Microsoft Windows client devices, the PDF file is displayed in the Adobe Reader. If the Universal PDF Printer is selected, the PDF file is printed automatically to the user's default printer. The Adobe Reader runs minimized and does not exit when the print job has finished. If the Universal PDF Viewer is selected, the PDF file is displayed in the Adobe Reader window. The user can then decide whether to print or save the file.
On UNIX, Linux and Mac OS X system 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 Printer and the Universal PDF Viewer as the print job is always displayed in a PDF viewer.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.