Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Printer Control Code?
Message
From
20/04/2006 08:17:11
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
19/04/2006 12:25:11
F Bilo
Bilo Office
Fuyang, China
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01114641
Message ID:
01114911
Views:
18
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform