No need to remove the UPS from the situation, just don't plug the laser printer into it.

As Shonky said, most common UPS systems cannot handle the needed spike power load of a laser printer. Attempting to run a laser printer off a UPS could cause damage to both the printer and the UPS.