Ed,
We tried the exact commands substituting our own mapping:
NET USE LPT1 /D
NET USE LPT1 \\FRONTDESK\LEXMARK /YES /PERSISTENT:YES
However... we are still locking up... the entire Foxpro 2.6 DOS app locks up as soon as the print job command is issued. I know your commands will work, but there still must be something we are missing on our end. Recap: IBM ThinkPad running XP Professional, logged in to Dell server running Win2K. Lexmark is a shared printer on the Frontdesk and set up as the default printer on the Laptop.
Will do some more troubleshooting today & let you know.
Mike
>
>The EXACT way it needs to appear is:
>
>NET USE LPT1 /D
>
>You can substitute whatever DOS device you're trying to release - the /D releases any existing mapping
>
>NET USE LPT1 \\ServerName\MyPrintQueue /YES /PERSISTENT:YES
>
>Substitute the server name and printer share name that you use for "ServerName" and "MyPrintQueue" as needed. The "/YES" answersa the stupid dialogs automatically with "Y", and "/PERSISTENT:YES" means that the mapping remains in place even when the VDM running the command disappears.
>
>
Let's see, how will the User misinterpret this Yes-No Question...