Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file .... to lpt1
Message
 
À
19/08/2003 10:54:49
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00821423
Message ID:
00821781
Vues:
20
This message has been marked as the solution to the initial question of the thread.
Hi Metin,

Try this code:
DECLARE INTEGER CopyFile IN kernel32;
	STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
	
= CopyFile(cFilename, 'LPT1:', 0)
where cFilename is a text file you want to print.

No DOS window -- guaranteed :)

Network printer names like \\MYSERVER\EPSON can be used as well as LPT1:
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform