HP LaserJet on Windows have special GUI that ask you to supply paper after running out of paper. But Linux drivers for CUPS doesn't depend on GUI.
After getting warning from printer in form of blinking led in order to continue printing add paper to the try and open/close cartridge lid (without actually touching cartridge itself). Printer will continue interrupted work!
Continue printing after running out of paper hp 1020.