|
Sets the data codepage for information that is sent with OutComPor. Used after communication port has been opened with OpenComPort. |
|
CodePage |
The name of the CodePage to use when sending information. |
|
function Integer FB05Open(record LSerialPortDeviceVc LSPDr)
begin
Integer res;
if (OpenComPort(0,LSPDr.Port,LSPDr.BaudRate,LSPDr.Parity,LSPDr.ByteSize,LSPDr.StopBits,LSPDr.FlowControl)) then begin
res = FB05GetFiscalData("3");
SetComPortCodepage("UTF-8");
end else begin
res = 1;
end;
FB05Open = res;
return;
end;
««