NET USE LPT1: "\\PCName\PrinterShareName" /persistent:yes
This will allow you to print to LPT1, but have the results print on the printer above. This can be useful for doing a print to file for DOS reports being exported from a system not able to print to file. This can also be useful as part of the solution for working around terminal services driver issues for slip printers.
The code below will allow you to remove a net use port mapping like the one setup above.
NET USE LPT1 /DELETE