Komponen TMU (Source)

Posted Date : 08-12-2020, Downloaded Count : 4.


Use Spesial For TMU (POS) Printer Esc Code

TMUPrinter component can be use for Parallel, USB, Serial or event LAN Sharing Printers

Just use your default printer or
write your printer name and
you can send your raw text

you can use self esc Code by enabled properties SelfEscCode to True;
so you can type like this :

PrinterTMU1.SelfEscCode := true;
PrinterTMU1.BeginDoc;
PrinterTMU1.Writeln(#27+'!'+#8+'This is Bold Type');
PrinterTMU1.EndDoc;


the code uses by TMU component must be used after BeginDoc and Before EndDoc;

The Function are :

Write(const Text: string): Boolean;
WriteLn : Boolean; overload;
WriteLn(const Text: string) : Boolean; overload;
Abort: Boolean;
WriteList(const TextList : TStrings);

Reset : Boolean;
CutPaper: Boolean;
OpenDrawer: Boolean;
EjectPaper : Boolean;

The Properties are :

PrinterName
FontSize
FontStyle
DocumentTitle
UpSideDown
InitialPrinter
RibbonColor
Alignment
SelfEscCode
ResetFirst

at Below this the function are respon directly and can't be used under BeginDoc;

PrnReset : Boolean;
PrnCutPaper: Boolean;
PrnOpenDrawer: Boolean;
PrnEjectPaper : Boolean;

eg: PrinterTMU1.CutPaper;




DID : 11
Link : https://iyem.id/download/2020/12/08/component-tmu.html

Download Yang Lain :

- Download Raudus 0.9
- Rekap dan Source Kulgram Tabbed System
- Componen Scada Pascal for RIO (Ali Andriana)
- Template Laborat Xls (SIMRS Khanza)
- Aplikasi Raport TK (K13)
- Database Daerah, Propinsi Kabupaten Kecamatan
- Komponen Telegram Bot (Source)
- Komponen WSQuery
- Komponen Telegram Bot
- Komponen WSQuery (Full Source)
- Object Pascal Handbook Sydney Version Complete
- JSON Sebagai Data Table
- Demo JSON Sebagai Data Table