Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying a file to a local printer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00415780
Message ID:
00415919
Views:
26
>The declaration I use:
>
>DECLARE SHORT CopyFile IN WIN32API STRING @, STRING @, INTEGER
>
>works fine here; I have no idea why it doesn't work on your system. I've tested it on everything except Win95.

I found the problem! There is actually a KB article on it (Article ID: Q157635). For some reason you can't copy a file to LPT1 unless it's a captured. But there is a workaround! Instead of copying to LPT1, copy to LPT1.DOS. That seemed to correct the problem on my system. Now I need to see if this works on another system (the one that matters).

Steve.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform