Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Output of a report file - for DOS
Message
De
25/03/2004 05:45:56
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
20/03/2004 09:08:29
Sudhir Arora
Userease Software Pvt. Ltd.
New Delhi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00888199
Message ID:
00889528
Vues:
19
first you have to do that:
set prin to myprint.txt
after that if you want to use ? command use it. don't use ??? command...

if you want to prin a report file. create your report in foxpro Dos and use report to ascii command in VFP. don't open report in VFP anymore!..

after that. you ready to print your report :)
  set prin to
    
DECLARE INTEGER CopyFile IN kernel32;
	STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
CopyFile("myprint.txt","prn", 0)
that api support even network printers (you have to use network printers name like : secretary\\ibm ) ...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform