Operating System - HP-UX
1825766 Members
2072 Online
109687 Solutions
New Discussion

Printing to a terminal server connected printer.

 
SOLVED
Go to solution
Cara Tock
Regular Advisor

Printing to a terminal server connected printer.

Is there a way to print to a tcp port other than the default 9100 used by JetDirect cards?
I need to print to a printer attached to a terminal server (DEC90M) with tcp port from 2001 to 2008.
4 REPLIES 4
Paula J Frazer-Campbell
Honored Contributor
Solution

Re: Printing to a terminal server connected printer.

Hi

1. What you are looking for is ddfa first telnet to the spider and set a port up that the printer will connect to.

2. Add, using vi, new device in /etc/ddfa/dp (note that the letter ???O??? is used in the spider address ??? ie spid3O05 (three, oh, zero, five).
3. Check that an ocd is not already running for the new port ???
Ps ???ef|grep ocd|grep spid3O05.
4. If no ocd is running then - Start new ocd in /dev/telnet/ (see ps ???ef | grep ocd)

# ocd -n191.1.0.205 -f/dev/telnet/spid5O07 -bxx -p3026 -c/etc/ddfa/pcf

5. If ocd is added then check that it is running ??? ps ???ef|grep ocd
See also # man ocd
check port config on spider

To reset and restart the ocd DPP software:-

kill -15 `ps -e | grep ocd | awk '{print $1}'` (Kill all ocd processes (do not use ???9 as device files will not be cleared).

/usr/sbin/dpp /etc/ddfa/dp ???k (Full ocd reset)

HTH

Paula

If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: Printing to a terminal server connected printer.

Damon

This is not easy to do the first time so if you wish email me at :-

paula@avro.co.uk

Paula
If you can spell SysAdmin then you is one - anon
Cara Tock
Regular Advisor

Re: Printing to a terminal server connected printer.

Thanks for the help. I have allready set it
up and I am able to print to it. I don't understand why HP has to make it as difficult as they do. It's just like printing to a JetDirect printer, but with a different port number.
Paula J Frazer-Campbell
Honored Contributor

Re: Printing to a terminal server connected printer.

Hi
I have no idea why it is like this, it is not exactly straight forward and it took me ages on my first try !!!

Btw ensure that ddfa is set to start up on a reboot.


Paula
If you can spell SysAdmin then you is one - anon