Look at TPrinter.RawMode : https://lazarus-ccr.sourceforge.io/docs/lcl/printers/tprinter.rawmode.html and TPrinter.Write

 Printer.Title := 'xyz';
 Printer.RawMode := True;
 Printer.BeginDoc;
 Printer.Write('^MTD'); //direct thermal media
 Printer.EndDoc;

L.

Does anyone know of a way to just send pain text

to a USB printer with FPC ,preferably without Lazarus?



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to