Stop print command

Hi ,


We tried giving "~JA" zpl command to the printer to stop printing, but it's not stopping the prints.

We tried printerConnection.close() to stop the print but still no luck. Any sample code available for stopping the ongoing printing?. We are using the Android SDK. 



Any help would be much appreciated.