GK420T is skipping labels between printing

I am using Zebra Browser Printing, to print the label and QR code on the label using a web app, it is skipping labels in between,


For Example:


If I am printing 8 labels using web app, it prints 2 labels then skips 2 labels and then prints 2 labels and skips 2 labels, then prints 1 label and skips 1 label every time .


Below is my code: