Re: Mozilla can't remember printer properties

Thomas Ronayne <[email protected]>
Newsgroups gmane.comp.mozilla.devel.unix
Organization SBC http://yahoo.sbc.com
Message-ID <[email protected]>
If you're running either Bourne or Korn shell, you should have a 
.profile in your home directory. If you're running C-shell, you should 
have a .login or .chsrc (or both). Did you try 'ls -al'?

In Bourne shell you set environment variables in .profile like this

    LPDEST=printername
    export LPDEST

In Korn shell you set environment variables in .profile as above or

    export LPDEST=printername

In C-shell you set environment variables in your .login file like this

    setenv LPDEST printername

If you don't know what shell you're running, type this

    ps

and you should see something like this (the PID will be different, so 
will the TTY and TIME -- you're looking for the CMD):

      PID TTY          TIME CMD
     5094 pts/2    00:00:00 ksh
     5107 pts/2    00:00:00 ps

This indicates that I'm running Korn shell. If you're running Bourne 
shell it will be 'sh' instead of 'ksh' and if you're running C-shell it 
will be 'csh' instead of 'ksh.'

If you don't have a .profile (or .login in the case of C-shell), simply 
create one with vi; e.g., 'vi .profile' or 'vi .login,' and do one of 
the environment settings above. You will need to log out and log back in 
for whatever you do to take effect (.profile or .login is read when you 
log in).

Hope this helps.

[email protected] wrote:

>I searched my home folder and I didn't find any file named .profile.
>Can I get some more details on how to do this?
>
>Ante
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.