Thank you and best regards.
If you are using a new computer with an existing printer that still has a parallel connector, you could buy a USB to Centronics cable. When connected, it shows up as a parallel port in the hardware list.
Or if the printer’s USB or networked, you could share it on your own PC then map a network path (net use LPT1 \\127.0.0.1\printershare). I can’t remember if the /persistent:yes option works for LPT ports.
Or better yet, hope that an Oracle guru tells you how to amend the command for a USB port, but I’m not that guy!
1. Most of the printer formats were removed from printers when windows started doing all the rendering work and dos does not have any provision for virtual ports such as USB. You have a couple of options. Use a serial port and send the output through a serial to USB converter, the results may be interesting as there may not be any CRLF commands in the text steam. The other is to use dos2usb from www.dos2usb.com.