Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dos printing
Message
De
05/02/2004 07:25:24
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
28/12/2003 05:58:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00862326
Message ID:
00874370
Vues:
16
I use that. It works very well.
SET PRINTER TO myprinter.txt
SET PRINTER on
SET CONSOLE OFF
?"nfdgkfdjkgfk"
?"ncvmxvkcxvkc"
?"kvdjlgjkfsl"
SET PRINTER TO 
SET CONSOLE ON 
SET PRINTER off  

xfile="myprinter.txt"
  STRTOFILE(CPCONVERT(CPCURRENT(1) ,CPCURRENT(2),FILETOSTR(m.xfile)),m.xfile)

DECLARE INTEGER CopyFile IN kernel32;
	STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
CopyFile(m.xfile,m.xport, 0)
also you can do it with reports:
report form myreport to file myprinter.txt ascii
other codes like upper.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform