Thank for the reply. If I understand well, this command is used to convert from PHS to PCL.
Under QNX, I want to write an application to capture PCL printer output stream data from the Centronic cable of another computer (NT4), then reformat the captured data to be IP packets and transfer these packets to an IP-enabled printer.
Sure, why not? You won’t be able to use the default parallel port driver (it assumes the data is going out), but you should be able to talk to the hardware, read the incoming data, repackage it and send it to the printer.
The fact the data is PCL is probably not relevant.
Seems like a lot of hassle, but if you need to do it, then it should be possible.