Dear All,
I need to open cash drawer that connect via printer (Epson TM-U220b).
The Cash Drawer is connect via RJ11 connect to printer. I've to send command to printer with FONT NAME 'control' but it must print a piece a paper every time to open.
I try to send command to open it but it do nothing.
What I do wrong?
Regards,
Dutch
I need to open cash drawer that connect via printer (Epson TM-U220b).
The Cash Drawer is connect via RJ11 connect to printer. I've to send command to printer with FONT NAME 'control' but it must print a piece a paper every time to open.
I try to send command to open it but it do nothing.
What I do wrong?
*------------------*
Function OpenDrawer
local oFnt, oPrinter
PRINTER oPrinter FROM USER
// DEFINE FONT oFnt NAME 'Courier' SIZE 0, -8 OF oPrinter
DEFINE FONT oFnt NAME 'control' SIZE 0, -8 OF oPrinter
// oPrinter:StartPage()
oPrinter:Say( 1, 1, 'A', oFnt )
ENDPRINT
oFnt:End()
returnRegards,
Dutch
Regards,
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)