Thank you, for his help, but I did everything as they indicate me, well the program send the spool to the printer but this one recognizes it as document of low level and does not print it and leaves it in tail.
I refer to this.
@Echo off
cls
echo Disconnecting LPT1 from any other connections
net use lpt1 /delete
echo Rerouting printing to \\server\PrinterName
net use lpt1 \\server\PrinterName /yes
Jose Manuel Ramirez