How To Print Via USB?

Is it possible to Create Usb (With OTG Cable) Printing App Like NokoPrint?

I will Try , Thank You!