I am using a Star TSP 200-24 printer, Delphi 5.0 and Windows 98...
Now, I want to open the cash drawer which has been attached to the Star printer. The printer itself is connected to the LPT1 port.
If I am using the below-mentioned code, the cash drawer will open, but there will be printed some text too:
In other words, this is not working the way I want.
For your information, the following example was provided by the Developers FAQ Document, shipped with the printer:
Open printer.port for output as 1
Print #1, Chr(7)
This example is for VB, so it doesn't work in Delphi.
Please help me!!
Thank you in advance.