You have to describe your problem a little bit exactlyer!
But I suppose, You have to use following command at DOS-prompt:
net use lpt1 \\Yourserver\yourprinter
If You add "persistent:yes" the connection will stay along until You disconnect it again with
net use lpt1 delete
Sure, it could be lpt2 and lpt3 too.
greetings