Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Printer Control Code?
Message
De
20/04/2006 08:17:11
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
19/04/2006 12:25:11
F Bilo
Bilo Office
Fuyang, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01114641
Message ID:
01114911
Vues:
19
use that samples way:
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"
xport="lpt1"
  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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform