Dick Grier wrote:
Hi,
Are you sure that the printer isn't expecting a Control-A character to be
sent? That is, Chr(1), the ASCII SOH (Start Of Header) character?
What is the model for the cash drawer itself? Perhaps I can look up the
programming information.
BTW, this is very simple if the device connect serially, and more difficult
if parallel or USB. See:
http://support.microsoft.com/default...b;en-us;322090
Dick
Hi.
Thanks for your response!
The cash drawer has a model no. SS-103/3S-423, and is distributed by
International Cash Drawer Ltd.
If I use the Epson Advanced Printer Driver I have to select the font
named "control" and print the letter "A" to open the cash drawer.
This works from Wordpad, but from within VB.NET I'm not allowed to
select the printers soft fonts.
If I send data directly to the printer, I should be able to open the
drawer by sending the following chars:
PRINT #1, CHR$(&H1B); CHR$(&H70); CHR$(&H0); CHR$(60); CHR$(120);
(sample is from the printer manual, and is in BASIC)
The printer is unfortunately not connected serially, but by USB, and I
have not been able to figure out how to send chars directly to the
printer over the USB interface. I tried to implement the code from the
kb-article, but I can't get it working on my TM-T88iii printer. It works
on my other printers though..:( I have to study the article a little bit
more to see if I can figure it out..
--
Tor Inge