Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows XP Professional Printing
Message
From
15/10/2002 12:02:40
 
 
To
15/10/2002 10:14:22
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00710247
Message ID:
00711353
Views:
15
>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.
>

The only time I've seen this is when there is a physical printer installed on LPT1: on the system, and the spooler gets confused re: spooling to the device. Switching the printer to another physical port seems to clear the issue.

>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.
>>
>>
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform