You're welcome!
>Thank a lot !
>
>
>
>
>Create a file with the characters to eject the cash drawer
>STRTOFILE(CHR(27)+'p101','eject.txt')
>To eject:
>COPY FILE eject.txt TO LPT1:
>Be sure to replace LPT1: with the corresponding printer port or UNC, for instance \\myserver\printer1
>
>
>>If I want to kick out cash drawer before printing receipt with report form
>>what should I write ? cash drawer command is chr(27)+'p101'
>>How to mix these two things together ?
>>currently I run external dos program to kick out first, but it doesn't look nice......
>>
>>Have you tried my solution? The thing is that in order to reset PROW and PCOL, you must EJECT. So what I do is send the eject to a file, and then delete the file. I have done this for 10-15 years without any problem so far.
>>
>>>Eject will eject whole page of paper size, that is not what I want....