Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting crazy with dot matrix and 12inches forms
Message
De
12/12/2003 07:31:33
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00857961
Message ID:
00858514
Vues:
14
Don't crazy, that's easy... :)

first, you have to print to a file
set prin to myreport.txt

  ?"vmgfdgkfd"
  ?"mvcmkfdkbmkv"
  ....
....

set prin to

*----- I got two lines below from another. Thanks him ----
DECLARE INTEGER CopyFile IN kernel32;
	STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
CopyFile("myreport.txt","lpt1", 0)
that's all..

You won't get form feeds. You have to use eject command with your ? commands if you want to form feeds.
also you change your page lenght with
xpglen=66 &&---- lines for a4, different for us letter. may be so 72.

??chr(27)+"C"+chr(xpglen)+chr(15)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform