>I am in the process of converting a QuickBASIC (QB) point of sale program >to FB-II (using PGPro). > >In the QB environment, I am able to open the cash drawer by using LPRINT >CHR$(7). >However, when I try to use the same scheme to open the drawer > PRINT #gPortID, CHR$(7) ; >nothing happens. It's just possible that your cash drawer really wants CHR$(135), and that QB sets the most significant bit on, silently converting CHR$(7) to CHR$(135). Worth a try: PRINT #gPortID, CHR$(135) ; Robert P.