You should use a little trick: share your printer on your LAN, then run this command from a command prompt:
NET USE LPTx: \\<computer_name>\<printer_share_name> /PERSISTENT:YES
That would permanently connect the LPTx: port with the shared printer, which by the way will be on the same pc...
then you sholud print correctly on the LPTx: port from any DOS app...
Bye!