Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help about print with dot matrix printer
Message
From
10/08/2004 06:21:39
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
09/08/2004 08:45:29
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00931735
Message ID:
00931979
Views:
20
Hi Reza,

I use these codes for writing text on dot-matrix printers. Your printer won't page eject until you wanted:
    xport="lpt1"
    xfile="myprint.txt"
  set prin to (xfile)
  set print on
  set cons off
   ?"mzkfdsfkkdlflsd"
   ?"mckzmkxzmckxzmkcxz"
   ?"mkfgksgkfgkfdkgkdj"

  set prin to
  set prin off
  set cons on
     

  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)
Previous
Reply
Map
View

Click here to load this message in the networking platform