[fpc-pascal] Text Only printing on Windows.
    LacaK 
    lacak at zoznam.sk
       
    Thu Feb 10 13:15:21 CET 2022
    
    
  
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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220210/a0740002/attachment-0001.htm>
    
    
More information about the fpc-pascal
mailing list