The GPIB bus is a communication bus. You can connect it to instruments that have a GPIB bus port.
You better can use the handshake lines of your serial or parallel port. These are easier to program a stable signal to a relay driver.
The serial CTS already has +12 Volt (and -12) so maybe that is a better choice.
greetings from the Netherlands