Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help! Sending a binary file to a network printer
Message
De
13/12/1999 19:55:33
 
 
À
13/12/1999 17:57:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00297422
Message ID:
00303085
Vues:
24
>>Take a look in the FAQ; I put up an entry "How to copy a file to a printer port?" which shows how to use the CopyFile() API call to send a file to a port or UNC. You'd print to file and then use CopyFile() to send the file to the printer.
>
>Ed,
>I have a client who is trying to use the copyfile() API call, and it's not working. They are getting a GetLastError value of 2 and they can't seem to locate a copy of winerror.h to look this up.
>

The system cannot find the file specified. I looked this up using ERRLOOK.EXE, which was included in Visual Studio's common tools.

>Can you please tell me what the code 2 means or tell me if winerror.h is included in anything besides Visual C++ so I can look up errors for them in the future?
>
>Thanks
>David,
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