rumblestiltskin
IS-IT--Management
Hello
I'm trying to use multiple parallel ports for sco unix 5.0.5 on a dell poweredge 4500. I'm using jetdirect170x for print servers / the problem is after using the 3 parallel lines / i believe I can't create anymore parallel lines without installing another card. Had 2 ideas about how to avoid buying another card / the printing I'm doing is very low volume / and would like to try to use the same lp port for more than 1 jetdirect.
The first idea involved switching out the /etc/hosts file with the station running before each print
example (using system call using rmcobol)
(inside hosts file)
192.0.0.194 jetdirect4
192.0.0.196 jetdirect5
192.0.0.196 lp2
and would switch this with host file like below
192.0.0.194 jetdirect4
192.0.0.194 lp2
192.0.0.196 jetdirect5
******************************
and also switch out lp2 file in
/var/spool/lp/admins/lp/interfaces with only before and after change listed below
PERIPH=jetdirect5
to
PERIPH=jetdirect4
********************
had permissions problems tried multiple things / decided it would be better to just have some simple
if
fi
script in /etc/hosts file and
/var/spool/lp/admins/lp/interfaces/lp2 file
need some clarification on using global variables
and instructions or link toward some basic if fi script
explaining it
thanks
I'm trying to use multiple parallel ports for sco unix 5.0.5 on a dell poweredge 4500. I'm using jetdirect170x for print servers / the problem is after using the 3 parallel lines / i believe I can't create anymore parallel lines without installing another card. Had 2 ideas about how to avoid buying another card / the printing I'm doing is very low volume / and would like to try to use the same lp port for more than 1 jetdirect.
The first idea involved switching out the /etc/hosts file with the station running before each print
example (using system call using rmcobol)
(inside hosts file)
192.0.0.194 jetdirect4
192.0.0.196 jetdirect5
192.0.0.196 lp2
and would switch this with host file like below
192.0.0.194 jetdirect4
192.0.0.194 lp2
192.0.0.196 jetdirect5
******************************
and also switch out lp2 file in
/var/spool/lp/admins/lp/interfaces with only before and after change listed below
PERIPH=jetdirect5
to
PERIPH=jetdirect4
********************
had permissions problems tried multiple things / decided it would be better to just have some simple
if
fi
script in /etc/hosts file and
/var/spool/lp/admins/lp/interfaces/lp2 file
need some clarification on using global variables
and instructions or link toward some basic if fi script
explaining it
thanks