I bought the Xprinter model XP-58H, which comes with a drawer. I have checked this link but it uses COM port, while mine is USB/Bluetooth. Is there any way I could send a command to open the drawer? I'm using Delphi 10.2.
i use code but it just print.
procedure TForm1.Button2Click(Sender: TObject);
var
i: Integer;
lst: TextFile;
begin
AssignPrn(lst);
Rewrite(lst);
try
Write(lst, #27#112#0#150#250);
finally
CloseFile(lst);
end;
end;