I know using net use lpt1 /delete can disconnect the printer but it doesn't show as disconnected.The following will set it to one minute:
Now when dos software will send information to lpt1:Select the share this printer checkbox.Port it will be redirect to ip address of you printer.
Type a valid name in the share name field.The solution is to disable the lpt1 port on the motherboard bios.
Note the method of mapping a network printer to lpt1 can also be used to map an usb printer.Reader daniel wolf sent in the following kixtart script that maps the current user's default printer to lpt1 (assuming the default printer is a network printer).Just type net use at a command prompt and it will show you all your present mappings.
After that, add a file, call it printer.vbs and put the following in it.Navigate to devices and printers.
Handy if you have the same scenario.Click sharing tab on the upper panel, then click change sharing options.Is there any way to get the printer name mapped to lpt1 port using java.
Open cmd net use lpt1 \\printserver\\printer step 2:From your pc, click the start button.
Last update images today Map A Network Printer To Lpt1