Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer removal in CMS 2

Status
Not open for further replies.

cmcdan1523

Technical User
Joined
Feb 14, 2003
Messages
132
Location
US
I have a user who changed offices so the ip address to his CMS defined printer changed. I will need to either change the ip address or remove the printer and re-install.
I have the process for adding a new printer to CMS, but it does not include the change or removal instructions.
Thanks.
 
There are a few steps to take to change the printer. If you are lucky you just might be ok with changing the /etc/host file. In this file replace the ip address for the old one to the new one. Then in CMS run the Maint on the printers and change the discription filed and modify. If your lucky thats all you have to do.

Hope this helps
Ed

1a2 to ip I seen it all
 
When I go to vi/etc/hosts, I cannot change the host ip address, delete the address, or even place a # in front.
Is there some trick to be able to change the fields?

Thanks.
 
Make sure that you logon as root. You can even su - root and input the correct password. Then you can write to the host file

Sorry I should have told you that

Thanks
ED

1a2 to ip I seen it all
 
in vi you also have to be in 'insert' mode (pres i). press esc when ready... :wq! to write, then quit. "man vi" for more info...
 
File Navigation Commands:
#cat /etc/hosts to look at the file
#pg /etc/hosts to look at it page by page

File Editing Commands:
NOTE: USE THE “#” character to comment all changes.
Example:

#vi /etc/hosts to edit the "hosts" file
Esc gets you into editor mode
Esc : q ! --> To quit without writing (no spaces in command)
Esc : w q ! --> To quit and write (no spaces in command)

Tips when using the “vi” Editor:
o = open new line for editing below current line the cursor is on
O = open new line for editing above current line the cursor is on
Esc = To get you into write mode to input &
Esc = into neutral mode (stops input)
I = input before cursor
a = input after cursor
x = deletes one character
u = use to undo the last action
dd = deletes entire line
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top