Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upgraded NT Server and FPD bombs out
Message
De
28/11/1999 17:11:48
 
 
À
28/11/1999 16:56:30
Zev Chopp
Ccs Consulting Services
Brooklyn, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00296164
Message ID:
00296207
Vues:
21
>Ed,
>
>Thanks for the response. There are two problems with this option. One, the users presently have access to 6 printers -- they need at least 4 (2 printers, envelope printer and a label printer). Foxpro recognizes only lpt1, lpt2 and lpt3. Secondly, I tried your idea (I captured the lpt port directly from within Win95 printer setup), but Foxpro wouldn't leave go of the print job until I quit. I tried set printer to, set printer to lptX, but it wouldn't work.
>

Try doing a SET PRINTER TO NUL, followed by an EJECT. This should cause the Windows spooler to shift from the current spool file. This has 0 to do with server behavior. Changing the server alone would not have the effects that you note, since it's behavior in a VxD (so it is not a WinNT behavior, since NT doesn't use this model of device driver). Some other Win9x component on the workstation changed when you changed to the new server.

You can also issue RUN NET USE LPT1: /DELETE to release the printer assignment in effect for LPT1:

I've used FoxPro/DOS with printer numbers as high as 8 in the past, but the workstation had to define the ports before they were usable. DOS and Win9x systems understand and "decode" LPT1-LPT3 by default.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform