Solaris Common Desktop Environment: User's Guide

To Change the Default Printer

To designate a different printer as the default printer:

  1. Go to your home folder and open the file .dtprofile.

  2. Add or edit a line that sets a value for the LPDEST environment variable:

    LPDEST=printer_device; export LPDEST

    If you are using csh the syntax is:

    setenv LPDEST printer_device
    

    Note -

    This change will take effect the next time you log out and back in again.


    For example, the following line would change the default printer to the printer whose device name is laser3d.

    LPDEST=laser3d; export LPDEST

    If you are using csh the syntax is:

    setenv LPDEST laser3d