Operating System - OpenVMS
1827894 Members
1605 Online
109969 Solutions
New Discussion

Re: Help ON TCPIP PRINTING

 
Clayton_12
Frequent Advisor

Help ON TCPIP PRINTING

HI :
I want to set up TCPIP printing on OPEN-VMS 7.3-2 box?

THe printer has TCPIP NIC and I want to set up a queue on the OPENVMS server.

What is the best method for setting up ?


THX
CLayton
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: Help ON TCPIP PRINTING

The "best method" is not well defined, and
may depend on the printer. For my
(venerable) HP LaserJet 4MV, I use DCPS.

http://h71000.www7.hp.com/doc/dcps24.html

alp $ show queue /full sys$print
Printer queue HPLJ_DCPS, idle, on ALP::"IP_RawTCP/hplj:9100",
mounted form DCPS$DEFAULT (stock=DEFAULT)
/BASE_PRIORITY=4 /DEFAULT=(FORM=DCPS$DEFAULT (stock=DEFAULT))
/NOENABLE_GENERIC /LIBRARY=DCPS_LIB Lowercase /OWNER=[SYSTEM]
/PROCESSOR=DCPS$SMB /PROTECTION=(S:M,O:D,G:R,W:S) /SCHEDULE=(NOSIZE)
Kelly Cox
Frequent Advisor

Re: Help ON TCPIP PRINTING

The following is the basic commands i use on multiple versions of VMS for 2 different printers.

$init/queue/start/on="192.168.0.200:9100"-
/processor=tcpip$telnetsym/retain=error -
/default=(nofeed,form=hplaser) hp2200

$init/queue/start/on="192.168.7.200:9100"-
/processor=tcpip$telnetsym/retain=error -
/default=(nofeed,form=hplaser) hplaser

Both of these HP printers use port 9100 to listen on telnet. You will need to lookup which port your printer uses.
Wim Van den Wyngaert
Honored Contributor

Re: Help ON TCPIP PRINTING

I mostly use 9100 too because it's done using a real symbiont, not a LPD one. Thus formatting is VMS like (/form).

Just do telnet/port=9100 to the IP address of the printer. If it accepts the connection it is supported.

Wim
Wim
Bojan Nemec
Honored Contributor

Re: Help ON TCPIP PRINTING

Clayton,

I also use /on="IP:PORT" with logical TCPIP$TELNETSYM_RAW_TCP set to 1 (when I can not use LAT ;)

In addition to Wim's method of testing:

"telnet IP PORT" and after the connection was accepted type something and finish with (form feed). This will print the words you typed and eject the page. If the page is not printed you can have a wrong port or you have a wrong printer type (an example are the so called GDI printers which need special drivers, because they are unable to print simple text without the aid of the computer).

Bojan