Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with pin printers
Message
From
25/09/2003 06:37:48
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
25/09/2003 04:08:38
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00831106
Message ID:
00832143
Views:
45
don't use ??? use that (I got Win32 part another thanks him):


set prin to printer.tmp
??chr()27)+"fkdskfþsdklþkdslþvkþlxc"
set prin to
dosprn("printer.tmp")


FUNCTION dosprn
LPARAMETERS xfile,xport,noerase
IF PCOUNT()=1
xport="prn"
ENDIF
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)
* IF !m.noerase
* ERASE (m.xfile)
* ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform