Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with pin printers
Message
De
25/09/2003 06:37:48
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
25/09/2003 04:08:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00831106
Message ID:
00832143
Vues:
50
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform