The reason you may want to set the printer to stop after a definite number of cards is to protect the print head warranty from being voided.
Use the Pcp command through the Direct Command to printer in the driver:
p1: E: Enable / D: Disable
p2: Value to set
By setting a value and enabling this function, the printer will stop after the defined value.
To start the printing again, a cleaning cycle must be done.
Pcp;E;800 The printer will stop after 800 cards inserted
Pcp;D The printer will work as usual