Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label printer blues, a sticky mistery
Message
 
À
01/04/1998 09:43:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00088478
Message ID:
00088687
Vues:
32
>Marc,
>In fact I noticed ??? was a mistake and this would fail. Instead replace it with the following code and then try a DOS print.
>
>handle=fcreate("dummy.prn")
>=fwrite(cNotePadPrintOut,len(cNotePadPrintOut))
>=fclose(handle)
>
>Now go to DOS prompt and execute "copy dummy.prn lpt1:" to see if this is really the format making it print. If you could get there successfully then we could build something to do it from VFP. BTW while adding this printer have you set you'll also be printing from DOS based apps ?
>Cetin

Cetin,

I'll try it, but I suspect that the drive that sends to the file does its own. When I did that, and checked the resulting file on hex level, only one of the 4 lines remained intact. That discourage me somehow ....

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform