Hilmar,
Thankyou for your reply. Actually when I sent the ??? command, it did not print till I quit VFP.
I solved the problem like this:
set printer to name 'epson'
??? 'Hello World'
set printer to
The last command forces a print.
Problem solved.
Thanks
Abdul Ahad Khan
>>Hi All,
>>I want to print a small line to the printer at 120 lines in one minute. For this I need to bypass the Windows system.
>>
>>I have tried the following:
>>
>>??? mytable.product
>>
>>I also tried:
>>
>>set device to file pp.txt
>>@ 1,1 say mytable.product
>>set device to screen
>>copy file pp.txt to prn
>>
>>both the above options print at their own time. Cant we do it like we do in DOS Fox??
>>
>>Please help
>>
>>Regards
>>
>>Abdul Ahad Khan
>
>What do you mean "at their own time" - is it too slow?
>
>I use the following approach. I create a text-file with the information to be printed, load it into RAM (FileToStr()), then send printer codes and this information to the printer with "???". It prints very fast, compared to printing with the Windows printing system - everything is printed in text-mode.
>
>My download #
9991 contains a class that eliminates some of the repetitive work in creating these reports in text-mode.
>
>HTH,
>
>Hilmar.