I have this code which im using to connect to a printer and send it commands. It works perfectly until it gets to the while loop, it just cant get out of it. The output prints t