This works well with the printers mentioned about for command references, refer to this link. It helps me a lot and I hope it helps others as well.