Mainframe? Are we talking OpenVMS (which is the topic for the ITRC forum here) on a VAX 9000 series box (the so-called "mainframe VAX"), or some other operating system and/or other hardware?
As for:
s0p469h120v0b0T*JohnTest*
You do have to include the escape sequence and related character dreck to get OpenVMS to send and the printer to honor the sequence -- OpenVMS expects to send ANSI escape and control sequences to the printer. So there needs to be a wrapper around the PCL.
For OpenVMS, the ancient keystone topic for IP printing (and pointers to other printing-related topics) is the old Ask The Wizard (ATW) area topic 1020.
http://www.hp.com/go/openvms/wizard Once there, you can grab the whole ATW area via the wizard.zip archive.