Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help! Sending a binary file to a network printer
Message
From
13/12/1999 17:57:53
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00297422
Message ID:
00303040
Views:
28
>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.

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,
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform