Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cash Drawer and Epson TM88III
Message
De
01/10/2004 08:48:44
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
01/10/2004 06:03:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00947853
Message ID:
00947897
Vues:
19
Hi Ken,

try access your printer directly by Windows API. I got these codes by another developer and it works good for me. I use it with a lot of device..
xfile="myfile.txt"
xport="com1" &&-- you can put any com or lpt port or shared device name
xstr=CHR(27)+CHR(112)+CHR(0)+CHR(64)+CHR(240)
  strtofile(xstr,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