I have a windows 7 client computer with a printer that uses lpt1. The client computer connects to a remote desktop server to run applications. The remote desktop server has an lpt1 mapping created via a login script with the below line.
net use lpt1 \\clientsystem\printer /persistent:yes
the lpt1 port is established and I know this by running net use by itself.
the server is windows server 2008R2
when attempting to print I receive the error message "Access Is Denied"
The client system is in a different network than the server. If I connect my computer to the rdp server with a different lpt printer it works and the job prints. I would use a command such as
net use lpt1 \\mylaptop\myprinter
The only difference is the networks.
I have verified that firewalls are off on all computers. I can ping in any direction. I have turned off all antivirus. the LPT printer is shared the same on way on both computers with the same security settings.
Please help with your suggestions.