Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CopyFile using LPT1?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
CopyFile using LPT1?
Divers
Thread ID:
00521377
Message ID:
00521377
Vues:
47
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform