There is a very old foxpro DOS program, which print doc via LPT1 , now user want to have soft copy . So I shared the PDF printer and OneNote printer on my local machine, and tried to map LPT1 to them as below
PDF printer:
net use LPT1: \\{my machine name}\pdf
Printer "Send to OneNote 2013":
net use LPT1: \\{my machine name}\one
Both commands completed successfully, and I can see the task could be added to printer's queue by below command, but nothing actually printed
print /d:LPT1 result.txt
=> result.txt is currently being printed
Note: I also tried LPT2, LPT3 , but got same result