>I have problem opening the cash drawer, when i use this command :
>
>??? chr(27)+"p"+chr(0)+chr(50)+chr(100)
>SET PRINT ON
>SET PRINT OFF
>Wait window 'Press any key to continue '
>Report form factura to printer
>
>
>
>open only if i put a Wait window 'Press any key to continue' before
>run the report it open, if i dont put the wait window option the cash
>drawer do not open.
Have you looked into using the OLE for POS controls to control the cash drawer? If your cash drawer manufacturer supplies them, they'll make the drawer easier to work with.