[ Printer Friendly Page ]
[ E-mail this Document to Someone ]
[ Was this document useful? Yes or No ]
Infodoc ID |
|
Synopsis |
|
Date |
18436 |
|
How to define or change a default printer for CDE |
|
10 Feb 1999 |
CDE uses a default printer if you have defined one, but it does not provide a
way to specify or change your default printer.
To define a default printer, in your $HOME/.login or $HOME/.profile file
define the environment variable LPDEST and set it to the name of the printer
you want to be the default printer:
For .login:
setenv LPDEST myprinter
For .profile:
LPDEST=myprinter
export LPDEST
If you have not specified that CDE read your .profile or .login on startup,
uncomment the last line of your $HOME/.dtprofile so that the command
DTSOURCEPROFILE=true will be run by CDE on startup. This will cause CDE
to source your .login or .profile as CDE starts. If you do this, be aware that
CDE cannot handle some commands in a .login or .profile like tset and may
not start your desktop if it encounters those commands. Please review the
comments in $HOME/.dtprofile to see how to encapsulate those commands.
Bear also in mind, that .dtprofile is NOT a shell script.
To change a default printer, modify your LPDEST environment variable in your
.login or .profile and restart CDE.
Top
Sun Proprietary/Confidential: Internal Use Only
Feedback to SunSolve Team