Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing VMS Printer IP address

prasad_35
Occasional Advisor

Changing VMS Printer IP address

Hi ,

I am new to administration and trying to create a print Queue and assaign an Existing port (NTYnnn)on a VAX node.( I had deleted the existing queue and so I am creating the new one )

I am using these commands :

$ ntycp:= $multinet:ntycp
$ ntycp create port nty9969/node=xxxxxx/port=9969 (not executing this command since I want to use the existing port)
$ set terminal/permenant nty9969:/nobroadcast/notypeahead/nowrap
$initialize/queue/on=nty9969/processor=multinet_ntysmb/start_Queue: dallas_xxxx
$ show queue dallas_xxxx
Terminal queue DALLAS_xxxx, stalled, on DALLAS::NTY9969, mounted form GRPBIG
(stock=DEFAULT)
/BASE_PRIORITY=4 /DEFAULT=(FEED, FORM=DEFAULT) Lowercase /OWNER=[SYSTEM]
/PROCESSOR=MULTINET_NTYSMB /PROTECTION=(S:M,O:D,G:R,W:S)

After creating Queue I am trying to print to it .. but once I start prining it says Printer queue is stalled.. I think I am missing some other step (which assaigns IP address etc.. )

I have updated an QUE_ALL.dAT file with the latest IP address .. Still I am having this issue.
Do I have to run any procedure/script so that the latest changes are updated..

Pl let me know how to do this change..
7 REPLIES
Richard Whalen
Honored Contributor

Re: Changing VMS Printer IP address

The NTYCP CREATE PORT is the command you need to specify the address and port on the remote node. See http://www.process.com/tcpip/mndocs52/ADMIN_GUIDE/Ch16.htm#E54E28 for documentation.
prasad_35
Occasional Advisor

Re: Changing VMS Printer IP address

Hi Richard,

Thanks for the response.. Since I want to assaign a new queue name to an Existing port I am having this problem..
Richard Whalen
Honored Contributor

Re: Changing VMS Printer IP address

Leave the existing queue name and device in place and then add a new queue name with the following command

$ init/queue/generic=(existing_queue_name) new_queue_name
Richard Whalen
Honored Contributor

Re: Changing VMS Printer IP address

Another thought:

use NTYCP DELETE to delete the existing nty9969 and then NTYCP CREATE to re-create it with the new ip address.
prasad_35
Occasional Advisor

Re: Changing VMS Printer IP address

Hi Richard,

I had created the new port 9901 and assaigned the IP address.

ntycp create port nty9901/node=xx.xx.x.xx/port=9100

Terminal queue DALLAS_xxxx, stalled, on DALLAS::NTY9901, mounted form DEFAULT
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) Lowercase /OWNER=[SYSTEM]
/PROCESSOR=MULTINET_NTYSMB /PROTECTION=(S:M,O:D,G:R,W:S)

Still having the problem.. Do I have to restart the server/run any procedure to make these chages effect ?
Richard Whalen
Honored Contributor

Re: Changing VMS Printer IP address

You shouldn't have to restart anything other than the queue.

Can you ping the printer's ip address?

Can you get some TCPDUMP when trying to print a file? (MULTINET TCPDUMP/VERBOSE HOST printers_ip_address)
prasad_35
Occasional Advisor

Re: Changing VMS Printer IP address

Hi ,

Thanks for all the Advices.

I could resolve myissue using the
Modify PORT command.

Meaning each time the ip address for a printer is changed, I am changing the IP address assaigned for that NTYdevice port.

Thanks,
Prasad.