Subj : Printer codes
To   : Sean Dennis
From : Bj�rn Felten
Date : Fri Oct 07 2005 05:53 am

SD> I'm trying to find the Epson ESC printer codes

  Have you looked in the \EXAMPLES\UTILS directory? In the file PRNFLTR.PAS I
found the following constants, maybe it's enough for you?


const

 { EPSON Printer code definition }

 EpsonItalic   = #27'4';
 EpsonNoItalic = #27'5';
 EpsonBold     = #27'E';
 EpsonNoBold   = #27'F';
 EpsonULine    = #27'-'#1;
 EpsonNoULine  = #27'-'#0;

 EpsonCodeArray: array[0..7] of PChar = (
   EpsonBold,
   EpsonNoBold,
   EpsonItalic,
   EpsonNoItalic,
   EpsonULine,
   EpsonNoULine,
   EpsonBold + EpsonItalic,
   EpsonNoBold + EpsonNoItalic);

 EpsonCodes: TPrinterCodes = (
   PreambleCount: 0;
   Preamble: nil;
   CodeArray: @EpsonCodeArray;
   Attributes: (
     0,        { Whitespace }
     2,        { Comment }
     1,        { Reserved word }
     0,        { Identifier }
     0,        { Symbol }
     4,        { String }
     0,        { Number }
     1);       { Assembler }
   StartPage: '';
   EndPage: #12;
   EndLine: #13#10;
   Postamble: ''
 );

---
* Origin: news://felten.yi.org (2:203/2)