Skip past navigation linksSecure Global Desktop 4.40 Administration Guide > Printing > Configuring Printing for UNIX, Linux, or Mac OS X System Client Devices

Configuring Printing for UNIX, Linux, or Mac OS X System Client Devices

To allow users to print to printers attached to UNIX, Linux, or Mac OS X system client devices, the printers must be configured in one of the following printer configuration files:

Note An alternative to the configuration described on this page is to use SGD PDF printing.

The format of the global and user-specific printer configuration file is the same:

Skip past preformatted text[UNIX]
"printer_name" = "windows_driver" printer_type
"printer_name" = "windows_driver" printer_type
...

printer_name is the name of the printer as it is known to the lp or lpr system on the client. The printer name must be enclosed in double quotes and be followed by an equals sign. This is the name that users can specify when printing from a UNIX or Linux application server. It is also the name that displays in the Print dialog when users print from a Windows 2000 or 2003 application server.

windows_driver is the name of the printer driver to use when printing from a Windows 2000 or 2003 application server. The printer driver name must be enclosed in double quotes. The name of the printer driver 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 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.

printer_type is the format to be used for the print job. The values can be PostScript, PCL or Text. This information is optional, but if it is missing, PostScript is used by default. This information is used to determine whether SGD needs to convert the print job from the format used by the application server to the format needed by the client printer.

The first printer listed in the [UNIX] section is the client's default printer.

When SGD is first installed, the default.printerinfo.txt file contains the following entry:

Skip past preformatted text[UNIX]
"_Default" = "QMS 1060 Print System" PostScript

With this configuration, when users print from a Windows 2003 application server, they see a printer called _Default (from Sun SGD) Session number. This printer prints to the default printer on the client using a basic PostScript printer driver, "QMS 1060 Print System".

Note This also means that a printer is available in the Windows application even if there is no printer connected to the client.

Example

Graham Green's $HOME/.tarantella/printerinfo.txt file contains the following entries:

Skip past preformatted text[UNIX]
"drafts" = "HP DeskJet 970Cxi" PCL
"salesprinter" = "HP LaserJet 5/5M" PostScript

When he prints from a Windows 2000 application server to a UNIX client, he has two printers called:

His default printer is drafts/Sun SGD/Session number, which in this example has been defined as a PCL printer.

Related Topics