Operating System - HP-UX
1833323 Members
3353 Online
110051 Solutions
New Discussion

Re: How to change print server on client.

 
SOLVED
Go to solution
Russ Hancock_1
Frequent Advisor

How to change print server on client.

Is it possible to edit a file somewhere that will enable me to change the workstations default printer?

We are replacing servers and so I need to repoint the defaults printer to the new machine, ideally without having to use SAM.

Cheers
Russ
Russ
4 REPLIES 4
V. Nyga
Honored Contributor

Re: How to change print server on client.

Hi,

check the answers of your olympians:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x75e068da2286d711abdc0090277a778c,00.html

Regards
Volkmar
*** Say 'Thanks' with Kudos ***
Darren Prior
Honored Contributor
Solution

Re: How to change print server on client.

Hi Russ,

Check the man page for lpadmin(1m); I think the -d option is what you require.

regards,

Darren.
Calm down. It's only ones and zeros...
Brian K. Arnholt
Frequent Advisor

Re: How to change print server on client.

Another option, assuming the printer is already set up on the client, is to add/change the LPDEST definition in either the user's .profile or in /etc/profile (which will globally assign a default printer to all users on the system).

Example statement in .profile:

#Set up default Printer location
export LPDEST=xerox4nw

Good luck!
Brian
Some see things as they are and ask why, I dream of things that never were and ask why not?
Tom Danzig
Honored Contributor

Re: How to change print server on client.

Brian's solution is the easiest. I would put the "export LPDEST=" in the /etc/profile so it applied to all users (assuming they don't have one in there personal .profile which is doubtful)