>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.