I used the command NET USE LPT1: \\XXXXX to assign the port to a network PRINTER and It work succesfully but the problem is I dont Know how to cancel it and restart to print to another printer conectec directly in my Port LPT1 (locally) that is not a NETWORK PRINTER.