
VB 4.0 16 bit or 32 bit Escape Key
Hi there,
I'm writing a VB app which among other thinks has to print labels to a
SATO printer. To print to the SATO printer I have to initialize it with
a few <ESC> command. The SATO printer is connected to my LPT 1 and I'm
using NT 4.0 Workstation. When I send my command string to the printer,
the printer stops responding. I got the driver for this printer and I
instaled it on a Win 95 machine.I tried the same procedure again and
this time it prints like a line printer. Instead of receiving the Escape
key it receives 27, which is the equivalent hex number for the escape
key.
Does anybody know how to send an escape key to LPT 1 with out the OS
changing it. Is it possible to send a string to the LPT port straight?
How?
Dinos...