Hola Delphi50jmb
La Variable sPuerto, de que tipo es y que valores debo traspasas
Código Delphi
[-]procedure ImprimeEtiqueta(sPuerto, sNumClie, sDescrip, sComentario: String);
begin
writeln( sPuerto, 'CLS'); writeln( sPuerto, 'DIRECTION 1');
writeln( sPuerto, 'REFERENCE 1,1'); writeln( sPuerto, 'TEXT 20,50,"3",0,1,1,' + '"' + 'Numero: ' + sNumClie + '"');
writeln( sPuerto, 'TEXT 20,80,"2",0,1,1,' + '"' + sDescrip + '"');
writeln( sPuerto, 'TEXT 20,110,"2",0,1,1,' + '"' + sComentario + '"');
writeln( sPuerto, 'TEXT 20,200,"1",0,1,1,' + '"' + DateToStr(Date) + space(2) + TimeToStr(Time) + '"');
writeln( sPuerto, 'PRINT 1');
end;