Need help to create dynamic com port for USB printer device

Hi Community,
I have build a usb functional driver through which i am able to read and write the data from printer’s native usb port.But i need to expose/enumerate as com port when device has been attach to the PC. I follow some articles on osr but doesn’t suit to my requirement.Could you anyone have any idea about that how it could be done.Any article or direction would be appreciable.