How To Open Cashier Drawer In VB.NET

the code below will open the cashier drawer using either
LPT or COM port

if you use LPT port this is the right way of code