When a GPIB device is addressed to talk or active controller it will always drive the GPIB DIO lines. In the TNT4882, the state of the DIO lines immediately after becoming addressed to talk or becoming CIC is undefined. If your GPIB controller has a TNT4882, as soon as you issue the ibsic command the TNT will drive something onto DIO. When you issue ibcmd \x23, the GPIB controller will drive 0x23 onto DIO, and it will keep driving 0x23 onto DIO until you send another command or it becomes not an active controller.
I forget if the CPTR is a register or just reflects the state of the DIO lines, but after sending ibcmd "\x23" you should read 0x23 from the CPTR because the GPIB controller is still driving that. You can also read the DSR which simply reflects the state of DIO at any time. After sending ibmcd \x23 reading DIO and CPTR should give the same value.
Here is another thing to try. After sending ibcmd \x23 from the controller, read the DSR and CPTR (they should be the same). Then, using a DMM or scope, read the state of the DIO signals. Remember that GPIB signals are active-low, so if a DIO line is at ground the corresponding bit in the DSR/CPTR should be 1. After sending ibcmd \x23, measuring the voltage level of the DIO pins should be as follows DIO8 -> DIO1 (1 1 0 1 1 1 0 0) where 1 indicates ~3.3V and 0 indicates ~0V.
If you measure something different, disconnect the GPIB cable between your device and the controller and measure the DIO signal again on the controller side and the device side, and also read the DSR and CPTR. On the device side they should all be unasserted (~3.3V). On the controller side they should be as stated above.