( |
|
|
|||
does output to specified port |
Parameters: | |
internal number of port | |
out string | |
global procedure OpenCashDrawer() BEGIN String 20 CashBox; Integer Error; CashBox = chr(27) & chr(112) & chr(0); Error = OpenComPort(1,"LPT1",9600,0,8,0); Error = OutComPort(1,CashBox); Error = CloseComPort(1); RETURN; END;
Related topics: |