B.2 Printing

If you are using a UNIX, Linux, or Mac OS X computer, you can override the settings made by the SGD Administrator and configure printers on the computer.

B.2.1 Configuring Your Client Printers

Typically, your SGD Administrator configures the available client printers for you to use. However, if you are printing from a UNIX, Linux, or Mac OS X platform computer, you can override these settings and configure your own client printers. You do this by defining them in a client printer configuration file in your home directory at $HOME/.tarantella/printerinfo.txt. This file is not installed by default. You must create this file, or ask your SGD Administrator for a template file that you can install and edit.

The format of the printer configuration file is as follows:

[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 computer.

windows_driver is the name of the printer driver to use when printing from a Microsoft Windows application server.

printer_type is the format to be used for the print job. The values can be PostScript, PCL, or Text.

An example of a client printer configuration file is as follows:

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

This defines two client printers: drafts and salesprinter. You can then use the following command to print from a UNIX platform application to salesprinter:

$ lp -d salesprinter file