Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with pin printers
Message
De
25/09/2003 06:45:20
 
 
À
25/09/2003 06:37:48
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00831106
Message ID:
00832145
Vues:
53
And what have I to do for using a net printer ?
does it work anyway ?
Alessio

>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