SunSolve Internal

 

  Simple Search | Advanced Search | Product Search | Tips | Investigation Wizard

 Search for in

Printer Friendly Page ] [ E-mail this Document to Someone ]
Was this document useful? Yes or No ]

Jump to
Infodoc ID   Synopsis   Date
18436   How to define or change a default printer for CDE   10 Feb 1999

Description Top
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.
Product Area Windows
Product CDE
OS Solaris 2.x
Hardware any

Top

SunWeb Home SunWeb Search SunSolve Home Simple Search

Sun Proprietary/Confidential: Internal Use Only
Feedback to SunSolve Team