Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyFile using LPT1?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00521377
Message ID:
00521383
Views:
15
>I've tried the following syntax with copyfile with the understanding that it was valid: (from the command line)
>
>? copyfile("c:\test.txt","LPT1",0)
>
>However, this fails each time I try it. Does the CopyFile API inherantly know that the string "LPT1" refers to the port or is that something that has to be defined beforehand? If it has to be defined, where and how?
>
>(I'm currently running on a Win98 machine but need also to have this working on a Win2k machine).
>
>Thanks for your input.
>
>Rodd
>
>P.S. The whole idea is that I have a my LPT1 port captured to a Novell print queue. Sending the file directly to the print queue works fine.

See MESSAGE#510398. Whether or not this will work on Win2K, I can't say.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform