Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More than just getprinter()
Message
De
23/11/1999 05:24:04
 
 
À
22/11/1999 18:51:59
Bill Totten
William Totten & Associates, Inc.
Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00294127
Message ID:
00294249
Vues:
28
>I'm not sure why you are "talking" to the printer this way (using the FOPEN() function), however, if this is how you need to communicate with the printer, the problem may be with you "calling" LPT1.DOS instead of PRN. If I am correct (and I'm just guessing) LPT1.DOS is not a direct call to the printer port - it only "represents" the port to the OS. Check it out...

Several reasons may be entering the picture - the lpt1.dos device may not be defined, may require a different reference under the operating system version, and still doesn't bypass the spooler to talk directly to the port - Windows will stand between the app and the hardware.

PRN is not defined by default under NT IAC, and would require the use of a trailing : if it were a known device.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform