hi,
i want to cut paper in POS Printer via com port but it doesn't .
when i send data to com it print but when i send command to cut it doesn't work
i use this commande
procedure TFiche.CutPaper(XCom:String);
var Lst : System.Text;
Command:string;
tt: string;
begin
// Serial.st;
try
AssignFile(Lst,XCom);// the name of printer port, can be a network share
Rewrite(Lst);
///// i try all thoses commands one by one
Command :=Chr(29)+Chr(86)+CHR(1) ;
write(Lst,Command);
Command :=Chr(29)+Chr(86)+CHR(0) ;
write(Lst,Command);
Command :=Chr(29)+Chr(86)+CHR(66)+Chr(1) ;
write(Lst,Command);
Command :=Chr(29)+Chr(86)+CHR(98)+Chr(1) ;
write(Lst,Command);
Command :=Chr(29)+Chr(86)+CHR(104)+Chr(1) ;
write(Lst,Command);
Command :=Chr(29)+Chr(86)+CHR(48) ;
write(Lst,Command);
CloseFile(Lst);
except
end;
end;
Can you help me
thank's